Skip to content
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

Fix confusing ellipsis menu for the Custom Color Palette feature #36519

Closed
javierarce opened this issue Nov 16, 2021 · 4 comments
Closed

Fix confusing ellipsis menu for the Custom Color Palette feature #36519

javierarce opened this issue Nov 16, 2021 · 4 comments
Assignees
Labels
Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json Needs Design Feedback Needs general design feedback.

Comments

@javierarce
Copy link
Contributor

javierarce commented Nov 16, 2021

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.

Screenshot 2021-11-16 at 13 04 09

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:

  • Edit custom colors
  • Remove all custom colors

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

  1. Open the Global Styles sidebar.
  2. Click Colors.
  3. Click Palette.

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

@javierarce javierarce added Needs Design Feedback Needs general design feedback. Global Styles Anything related to the broader Global Styles efforts, including Styles Engine and theme.json labels Nov 16, 2021
@noisysocks noisysocks added this to 📥 To do in WordPress 5.9 Must-Haves via automation Nov 17, 2021
@jiteshdhamaniya
Copy link
Contributor

I’d just start working on a PR.

@glendaviesnz
Copy link
Contributor

I suggest fixing this problem by doing the following:
The ellipsis button should reveal a menu with two options:
Edit custom colors
Remove all custom colors

@javierarce I have added a PR, so we can explore how your suggestion works in practice.

@glendaviesnz glendaviesnz moved this from 📥 To do to 🏗️ In progress in WordPress 5.9 Must-Haves Dec 7, 2021
@glendaviesnz
Copy link
Contributor

@javierarce with #36842 merged are you happy for this issue to be closed?

@javierarce
Copy link
Contributor Author

@javierarce with #36842 merged are you happy for this issue to be closed?

Yes, I think we can close it. This part of the UI still needs a lot of work to improve, but your fix solved the awkwardness I reported. Thanks for fixing it!

WordPress 5.9 Must-Haves automation moved this from 🏗️ In progress to ✅ Done Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
No open projects
Development

No branches or pull requests

3 participants