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

Allow expanding and collapsing of nested blocks in List View #26141

Closed
Tracked by #29102 ...
talldan opened this issue Oct 15, 2020 · 4 comments
Closed
Tracked by #29102 ...

Allow expanding and collapsing of nested blocks in List View #26141

talldan opened this issue Oct 15, 2020 · 4 comments
Assignees
Labels
[Block] Navigation Affects the Navigation Block [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Enhancement A suggestion for improvement.

Comments

@talldan
Copy link
Contributor

talldan commented Oct 15, 2020

Nested blocks can get quite complicated in List View. The list view shows the structure of your content. It is present in a few places, it's in the post editor, it works as a persistent sidebar in the site editor, and it exists as a tool for the navigation block.

Allowing users to expand and collapse parent blocks to reveal or hide the inner blocks would be a good feature.

What is your proposed solution?

Add a small chevron to the left of blocks that feature nesting:

Screenshot 2021-03-10 at 15 56 02

Note: This change should apply to anywhere we use the List View component.

@jasmussen
Copy link
Contributor

I took the liberty of updating this ticket with mockups from the duplicate #29726.

@jasmussen jasmussen added the [Block] Navigation Affects the Navigation Block label Mar 10, 2021
@gwwar gwwar self-assigned this May 19, 2021
@gwwar
Copy link
Contributor

gwwar commented May 19, 2021

I can take a look at this one, seems like we might be able to get some perf wins here too with the feature.

@gwwar
Copy link
Contributor

gwwar commented May 19, 2021

https://www.w3.org/TR/wai-aria-practices/examples/treegrid/treegrid-1.html looks like a nice example/resource

@jasmussen
Copy link
Contributor

On behalf of Kerry who did all the work, this one is now fixed! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Navigation Affects the Navigation Block [Feature] List View Menu item in the top toolbar to select blocks from a list of links. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants