-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Site Editor: Open block settings upon block selection #54633
Comments
Maybe I'm missing something but in the Post Editor the Settings panel doesn't automatically opens upon block selection for me? |
@afercia In the post editor:
|
@alexstine I guess that is because the Settings panel is already open in your editor. The point here is whether the Settings panle should expand automatically upon block selection. Right now, it doesn't.
|
I think it should open automatically. This flow would feel more natural given how the editor experience currently works. |
If it were 100% up to me, it wouldn't be possible to close the settings panel, and it would always be present. However, since that's not what we have, it is a reasonable question whether selecting a block automatically presumes that the settings for that block should be available. Does editing a paragraph imply that you want access to the controls to change the style of the paragraph? I'm sure that editing more complex blocks does imply that you need access to their settings, but I also think it would be a chaotic experience for blocks to behave differently. Consistency is very important here. |
Reading through the conversation here, one of the points of confusion is whether or not the settings panel is open. @alexstine had it open in the post editor, and reasonably assumed it would have the same behavior in the site editor. However, toggling the settings panel in the post editor has no impact on its visibility in the site editor. Should these be considered completely separate interfaces, or should they share preferences? The behavior and layout is more consistent if opening the settings panel in one editor also opens it in the other - there'll be less disruption between views as you navigate, and access to block settings will be more direct in this scenario. |
Noting that if the Styles panel gets moved out of the same section as block settings as shown in these designs and the Styles details view gets overhauled with the controls, I imagine this could then function the same way in post and site editor. |
Noting that @youknowriad is currently working on unifying the codebases of the Post and Site editors which will hopefully result in behaviour between the two being unified as well. |
I came across this issue multiple times while working with users this week who were newer to using the Site editor. A common sequence was
Because the Global Styles panel remained open in the right sidebar after step 2, individual block settings were easily missed. I think the right sidebar should switch back to the block settings panel after a block is clicked. |
It seems like there are two outstanding issues here, discussed in today's accessibility bug scrub:
For #1, can we get an update on the progress towards synchronizing the code bases? |
I'd totally agree such an important behavior should not make assumptions. This is a case were actual user testing would be greatly beenficial. I'd love to see an A/B user testing with a divers group of users. |
I couldn't find a PR on this, but in the latest Gutenberg, the open/close state of the block settings sidebar should already be consistent between the post editor and the site editor. |
Here's an experimental trial PR: #63632 I have not thoroughly tested it, so it may not work as described, but I think it will be good enough to see how it is in practice. |
This came up as part of the Hallway Hangout on improving accessibility in the Site Editor when @alexstine demonstrated how, upon selecting a block, the block settings aren't automatically opened. This causes additional labor to open it and doesn't match the experience in the Post Editor. My best guess is that this is due to Styles having a tab and not wanting to override that experience while also providing deep linking built into Styles upon block selection but I'm not quite sure. Let's discuss further here!
The text was updated successfully, but these errors were encountered: