WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.4k stars 4.16k forks source link

Site Editor inconsistencies with section labels, descriptions, and "Add new" buttons #62101

Open ndiego opened 4 months ago

ndiego commented 4 months ago

The user experience in the Site Editor (or anywhere in the Admin) should feel intuitive and consistent. The Site Editor is still very much in flux, especially with the ongoing work on Data Views, but I'm opening this issue to document a few enhancements that are hopefully relatively easy to implement.

Sidebar

Templates Pages Patterns
image image image

Notice how:

"Add new" functionality

The way new templates, pages, and patterns are added is quite inconsistent.

Templates (Desktop) Pages (Desktop)
image image
Patterns (Desktop)
image

Notice how:

This implementation adds additional issues on mobile devises. While you can add templates and pages via the button, since the Patterns page does not have the button, there is no way to add new patterns (you cannot access the Sidebar on mobile, which is where the + icon lives, see https://github.com/WordPress/gutenberg/issues/62106).

Templates (Mobile) Pages (Mobile) Patterns (Mobile)
image image image

These screenshots were generated using Playground with WordPress 6.5 and Gutenberg 18.4.1.

ndiego commented 4 months ago

cc @jasmussen @richtabor

jasmussen commented 4 months ago

Good one. CC: @jameskoster as well.

t-hamano commented 4 months ago

The Pattern sidebar includes a + icon to add new Patterns

I think this has been improved by #60302. In Gutenberg version 18.5, the UI should look something like this:

image

jameskoster commented 4 months ago

The 'Manage...' prefixes were to differentiate between the dark sidebar lists and the management views in 6.5:

Screenshot 2024-05-29 at 15 44 30 Screenshot 2024-05-29 at 15 44 36

Given the dark sidebar lists are removed for 6.6, there's no need for the prefixes any more. Let's remove them 👍

jameskoster commented 4 months ago

The descriptions could use an audit. Currently they inform about what you can do, actions you can take in the section. This is consistent with the root 'Design' panel.

However, capturing everything one can do in data views is a bit tricky beyond "Manage your pages", the scope is so broad. Is it worth updating this to be more informational, IE explaining what pages/templates/patterns are, or perhaps removing the descriptions altogether?