-
Notifications
You must be signed in to change notification settings - Fork 54
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
fix(TFD-16296): Add ellipsis on collapsible panel #4926
Conversation
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 make it impossible to read !
Size Change: +486 B (0%) Total Size: 13.2 MB
ℹ️ View Unchanged
|
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.
LGTM
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.
it seems there is a tooltip already
What is the problem this PR is trying to solve?
Collapsible panel does not handle the text overflow for all cases in the header.
For example, when you have a simple header with a label and one action, the whole in a very tiny space, you got a multiline label that exit the panel header.
https://jira.talendforge.org/browse/TFD-16296
What is the chosen solution to this problem?
The goal is to prevent the overflow with a nice ellipsis and the whole text in a tooltip.
A story has been added to show the case in storybook.
Please check if the PR fulfills these requirements
yarn changeset
to a request a release from the CI if wanted.[ ] This PR introduces a breaking change