[Alerting UI] Wrapping text on create rule flyout#113305
[Alerting UI] Wrapping text on create rule flyout#113305ymao1 merged 4 commits intoelastic:masterfrom
Conversation
|
@elasticmachine merge upstream |
|
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
|
@elasticmachine merge upstream |
YulNaumenko
left a comment
There was a problem hiding this comment.
This fix is good, but the one thing which is worry me is the bumping (up and down) size of the description - a perfect world select menu design is when the height of each select item is the same (in that case user can easily operate and estimate the actual set of the options). It is not critical, but there could be a couple of alternative solutions where we can keep the same height of the items: hover on the description with ... at the end to see the rest, etc. @mdefazio do you have any thought on this?
|
@YulNaumenko , I agree that ideally these would be consistent in height. However, with them being part of the content of the flyout as well as the overall length of the list, I think it's a good fix to simply show the description. It seems it's typically just 1-2 lines for each description. So the jumping of height should be minimal. However, if there are some that start having 4+ lines of description, then I think you're right that this raises a concern and likely needs a different solution. |
YulNaumenko
left a comment
There was a problem hiding this comment.
LGTM, since we will limit the description size.
chrisronline
left a comment
There was a problem hiding this comment.
So many code changes! LGTM!
|
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @ymao1 |
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Resolves #109852
Summary
Added
wrapTexttoEuiListGroupItemin order to wrap the text for long rule type descriptions