Fix confusing ellipsis menu for the Custom Color Palette feature #36519
Labels
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Needs Design Feedback
Needs general design feedback.
Projects
Description
The ellipsis that appears in the Color Palette section of the Global Styles is very confusing and doesn't have consistent behavior.
When you reach the panel, the ellipsis behaves like a button that allows editing the custom colors. This behavior is not the default one for this kind of element.
Ellipsis.mp4
It's only when you are in that editing state, that the ellipsis menu acts as a button that reveals a menu with an option to remove custom colors. This means that in order to discover that functionality, the user needs to click on a button that previously did something totally different.
What is your proposed solution?
We should probably redesign this section since there are some usability problems (see for example this one), but in the meantime, I suggest fixing this problem by doing the following:
The ellipsis button should reveal a menu with two options:
If the user is editing the colors, the first option should be disabled and/or indicate that they are inside that mode.
Also, since the remove functionality is destructive, we should probably add a prompt to confirm the action.
Step-by-step reproduction instructions
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: