Icons: Rebalance a few, add other new icons. - #83338
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
🤖 PR meta 🤖⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
|
bced595 to
2f91736
Compare
|
Do we definitely need |
|
Do we need it? Not clear, and yes there is room to update media which I personally don't think is different enough from Image to be meaningful. Happy to do so. But just to be exhaustive, it exists based on the feedback here, WordPress/wordpress-develop#12270 (comment), so I would like to stick mostly to the recommendations outlined there. What do you think? |
|
I don't know if we want to have a large or small, curated set of icons 😄 but: I think I agree that we should just update the existing Similarly, for I might be a bit biased, but doing the above means we do nothing to update our Core PR 😄 WordPress/wordpress-develop#12270 |
|
In this case I'd vote for updating the existing icons. |
2f91736 to
2c98ea4
Compare
| { | ||
| "slug": "fullscreen-exit", | ||
| "label": "Fullscreen Exit", | ||
| "filePath": "library/fullscreen-exit.svg" | ||
| }, | ||
| { | ||
| "slug": "justify-space-evenly", | ||
| "label": "Justify Space Evenly", | ||
| "filePath": "library/justify-space-evenly.svg" | ||
| }, | ||
| { | ||
| "slug": "reaction", | ||
| "label": "Reaction", | ||
| "filePath": "library/reaction.svg" |
There was a problem hiding this comment.
Can you move each icon to its correct position in alphabetical order?
There was a problem hiding this comment.
Should be done now. A few other bits were out of order too.
fushar
left a comment
There was a problem hiding this comment.
Thanks for this, let's go!
|
Noting that I will likely head to lunch before the tests pass. I'll certainly merge if I come back and see a green button, but also wanted to note that you are all free to do it as well in my absence, if things move. |
|
Yep let's merge this because this will conflict with Aki's #83261 🙏 |
Resolve the icons manifest conflicts: trunk replaced the `public` property with `collections`, while this branch alphabetised the entries and added the `fullscreen-exit`, `justify-space-evenly` and `reaction` icons. The three new icons stay out of both the `core` and `core-admin` collections. Co-Authored-By: Claude <noreply@anthropic.com>
|
Resolved conflicts. |
Replace the inlined smiley SVG on the add reaction button with the reaction icon that #83338 added to @wordpress/icons, as the inline copy was only a stopgap until the icon was promoted to the library. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GaU1KRgXC1a2DBq9NaPpgx
The trigger moved to add-reaction-picker.tsx on this branch, so it kept its own inlined smiley SVG. Swap it for the reaction icon from @wordpress/icons (#83338) to match the base branch. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GaU1KRgXC1a2DBq9NaPpgx
Co-authored-by: jasmussen <joen@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org>

What?
Related to WordPress/wordpress-develop#12270.
Rebalances Plugins and Comment icons to better fit in context of the admin menu, and adds new icons: paintbrush, multimedia, reaction (for @adamsilverstein), fullscreen-exit (from a discussion with @simison about a counterpart to the fullscreen icon), and a new justify-space-evenly.
Do we need all the new icons? Worth a discussion, notably justify-space-evenly depends on whether we want to add that or not. But overall, much of this exists to support the work to replace dashicons in the admin, and is based on the subsequent feedback:
Testing Instructions
npm run storybook:dev
Search for Icons library
Use of AI Tools
Opus 5 for a bit of normalisation.