-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Make it clearer how to edit a site's palette #61364
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. |
Size Change: -5.81 kB (-0.33%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
I could go either way on this one. My main reluctance is the word "Edit", which reads in active language but is actually in the conceptual space for "tips". I echo/understand the motivation for this: "10 colors" sounds like this is the final level. I don't recall if this was ever implemented in the ItemGroup component, but many older mockups showed a > chevron on the right side of Items that acted as drilldowns. That might work better here? |
@jasmussen Do you mean a chevron rather than "Edit"? |
Yes, I meant a chevron instead of "Edit". Similarly, the "Add palette" (perhaps "Add colors"?) feels less like help/tip text, and could be left-aligned black text. Not in any way a blocker, these are mainly thoughts on the component itself. |
I agree that this makes it easier to understand you can edit it but I'm not sure if we want to surface that as much considering the current experience is both easily overwriteable and, upon changing the palette, the changes aren't reflected in the presets. I opened an issue about this while testing: #61462 |
Left a comment there:
|
With #61213 implemented, it's quite a bit clearer that these are alternate palettes. And when you pick a palette, but then edit a color, that chosen palette is no longer "active", indicating that you have your own colors. A palette with my own colors, no longer referencing the preset: |
@jasmussen here it is with a chevron. I think I prefer the "Edit" copy. what do you think? |
974513a
to
6c81bcd
Compare
Flaky tests detected in 6c81bcd. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9181865622
|
I prefer the chevron :D but not strongly so. I'd say go with your instinct and we can revisit if need be. |
@jasmussen, I pushed the chevron—I like it too. |
a8229f7
to
251d5e5
Compare
* "Edit" instead of color count * remove unused style * use chevron * Update style-variations.spec.js * lint Co-authored-by: richtabor <[email protected]> Co-authored-by: jasmussen <[email protected]> Co-authored-by: t-hamano <[email protected]> Co-authored-by: annezazu <[email protected]>
* "Edit" instead of color count * remove unused style * use chevron * Update style-variations.spec.js * lint Co-authored-by: richtabor <[email protected]> Co-authored-by: jasmussen <[email protected]> Co-authored-by: t-hamano <[email protected]> Co-authored-by: annezazu <[email protected]>
What?
It needs to be clearer how to add or edit the site's palette. Currently we show how many colors you have, but I think showing ">" is a clearer call to action to navigate to the palette. Part of #61213 and #61215.
Testing Instructions
Screenshots or screencast