Navigation related icons change (1)#9301
Conversation
|
Hey @MichaelMarcialis @JoseLuisGJ, tagging you both for awareness and also to please take a look at naming, if everything is as expected? I didn't include somewhat "complicated" work in here, meaning that I didn't touch the icons that need renaming, just completely new icons and updating the glyphs for a couple of them. I will reflect this in Figma library and our icons release file too. |
|
Hey, Kate 👋🏻 thank you for contributing, you're the best! 🙏🏻 @JoseLuisGJ recently opened a PR (#9279) for renaming icons and it's almost close to being wrapped (I think?). I envision conflicts with this one. At the same time, this PR is small and it'd be a shame to have it blocked. Maybe it'd be worthwhile to sync! EDIT: Oh, only after I wrote the comment I saw ⬆️ 🙈 Good call! |
There was a problem hiding this comment.
The svgs should have snake_case naming. Could you update it and regenerate icons? 🙏🏻
There was a problem hiding this comment.
Hmm... I was under the impression that we use camel case for the icons names. Currently it's all different though... so we decided to stick to snake case? I guess we need some clarification from @JoseLuisGJ and @MichaelMarcialis 🤔 since they are all camel case in Figma...
There was a problem hiding this comment.
And also, I think there should be no conflicts with Jose's PR, because I didn't touch the icons that should be renamed intentionally — only updated glyphs for 2 old icons (bolt, bullseye), and added 4 completely new ones.
There was a problem hiding this comment.
@ek-so Sorry, I could've been clearer. We do use camelCase for icon types but for svg filenames we use snake_case. You can see it in Jose's PR! 😄
There was a problem hiding this comment.
You're right, I don't think there should be conflicts either! Just thought I'll mention it because at times, git does see conflicts in the weirdest of places just because branches are divergent 😄
There was a problem hiding this comment.
Renamed them, thank you for clarifying!
(mamma mia, 546 files... Jose is a superman)
There was a problem hiding this comment.
That is very true, our 🦸🏻♂️ superhero!
There was a problem hiding this comment.
Thanks for this work @ek-so Indeed there is a big renaming batch PR that I think we should merge first and then do the same with this one. The renaming batch is a big lift and it will clean up some inconsistent SVG naming convention as you commented above making all SVG to use snake_case and will sync the same names as we do have in the Fimga library.
weronikaolejniczak
left a comment
There was a problem hiding this comment.
Looks perfect, thank you, Kate! 🙌🏻 💚
(CI seems to pass as well, it's just one flaky test, I re-ran it)
|
@ek-so Just to confirm: Did you run VRT (considering that some icons are updated)? |
Just re-ran it, all ✅ |
|
@mgadewoll I ran VRT on this PR and all tests passed. Thank you for the vigilance, though! 🙏🏻 It's easy to miss running VRT with our current setup. |
|
@ek-so @weronikaolejniczak Awesome, thank you two for checking and the confirmation! ❤️ |
|
@weronikaolejniczak could you pls take a look? Are the failures due to some other changes? |
|
Re-reviewed the changed and re-ran visual regression tests. We're good to go! 👍🏻 Thank you Kate for contributing 🙏🏻 |
💚 Build SucceededHistory
|
💚 Build Succeeded
History
|
## Dependency updates - `@elastic/eui`: `v111.1.0` ⏩ `v112.0.0` - `@elastic/eslint-plugin-eui`: `v2.6.0` ⏩ `v2.7.0` --- ## Package updates ### `@elastic/eui` [v112.0.0](https://github.com/elastic/eui/releases/tag/v112.0.0) - Added `productDiscover` icon ([#9311](elastic/eui#9311)) - Updated `chartGauge` icon glyph ([#9311](elastic/eui#9311)) - Updated icon glyphs `endpoint` `eraser` `errorFill` `error` `eyeSlash` `faceHappy` `faceNeutral` `faceSad` `folder` `fullScreenExit` `fullScreen` `gradient` `grid` `heart` `home` `if` `image` `infinity` `inputOutput` `key` `keyboard` `lineBreakSlash` `lineBreak` `lineDash` `lineDot` `lineSolid` `logOut` `magnifyMinus` `magnifyPlus` `magnify` `mail` `map` `mapping` `menuLeft` `menuRight` `menu` `merge` `minusCircle` `minusSquare` `minus` `money` `moon` `move` `nested` `number` `package` `paintBucket` `palette` `paperClip` `partial` `pattern` `pause` `pencil` `percent` `pinFill` `pin` `pivot` `plusCircle` `plusSquare` `plus` `popper` `presentation` `processor` `productStreamsWired` `queryField` `queryOperand` `querySelector` `queryValue` `query` `question` `quote` `radar` `readOnly` `redo` `reporter` `return` `rocket` `scissors` `send` `shard` `share` `snowflake` `sortAscending` `sortDescending` `starFill` `star` `stop` `sun` `tableInfo` `tableTime` `textAlignCenter` `textAlignLeft` `textAlignRight` `textBold` `textHeading` `textItalic` `textStrike` `textUnderline` `thermometer` `thumbDown` `thumbUp` `timeline` `transitionLeftIn` `transitionLeftOut` `transitionTopIn` `transitionTopOut` `undo` `vectorSquare` `vectorTriangle` `videoPlayer` `warningFill` `waypoint` `wifiSlash` `wifi` ([#9303](elastic/eui#9303)) ([#9303](elastic/eui#9303)) - Added icons - `archive` `unarchive` `axisX` `axisYLeft` `axisYRight` `bulb` `cloud` `hourglass` `megaphone` `workflow` ([#9303](elastic/eui#9303)) - Added `headerVisibility` prop on `EuiDataGrid` to support rendering the datagrid header element optionally ([#9281](elastic/eui#9281)) - Updated 244 icon definitions to a more consistent naming convention. All 100 renamed icons include a backward-compatible alias in the icon map to support legacy references. ([#9279](elastic/eui#9279)) - Added icons `briefcase`, `productCloudInfra`, `productDashboard`, `productML` ([#9301](elastic/eui#9301)) - Updated glyphs `bullseye`, `bolt` ([#9301](elastic/eui#9301)) - Added `dismissButtonProps` prop to `EuiCallOut` ([#9285](elastic/eui#9285)) **Bug fixes** - Fixed `EuiFlyout` to properly forward refs when `session` prop is used. ([#9318](elastic/eui#9318)) - Fixed `EuiDataGrid` cells scrolling into view while trying to select text ([#9276](elastic/eui#9276)) **Breaking changes** - Removed `euiPaletteForLightBackground` and `euiPaletteForDarkBackground` deprecated palette functions. Use `euiTheme.colors.vis.euiColorVisText{NUMBER}` tokens instead. ([#9296](elastic/eui#9296)) **Accessibility** - Improved the accessibility of `EuiDataGrid`s column selector drag handle buttons by ensuring distinctive labels ([#9282](elastic/eui#9282)) ### `@elastic/eslint-plugin-eui` v2.7.0 - Added `no-static-z-index` rule ([#9236](elastic/eui#9236))
## Dependency updates - `@elastic/eui`: `v111.1.0` ⏩ `v112.0.0` - `@elastic/eslint-plugin-eui`: `v2.6.0` ⏩ `v2.7.0` --- ## Package updates ### `@elastic/eui` [v112.0.0](https://github.com/elastic/eui/releases/tag/v112.0.0) - Added `productDiscover` icon ([elastic#9311](elastic/eui#9311)) - Updated `chartGauge` icon glyph ([elastic#9311](elastic/eui#9311)) - Updated icon glyphs `endpoint` `eraser` `errorFill` `error` `eyeSlash` `faceHappy` `faceNeutral` `faceSad` `folder` `fullScreenExit` `fullScreen` `gradient` `grid` `heart` `home` `if` `image` `infinity` `inputOutput` `key` `keyboard` `lineBreakSlash` `lineBreak` `lineDash` `lineDot` `lineSolid` `logOut` `magnifyMinus` `magnifyPlus` `magnify` `mail` `map` `mapping` `menuLeft` `menuRight` `menu` `merge` `minusCircle` `minusSquare` `minus` `money` `moon` `move` `nested` `number` `package` `paintBucket` `palette` `paperClip` `partial` `pattern` `pause` `pencil` `percent` `pinFill` `pin` `pivot` `plusCircle` `plusSquare` `plus` `popper` `presentation` `processor` `productStreamsWired` `queryField` `queryOperand` `querySelector` `queryValue` `query` `question` `quote` `radar` `readOnly` `redo` `reporter` `return` `rocket` `scissors` `send` `shard` `share` `snowflake` `sortAscending` `sortDescending` `starFill` `star` `stop` `sun` `tableInfo` `tableTime` `textAlignCenter` `textAlignLeft` `textAlignRight` `textBold` `textHeading` `textItalic` `textStrike` `textUnderline` `thermometer` `thumbDown` `thumbUp` `timeline` `transitionLeftIn` `transitionLeftOut` `transitionTopIn` `transitionTopOut` `undo` `vectorSquare` `vectorTriangle` `videoPlayer` `warningFill` `waypoint` `wifiSlash` `wifi` ([elastic#9303](elastic/eui#9303)) ([elastic#9303](elastic/eui#9303)) - Added icons - `archive` `unarchive` `axisX` `axisYLeft` `axisYRight` `bulb` `cloud` `hourglass` `megaphone` `workflow` ([elastic#9303](elastic/eui#9303)) - Added `headerVisibility` prop on `EuiDataGrid` to support rendering the datagrid header element optionally ([elastic#9281](elastic/eui#9281)) - Updated 244 icon definitions to a more consistent naming convention. All 100 renamed icons include a backward-compatible alias in the icon map to support legacy references. ([elastic#9279](elastic/eui#9279)) - Added icons `briefcase`, `productCloudInfra`, `productDashboard`, `productML` ([elastic#9301](elastic/eui#9301)) - Updated glyphs `bullseye`, `bolt` ([elastic#9301](elastic/eui#9301)) - Added `dismissButtonProps` prop to `EuiCallOut` ([elastic#9285](elastic/eui#9285)) **Bug fixes** - Fixed `EuiFlyout` to properly forward refs when `session` prop is used. ([elastic#9318](elastic/eui#9318)) - Fixed `EuiDataGrid` cells scrolling into view while trying to select text ([elastic#9276](elastic/eui#9276)) **Breaking changes** - Removed `euiPaletteForLightBackground` and `euiPaletteForDarkBackground` deprecated palette functions. Use `euiTheme.colors.vis.euiColorVisText{NUMBER}` tokens instead. ([elastic#9296](elastic/eui#9296)) **Accessibility** - Improved the accessibility of `EuiDataGrid`s column selector drag handle buttons by ensuring distinctive labels ([elastic#9282](elastic/eui#9282)) ### `@elastic/eslint-plugin-eui` v2.7.0 - Added `no-static-z-index` rule ([elastic#9236](elastic/eui#9236))
Co-authored-by: Weronika Olejniczak <weronika.olejniczak@elastic.co> Co-authored-by: Weronika Olejniczak <32842468+weronikaolejniczak@users.noreply.github.com>
Summary
I'm doing an easy part of changes related to the navigtaion — adding the new ones, and changing 2 glyphs of those that don't require renaming. The full list include:
productDashboard— addedproductCloudInfra- addedbolt- glyph chagedbriefcase- addedproductML- addedbullseye- glyph changedGeneral checklist
@defaultif default values are missing) and playground toggles