Repository navigation
Collapse list view by default in Site Editor - #39573
Conversation
|
Size Change: +7 B (0%) Total Size: 1.21 MB
ℹ️ View Unchanged
|
scruffian
left a comment
There was a problem hiding this comment.
This looks so much easier to use!
|
Thanks for feedback. I'll leave this open over the weekend to allow for further feedback. |
|
This is a very good idea Dave! |
|
This looks great 👍 |
|
Note this is only in the Site Editor. We could expand to others editors by changing the prop to default to |
alexstine
left a comment
There was a problem hiding this comment.
Looks good to me.
Would be great to get another PR or add to this PR for all editors.
priethor
left a comment
There was a problem hiding this comment.
Cool! With the List View expanding and focusing on the block selected in the canvas, this initial state fills much smoother. 👍
|
Ok thanks folks. That's enough 👍 for us to merge this one. I will follow up with a wider proposal shortly in order that this applies to all editors. |
|
Follow up is here #39611 |

What?
This PR sets nodes within the List View to be collapsed by default.
Why?
In #34759 a few folks said the list view could be overwhelming. This also has accessibility concerns.
Given that the Site Editor is the most likely to have heavily nested block structures it makes sense to experiment with making all nodes collapsed by default here first.
This should make the initial list view experience a lot less overwhelming.
How?
It toggles to
falsethe newexpandNestedprop of<ListView>which forces all nodes to default tocollapsedstate.Testing Instructions
Screenshots or screencast