-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution][Detections] Improves UX for Rules and Exceptions tables #118940
[Security Solution][Detections] Improves UX for Rules and Exceptions tables #118940
Conversation
- common component for popover - table alignments
@elasticmachine merge upstream |
@elasticmachine merge upstream |
These are great improvements @vitaliidm -- thank you! In testing I opened this issue for setting max-length on our inputs and providing better truncation/overflow within the Rule Creation/Edit/Details pages. While these test strings are definitely not in good-faith of actual user values 😅 , I do wonder if a scrollable popover (vs current tooltip) would be a better general purpose solution for these types of situations. While less of a concern for No changes requested here, just commenting 🙂 cc @yiyangliu9286 |
@@ -363,6 +381,7 @@ export const getMonitoringColumns = ( | |||
</EuiText> | |||
), | |||
width: '14%', | |||
truncateText: true, |
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.
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.
done, fixed that
|
||
const PopoverWrapper = styled(EuiBadgeGroup)` | ||
max-height: 200px; | ||
max-width: 600px; |
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.
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.
Checked out, tested locally and performed cursory code review -- LGTM! 👍 🚀 Thanks for all the UI/UX enhancement and general code cleanup + tests here @vitaliidm! 🙂
I did leave a couple nits (overlap w/ column tooltips, and using ,
instead of CSS if possible), but they're not not blockers. Also as mentioned in a separate comment, created this issue for addressing some max-length/overflow issues we've got floating around that I found in testing.
x-pack/plugins/security_solution/public/common/components/popover_items/index.test.tsx
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: cc @vitaliidm |
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 👍
…tables (elastic#118940) [Security Solution][Detections] Improves UX for Rules and Exceptions tables
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…tables (#118940) (#119585) [Security Solution][Detections] Improves UX for Rules and Exceptions tables Co-authored-by: Vitalii Dmyterko <[email protected]>
…tables (#118940) [Security Solution][Detections] Improves UX for Rules and Exceptions tables
…tables (elastic#118940) [Security Solution][Detections] Improves UX for Rules and Exceptions tables
Issues:
Summary
PopoverItems
instead of 2 similarDisplayTags
&ExceptionOverflow
. For reference [Security Solution] Create a common component for table overview popovers #103782actions
in column config, rather having action as column itself Eui table actions guideRules
Before
After
Rules Monitoring
Before
After
Exceptions
Before
After
Checklist
Delete any items that are not applicable to this PR.
For maintainers