Repository navigation
Update the Update icon. - #87088
Update the Update icon.#87088
Conversation
🤖 PR meta 🤖🎉 PropsIf 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. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
Updated as activity occurs, without notifying anyone named here. Add the ⚡ 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
🏁 Flaky testsSome tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information. Actions are reachable via RIGHT/LEFT arrow keys (Site Editor v2) in
|
|
Needs to update changelog? |
|
Yep, on the way. Just realised an issue in the SVG I made. |
The icon was exported from Figma with its stroke outlined, so it landed as a filled path. That made it one of only two icons in the library with no stroke, pinned its weight into the path data, and left it unable to respond to the `strokeWidth` prop. Re-exported from Figma without outlining, and rounded the float noise in the arc path. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
OK, the icon was actually a fill when I first committed, now it's a proper stroke, with a changelog. This is ready. |
|
Hold off one moment, I have another quick possible update before we merged.
Asking @fcoveram directly, he suggested this could be closer to the "backup" icon, so unless anyone objects, I think I'll push that version after all. For the immediate future, we need a 7.2 fix. Longer term, we can always iterate further. |
The arcs now sit on the r=7.25 circle that Backup's clock face uses, and the arrowheads match Backup's: barbs 2.75 across, 2 deep along the tangent. The two icons share a footprint, so Update no longer reads a size small beside it. Snapped the exported path to exact 180-degree symmetry and set the points on the 45-degree diagonals to x = y, correcting float noise from the export of up to 2e-4. Nothing moves by more than a hundredth of a pixel at 96px. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

What?
See WordPress/wordpress-develop#16100 (comment) and https://core.trac.wordpress.org/ticket/65089#comment:140
Updates the Update icon to do two things:
Before and after.
Testing Instructions
npm run storybook:dev
Use of AI Tools
Only for the changelog. The icon itself was manually drawn here.