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

Copy - consider rewording 'overlay' color options in the navigation block #33640

Closed
Tracked by #35521
talldan opened this issue Jul 23, 2021 · 7 comments · Fixed by #35916
Closed
Tracked by #35521

Copy - consider rewording 'overlay' color options in the navigation block #33640

talldan opened this issue Jul 23, 2021 · 7 comments · Fixed by #35916
Assignees
Labels
[Block] Navigation Affects the Navigation Block [Status] In Progress Tracking issues with work in progress [Type] Copy Issues or PRs that need copy editing assistance

Comments

@talldan
Copy link
Contributor

talldan commented Jul 23, 2021

What problem does this address?

The navigation block now has two additional overlay color options:
Screenshot 2021-07-23 at 1 59 20 pm

My first instinct on seeing these was that I wasn't really sure what they do. I tried changing the colors and it had no effect.

I went looking for the PR that introduced this and found #31149 and discovered that this controls the colors for submenus. I didn't have submenus, so that's why nothing happened.

The feature seems very cool, just not sure about the naming. I think users will find this confusing.

What is your proposed solution?

Can the options be called 'Submenu text color' and 'Submenu background color'?

The block already uses the term 'submenu' for 'Show submenu indicator icons', so this would make things more consistent:
Screenshot 2021-07-23 at 2 16 10 pm

@talldan talldan added [Type] Copy Issues or PRs that need copy editing assistance [Block] Navigation Affects the Navigation Block labels Jul 23, 2021
@talldan talldan added this to 📥 To do in Navigation block via automation Jul 23, 2021
@talldan
Copy link
Contributor Author

talldan commented Jul 23, 2021

cc @jasmussen @georgeh

@jasmussen
Copy link
Contributor

Good ticket, thanks for the ping. One of the tricky bits here is that at the moment, the color is used for both dropdown menu background colors, and burger menu overlay menu colors. I think the best solution is likely to let the latter inherit the former if unset, but also have its own separate color control.

(This in turn requires a collapsed color picker as mocked up in #27473 (comment), or we balloon the amount of color palettes in the inspector even further).

What do you think?

@talldan
Copy link
Contributor Author

talldan commented Aug 2, 2021

Potentially, yep. I definitely think this already exposes some shortcomings in the color system—it feels like overlay should be a completely separate element with distinct background and text color options, rather than having everything in one list of colors.

edit: Especially this swatch, it'd be nice to have a way to group background and foreground colors so that a user can see the contrast:
Screenshot 2021-08-02 at 5 14 00 pm

@jasmussen
Copy link
Contributor

it feels like overlay should be a completely separate element with distinct background and text color options, rather than having everything in one list

Yes, that as well. This is going to resurface as we explore mega-menu design tools. Intuitively you'd open a specific dropdown menu and see the contents of just that dropdown. But if you then change the number of columns shown, or the background/foreground/link colors, do you change those for the selected dropdown only? Or for all dropdowns in the menu?

04 Navigation item

There are adjacent issues with surfacing parent block inspector options even when a child block is selected, that might need to be the way this is ultimately addressed.

Especially this swatch, it'd be nice to have a way to group background and foreground colors so that a user can see the contrast:

Coming back from some AFK, I'm not sure how much progress has been made on the "collapsible color picker" where the most recent mockup I know of is found here, but some of the behavior is described in #27331. The key aspect is we need to avoid duplicating the entire theme color palette for each property that can have a color set.

You bring up a good point about the colors shown in the collapsed panel as well, and some of the stacked color groups shown at the first link could potentially be leveraged there.

@annezazu
Copy link
Contributor

annezazu commented Sep 1, 2021

This came up with the ninth call for testing for the FSE Outreach Program:

Also not sure how overlay colour settings works on the mobile menu.

Something to keep in mind is how the naming will impact what users expect these settings to do with the responsive menu option. Either way, excited to see more clarity included here and to see some ideas being shared!

@jasmussen
Copy link
Contributor

Just to get the conversation flowing, in the future, colors will leverage the ItemGroup component and be grouped like a stack of color rows. Shown here, with 3 different verbiage suggestions:
Option 1
Option 2

Option 3

As is maybe clear from the above suggestions, the challenge is that the two last color options apply to both dropdown menus, and the overlay menu opened from the 🍔 menu icon. Reconciling that with keeping the verbiage short (German usually adds 20% length) makes it tricky.

Dan suggested separate options, that could look like this:
Option 4

In this one, the Overlay could still automatically inherit the color of dropdowns unless separately set, and the extra space definitely adds room for adding extra space. But by virtue of having 6 color options, this one really surfaces the need for the ItemGroup collapsing mechanism, but also might add a little confusion as to what the difference is between the last 4 options.

With the ItemGroup in place, there would also be room for help text, in case that would be useful:

Option 5

Any thoughts?

@noisysocks noisysocks added this to 📥 To do in WordPress 5.9 Must-Haves via automation Oct 21, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Oct 25, 2021
@jasmussen jasmussen moved this from 📥 To do to 🏗️ In progress in WordPress 5.9 Must-Haves Oct 25, 2021
@jasmussen
Copy link
Contributor

#35916 fixes this one, at least temporarily. The comment above suggests using ItemGroups, perhaps even splitting out the colors. That is something we can look at still. But in the mean time, the PR makes the labels more clear.

Navigation block automation moved this from 📥 To do to ✅ Done Oct 25, 2021
WordPress 5.9 Must-Haves automation moved this from 🏗️ In progress to ✅ Done Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Status] In Progress Tracking issues with work in progress [Type] Copy Issues or PRs that need copy editing assistance
Projects
Development

Successfully merging a pull request may close this issue.

3 participants