-
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
Create contents panel for selecting hidden "layers" #15558
Comments
I do think this sort of thing could be helpful, but I also feel like the sidebar is a little crowded for this sort of interface. I'll think it over a bit more. Also: this is only partially related, but thinking about this makes me kind of wish for a "quick switcher" for block navigation — hit I guess you can sort of do that with the Block Navigation popover today, but I can't get the keyboard shortcut to work on my machine, and it also doesn't show the interior of nested blocks unless the nested block is selected (and when it does that, it doesn't show the rest of the document tree. 🤔). |
That is a solid and well-formed thought, Kjell. Very well made point. Something to think about for sure! |
Great thing. Very complex pages are best edited with the Navigator anyway. Too bad that there is no drag and drop yet. Is this still planned? |
Can you elaborate what kind of drag and drop you're thinking of here? As a meta-answer: drag and drop are fine interactions to think about, so long as they are made as enhancements on top of explicit buttons or actions that are both mouse and keyboard accessible. Or to frame it differently, drag and drop can never be the only way to accomplish an action, it has to be an additional method. |
@jasmussen So first of all thank you for your interest :-) Background:Ok, let's assume we want to insert the last block of the content from https://wordpress.org/gutenberg/ into a column: Then these would be the work steps: Conclusion: How could that be simplified?Idea: Example: Isn't that cool? I need a fraction of the time to do the same thing... And the amazing thing is: you can move whole sections/group with their contents. This is currently difficult to do with GP or I as an end user just don't understand how to do it better :-) |
That is sort of cool, yes. I would suggest you use the up/down arrow movers for now. Yes, drag and drop could be added there, provided we had some keyboard means to do so first — but that could be trivial, it could be up/down arrows on the right side of each element. |
Without criticism, especially productive like yours, many crucial details will likely go unpolished for longer. So please keep it coming! I do agree, you've made a compelling case. |
The initial suggestion for this issue was to allow an easier way to select blocks. I think we've resolved much of this with the new breadcrumbs design. This leads me to believe that we can close this issue. What do you think, @jasmussen ? BUT, I also want to note that the whole drag and drop aspect of the Block Navigator sounds very compelling! I wonder, @SchneiderSam, if you can bring this to its own issue for more focused discussion? |
#19357 so good? |
Apologies for missing this ping. Yes I think this ticket can be closed, because strides have been made and continue to be made. We can always revisit if need be. |
This suggestion is related to efforts in #9628, is inspired by thoughts in #9628 (comment) as well as #9053 (comment). It essentially extracts those mockups from being buried in just comments, to having their own issue we can triage separately. As such, the mockups are therefore also somewhat obsolete, but hopefully the point should get across.
Regardless of any improvements we make to selecting parent blocks as part of #9628 (and both #14961 and #15537 seem promising), there will be situations when a block has innerblocks that are either invisible or otherwise impossible to select using a mouse. Examples:
For those situations, we could hope they were designed with simplicity in mind so the good defaults do not necessitate you having to select those layers to get basic operation done. However for advanced configuration, we should still offer a basic way to select those layers. This could be a panel in the sidebar:
This would show a layer view/tree-view of the contents of the block ancestor, regardless of which child was selected. To do this, it changes the Document/Block tabs to become a breadcrumb tree. This allows nesting containers to show their contents in a panel below. Additionally, the breadcrumbs can wrap for long block names or other translations, and finally it would scale to be able to include block areas in the future.
Thoughts?
The text was updated successfully, but these errors were encountered: