-
Notifications
You must be signed in to change notification settings - Fork 66
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
feat: changed docs to use new icons and removed old icons #2006
Conversation
Unfortunately, I don't think we can because the widths of icons with the same heights can be different. The icons still need specific width and height. Sometimes, the heights and widths can be the same, but not always. |
Some notes from a pass of the skin site:
|
So this PR is on hold due to discussions around the addition of the artboard to the SVG itself. This is a BIG change. I was under the impression that artboards had not been added as no decision had been made on that from us in discussions with design team. There are pros & cons, but ultimately artboards on icons remove a developers ability for precision layout & positioning of icons - once the artboard is there it is impossible to remove (negative margins might work - but feels hacky) - devs did not like it (including me), we learned from this in the past. We know that cropped versions work, we've had no problems with them, so what do developers gain from this? Some options:
Maybe other options? |
@@ -456,6 +456,7 @@ icons: | |||
- sort-up-12 | |||
- split-view-24 | |||
- split-view-filled-24 | |||
- star-dynamic |
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 don't think this icon needs to be included. It's the icon we use to create ratings dynamically. This wouldn't make sense as a standalone icon.
I think we discussed offline and seem to be okay with moving forward with this. |
If there are no other major issues, this should be ready to merge. |
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.
Looking good from my end,
Fixes #1999
Description
This PR deals with removing all old icons and using the new icons in our components and code.
There are several points of interest in this PR
note Since this is such a large PR and touches many components, I want people to take a look at this, and make sure this approach is correct, as well as if there is something that I msised. I looked through it pretty thoroughly, but as always, there could be gaps.
After looking at it and it seems okay, then I will run a percy build to verify the changes are correct. I don't want to run it too often, since it will need to run a full build.
Notes
Icons kept around
Stepper: I kept around only for consistency. There are some stepper icons present in the base icons, but there are some which are not (namely the complete and in progress step). I'm fine updating it to use a mix.
EEK: They don't have sizes associated with thm
checkbox/radio: I could set a size for them, but they would mismatch with the base icons. Also they're not present in design system icons.
Checklist
I verify the build is in a non-broken state
I verify all changes are within scope of the linked issue
I regenerated all CSS files under dist folder
I tested the UI in all supported browsers
I did a visual regression check of the components impacted by doing a Percy build and approved the build
I tested the UI in dark mode and RTL mode
I added/updated/removed Storybook coverage as appropriate