-
Notifications
You must be signed in to change notification settings - Fork 841
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
SIEM Detection Engine Icons #2704
SIEM Detection Engine Icons #2704
Conversation
Discussion question: Are these glyphs something to be considered as custom for the SIEM application? My consideration stems around what happens when other applications start using these icons. Does it start altering the meaning/recognition of the icon within the SIEM app? Mainly I'm worried about the signal and aggregate icons. I think the checkbox and timeline icons are generic enough that they could be used outside of the context of SIEM. |
I agree with Caroline, the consideration with regards to these getting used elsewhere and losing meaning feels most important. Related and somewhat contrary to that, would these be re-usable in other security apps like Endpoint? That may strengthen the case for adding them to EUI. If these were to be added, we could also consider prefixing them with something like |
…-icons # Conflicts: # CHANGELOG.md
All good points, @cchaos and @ryankeairns. I think I think |
Lets just prefix the signal ones. It seems there may be generic uses for aggregate and timeline. This is mainly a reminder because I know these icons can be tricky to get completely pixel perfect because of the complexity of them. However, your aggregate and timeline ones will probably suffer quite a bit when viewed on non-retina screens because of the half pixel points. Knowing it's not ideal to have the icon be off-centered in the 16x16 frame, this is usually how we attain pixel alignment. I would just be sure that you check how these icons look on non-retina screens. |
…-icons # Conflicts: # CHANGELOG.md
@cchaos: Sorry for the delayed response. Got pulled away before the holiday vacations started. Thanks for the feedback. Sounds good. I've updated this PR to prefix the security-centric icons and also better align the aggregate and timeline icons to the pixel grid. |
No worries @MichaelMarcialis ! Can you also update the screenshots in the summary of the PR? |
…-icons # Conflicts: # CHANGELOG.md
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.
To pull this a bit more into the 'family' 👩👧👧 , can we replace the checkmark and exclamation point with those used in other icons? For example, the checkInCircleFilled could be used on the three glyphs. Likewise, we have an exclamation point in the warning icon that could be used in the filled circle shape too (just ditch the triangle and use the exclamation point).
Unrelated, I think you should be safe to remove the clip-rule="evenodd"
and fill-rule="evenodd"
from your SVGs.
Hey, @ryankeairns. Thanks for the comments! Regarding the 'family' comment, I thought the same initially. I ended up not taking that direction as I feared that copying and scaling down the As for removing |
That makes sense regarding scaling it down and becoming too thin. Initially, the checkmark struck me as being a different style, but it is the same weight and has rounded ends/corners... it simply looks different at this small size but oh well :) I don't see a way around that since it needs to fit in this circle shape, however I do think we should center the checkmark and live with it not lying perfectly on the grid. The off-centered checkmark is less desirable, in my opinion. I played around with this a little bit and then ran the Figma SVG through Sketch (imported, exported) as it does a better job cleaning up the SVG (i.e. it removes the Centering the current checkmark you have seems the best option... squared and scaled shown below for comparison: 32pxPR version | centered | centered with square ends | scaled down checkInFilledCircle 16pxPR version | centered | centered with square ends | scaled down checkInFilledCircle |
…-icons # Conflicts: # CHANGELOG.md
@ryankeairns, thanks for doing that. I played around with the check/exclamation circles a bit more. I increased the circle diameters by 1px and altered the exclamation's shape to account for the new alignment. This allows for both check and exclamation to be visually centered, be mostly on the pixel grid, and appears to be the most legible of all options. Updated screenshot is at the top. Thoughts? Also, I used a Figma plugin called |
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.
I think the newest versions make the exclamation more noticeable and distinguishable from the checks. 👍 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.
LGTM, thanks for the further tweaks, much appreciated. Keeping an icon set in order is like tending a garden :)
…-icons # Conflicts: # CHANGELOG.md
Summary
Add icons to EUI to support the needs of the upcoming detection engine UI, including the following additions:
Issue
Checklist
- [ ] Props have proper autodocs- [ ] Checked for breaking changes and labeled appropriately- [ ] Checked for accessibility including keyboard-only and screenreader modes