-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Add see more button #1139
Conversation
<TeamMemberName variant="subtitle1" height={50}> | ||
{teamMember.name} | ||
</TeamMemberName> | ||
<ManagementBoardDescription description={teamMember.description} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct me if I'm wrong, but this seems to be something more like a TeamMemberDescription
instead of description for the ManagementBoard
? Maybe consider renaming the component so it will fit more with the context behind it :)
export function ManagementBoardDescription({ description }) { | ||
const { t } = useTranslation('about') | ||
|
||
const [show, setShow] = useState(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fairly simple component, but I would suggest to put a bit more descriptive name for this toggle, in case we extend it and add more complicated logic in the future, something like:
isFullDescriptionVisible
isDescriptionCollapsed
- etc.
Could we not change the shape of the avatars? By designs they are circular. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done, however please check why the avatar images are not circular after the change
Related to #1105 |
I investigated that the avatars' shape is not caused by these changes - on master they are the same. |
src/components/about/sections/ManagementBoardSection/ManagementBoardDescription.tsx
Outdated
Show resolved
Hide resolved
…tBoardDescription.tsx
Motivation and context
As the members text was too long in order to improve the UX and UI we added See more/less buttons
issue
#1091
Screenshots:
Testing