-
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
Collapse list view by default in Site Editor #39573
Conversation
Size Change: +7 B (0%) Total Size: 1.21 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Would be great to get another PR or add to this PR for all editors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
false
the newexpandNested
prop of<ListView>
which forces all nodes to default tocollapsed
state.Testing Instructions
Screenshots or screencast