Skip to content
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

Block Inserter: Manually close the block inserter panel. #33138

Closed
paaljoachim opened this issue Jul 1, 2021 · 3 comments
Closed

Block Inserter: Manually close the block inserter panel. #33138

paaljoachim opened this issue Jul 1, 2021 · 3 comments
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface Needs Design Feedback Needs general design feedback. Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.

Comments

@paaljoachim
Copy link
Contributor

paaljoachim commented Jul 1, 2021

What problem does this address?

I have come across to support requests.

From Aleksandar (@jashimili)
https://wordpress.org/support/topic/stop-gutenberg-sidebar-disappearing-when-edit-code-in-editor/

"When I click to edit any part of the editor text or code, the gutenberg sidebar disappears, now I know this is new update so it might be normal to work that but it is really annoying that every time I click to write paragraph text, whole page move to the side.
Please take a look at the photos, Is it possible to keep the sidebar sticky all the time."

GregW (@gwmbox)
https://wordpress.org/support/topic/pin-browse-all-blocks-on-left/
In the page/post editor, is there a way to pin the left sidebar column that shows all the blocks available to be pinned there, e.g. when you select the plus icon on the top or the Browse all link as you go to add/edit any block?

What is your proposed solution?

I have two suggestions.

  1. Pin the Block inserter panel so it stays open until the user clicks the pin to close it.

Pin-Block-Inserter-Panel-to-Stay-Open

  1. The other suggestion is to add a pin Block Inserter panel option into Preferences.

Preferences-Manually-close-the-Block-Inserter

Option 2 could make it so that the user clicks the + sign to open the Block Inserter and the x sign to close it. The interface would be more hidden. As an option under preferences instead of having a pin in the Block Inserter panel to create a sticky.

Associated older and now closed issue:
#22871

@paaljoachim paaljoachim changed the title Block Inserter: Pin block inserter to en open state Block Inserter: Manually close the block inserter panel. Jul 1, 2021
@paaljoachim paaljoachim added [Feature] Inserter The main way to insert blocks using the + button in the editing interface [Type] Enhancement A suggestion for improvement. Needs Design Needs design efforts. Needs Design Feedback Needs general design feedback. labels Jul 1, 2021
@javierarce
Copy link
Contributor

I admit that I also find the auto-closing behaviour annoying and would want the left sidebar to act like the right one (or the List View!): staying open until it gets manually closed.

Comparing the Block inserter and the List View makes me think that part of the problem is how these two sidebars appear on the page. Maybe this has been suggested before, but I think that if we'd like the inserter to autoclose itself (like it does now), this sidebar could float above the content without disrupting the elements of the canvas. Only sidebars that will remain fixed should displace the content.

That said, I think both of your solutions could work, @paaljoachim, but I feel we could rethink the basic behaviour of this sidebar first.

@richtabor
Copy link
Member

I’m down for consistency. No other sidebars go away, even when you add patterns (with Gutenberg active) I believe. I’m not sure of a UX pattern where you’d want the sidebar to go away - unless you’re adding just one block (which I assume is very infrequently).

@karmatosed
Copy link
Member

I agree with @javierarce and I think that rethinking the behaviour of the sidebar is better than the proposed solutions. Adding a pin seems to add more cognitive load to me at this point. It might work with an iterated experience, but in the context of what we have, I am not convinced. I think we have enough feedback to close this and start thinking about other experiences around this area. Really getting to the root of the experience feels better than patching what seems to be an issue for users.

Note: I am closing to encourage the opening of other ideas, this issue seems to focus on one particular solution so others can open in new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface Needs Design Feedback Needs general design feedback. Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants