Recently, #19344 was merged as a first step towards addressing the interface learnings outlined in #18667.
It was a big PR, but advancing the block UI is a big undertaking, and there are followups to address. Two immediate ones are high-luminance default colors (#20460), and improving icon consistency (#20464)
As part of working on the PR, though, I wrote down a list of smaller tasks that deserve followup. As we discuss the following list on this ticket, we may even find the need to extract items to their own tickets.
If both movers are disabled, it might be better to render the dotted-grid to signal dragging works.
The growing triangle on hover looks rough (pixelated) during the transition. It's so small that it might be better to not do anything:
On the navigator, the active state looks a bit excessive:
Let's make sure we open this more consistently to the bottom (and only top when there is no space):
Also, we should collapse this to single icon dropdown with tooltips.
Another small one — the dropdowns should open to the right and with a bit more spacing.
Another one that I'm not sure if it's after the design updates or not:
@mtias Just submitted a PR for the GradientPicker 👍
Fixed the tools menu:
Another small one: we should update the rounded borders and icon weight of the custom gallery controls.
Another small issue:
I checked the "Explore a directional "appear" animation to the block toolbar", as I tried making that happen, but could not get it buttery smooth, and it felt interruptive to the experience. So it's been explored, shelved for now, and therefore checked!
Some issues I noticed after rebasing with master
:
[x] +
icon on the bottom is black:
[x] The close icon is bigger than before but it might be correct, needs confirmation:
[x] The placeholder in Columns block when tabbing between variations to pick:
Thanks for the comment, @gziolo. I'll get to this as soon as I can.
Note that the black plus is a result of TwentyTwenty styling the plus when it shouldn't be. This is reported in Trac where it arguably should be fixed upstream. Separately we can discuss shadow domming such elements, so themes can't style them, intentionally or not. But I don't think we should override it in the block editor css even if we can.
We should consider rephrasing the Reusable blocks feature, and adding an icon to this one as it's one of the "bigger" features:
Here a tiny optimization to bold, italic, and strike icons. Reduced to 14 height instead of 16, to look more even in the toolbar. Green dot in this Figma file indicates update or optimization.
One icon that needs an update is _Latest Posts_
We should explore making the tappable hit area of buttons in the top toolbar 48x48 like in the block toolbar, even if not the visual hit area.
@gziolo I can't reproduce your columns issue:
I can't reproduce your columns issue:
Did you try hover + focus? If yes, then it might get fixed together with other changes :)
I did try hover and focus and I can't reproduce.
There are some related issues with the secondary button but none that produce the issue you saw. I think you may have had a ghost of the mixin?
I spent a bunch of time today in #21476, which fixes the overwhelming majority of issues listed in this thread. It doesn't get us to G2 perfection, but it gets us much farther, and very probably enough to close _this_ ticket in favor of separate individual tickets from now on.
One remaining issue is one of button sizes. First off, based on the comment here: https://github.com/WordPress/gutenberg/issues/20575#issuecomment-610795160 — bigger tap targets.
We can do that — icon buttons in the block toolbar are 48px tall, and unless there are multiple in sequence, they are also 48px wide. Like so:
But it does require a bit of jiggery pokery and positioning the focus rectangles so that they are actually visually useful and consistent — those need to become pseudo elements that are positioned carefully inside the _hit area_ of the button. To the question is: would that be an acceptable approach?
Most helpful comment
Here a tiny optimization to bold, italic, and strike icons. Reduced to 14 height instead of 16, to look more even in the toolbar. Green dot in this Figma file indicates update or optimization.