Open annezazu opened 2 weeks ago
Hello @annezazu I can do this job Would you please send me a link to the design location?
Hey there! We don’t have a design just yet and this issue is open to start exploring that. Thanks so much for being game to help when the time comes!
Here's a couple of rough ideas based around the premise of drawing a little more attention to the mode selection UI.
In doing more testing around this too, I think we need to consider a way to prompt folks around the modes potentially when they can't do something. Some of that will depend of course on where we end up with auditing blocks that can be edited with content only: https://github.com/WordPress/gutenberg/issues/65778
Toggle options come with the challenge of stressing already pressed real-estate. Until the tools themselves and the defaults applied have been refined to be more solid than they are in this nascent pre-alpha state, it's unclear that these actually need the prominence. Perhaps more importantly, we know that annotations/inline comments are on the way, and it may be useful to have those as its own tool. Does that become three buttons, or two? So there are lots of variables to consider.
Here's a couple of options that are perhaps a smaller diff between trunk, and if nothing else they can serve as interim stepping stones.
A | B |
---|---|
@jasmussen I'm not sure I get the differences in the designs you shared.
How is option A different from trunk?
Is option B only about a dropdown for the tools
or in view/preview
icon too?
We should be careful about adding chevron indicators unless we're prepared to apply that treatment to all menu triggers, else we're introducing unhelpful inconsistencies.
In order to use chevrons like this they would likely need to be buttons themselves, with the mode-icon indicating the active selection, but not being a button itself. E.g. Figma:
This is what I tried to recreate in the first of the three mockups above.
The difference is the presence of chevron indicators, like Jay alludes to. I'd agree to be careful there.
In the testing I've done with users, it's not clear how to switch between modes and no one thus far has been able to figure it out in 5+ tests. Meanwhile with zoom out, there's a nice double click to move out of zoom out that allows a more seamless understanding, along with the clear option to invoke it.
In talking with @jasmussen, some ideas were thrown out including a more of a toggle state rather than a dropdown selection. In any case, kicking off this issue to start resolving the problem sooner rather than later. Happy to ask permission from a close friend I had test if we want to see someone trying to go through it in action. cc @WordPress/gutenberg-design