Gutenberg: UI/UX: Convert HeadingToolbar to ButtonGroup

Created on 9 Feb 2020  路  7Comments  路  Source: WordPress/gutenberg

In order to bring more consistency across controls, as originally discussed in #19904, let's consider employing the ButtonGroup control, instead of a one-off HeadingToolbar component we're currently using, within the Heading block.

Here's what we currently have:
toolbar-1

Here's what it would look like, as a ButtonGroup:
toolbar-2

Needs Design Feedback

Most helpful comment

I wonder if we need to have this option in both the sidebar and the toolbar? It seems with the toolbar we could add all the options and just get rid of the sidebar options.

image

--

Looking towards the new block UI, I think we could basically take the sidebar component and use in a popover:

image

All 7 comments

oh yes, looks better.

just an idea, Can we use adjust height H1 icon as same font size and so on as shown in attached image.
WP

can this increase visual appeal?

I wonder if we need to have this option in both the sidebar and the toolbar? It seems with the toolbar we could add all the options and just get rid of the sidebar options.

image

--

Looking towards the new block UI, I think we could basically take the sidebar component and use in a popover:

image

I wonder if we need to have this option in both the sidebar and the toolbar?

That's an interesting proposition. I'm down for decluttering for sure.

I'm curious if we could get some user testing around this, to see if users understand that they can change the heading level via the toolbar H{level} label, or they need to see the label/array of sizes first (like within the sidebar).

I think moving to the toolbar as @shaunandrews suggests make a bit more sense visually and also brings in the iterated UI.

As far as user experience goes, I do think in the sidebar there is even more invisibility than being in the toolbar.

I will also mention this PR:
"Heading block: use toolbar exclusively for heading level control "
https://github.com/WordPress/gutenberg/pull/20246

After today's design team triage in Slack, it was decided to close this issue due to the above mentioned PR. Once the controls get merged into the block toolbar, it would be a good idea to create a new PR that removes these controls from the sidebar. That makes this issue obsolete.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jasmussen picture jasmussen  路  3Comments

franz-josef-kaiser picture franz-josef-kaiser  路  3Comments

mhenrylucero picture mhenrylucero  路  3Comments

davidsword picture davidsword  路  3Comments

JohnPixle picture JohnPixle  路  3Comments