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

Persistent List View: Improve interplay with the other left-side sidebars #29468

Open
Copons opened this issue Mar 2, 2021 · 6 comments
Open
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.

Comments

@Copons
Copy link
Contributor

Copons commented Mar 2, 2021

This issue is about the Persistent List View experiment (#28637), currently only available in the Site Editor.

Currently, Navigation, Inserter, and List View sidebars are alternative between each others: opening one will close the other.

Given the Persistent List View is supposed to be persistent, we might want to find a better interaction between the three sidebars.

Possible solutions:

  1. Remember if the List View was open when opening another sidebar, so that closing that will automatically reopen the List View.
  2. Keep the List View open besides one of the other sidebars (Inserter and Navigation will remain alternative between each other).
  3. Split horizontally the secondary sidebar, so that Inserter and List View can be open at the same time, occupying half (or a resizeable portion) of the sidebar slot.
@Copons Copons added [Type] Enhancement A suggestion for improvement. Needs Design Needs design efforts. [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Mar 2, 2021
@mtias
Copy link
Member

mtias commented Mar 3, 2021

It's persistent while it's opened, but opening another left sidebar (like the inserter) should close it. I don't think it needs to be remembered and opened again. Once it's closed (either by closing directly or opening another) it's closed for good. The other parallel is the block inspector and the global styles sidebar on the right.

@jameskoster
Copy link
Contributor

Agreed for now.

In the future it might be fun to explore the split sidebar idea though:

screenshot-2021-02-04-at-18 00 52

I'm curious about the idea of being able to drag blocks from the Inserter directly in to List View.

@shaunandrews
Copy link
Contributor

It's persistent while it's opened, but opening another left sidebar (like the inserter) should close it.

I can understand this logic at certain viewports, but if I have a sufficiently wide viewport this is just restrictive for no reason.

I've been trying to build a theme with the site editor, and I often jump between templates as I'm going; With this decision, its incredibly frustrating that I can't have both my list of templates and the list of blocks on the current template open at the same time.

@yscik
Copy link
Contributor

yscik commented Mar 11, 2021

What do you think about making this sidebar available for plugins too? We have a few use cases where it would make sense to have some controls be more prominent & easier to discover than what a sidebar shared with block settings allows.

It would be great to have an API exposed to query what's open, or even a <PluginSidebar> prop to register stuff to the secondary sidebar slot.

@mtias
Copy link
Member

mtias commented Mar 11, 2021

Plugins can already use PluginSidebar as a slot.

With this decision, its incredibly frustrating that I can't have both my list of templates and the list of blocks on the current template open at the same time.

@shaunandrews I think this is different. The W sidebar is the main core navigation, and should not interact with inner sidebars on the editor. The ones I mean should not stack are the block inserter and the list view as they occupy the same plane.

@annezazu
Copy link
Contributor

In watching a video of a person using the Site Editor, it's mentioned a desire to have both list view and the inserter open at the same time. For larger screen sizes, this is worth considering, perhaps in the same way we're looking at the future of the Site Editor with a more layered approach like this:

Screenshot 2023-12-20 at 10 09 40 AM

We could reuse a similar design approach to have both open at once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") Needs Design Needs design efforts. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

6 participants