-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Hide 'Advanced' options by default. #6038
Conversation
Agreed. Also I'm not sure whether it's been implemented (and would be separate from this PR anyway), but it'd also be nice if the open/closed state is saved per user. |
With this PR merged, the "Advanced" box at the bottom of this panel, and all block panels, will start off closed, correct? If yes, then sure, I've no objection to this. I also have no strong opinions personally. I do tend to agree with Paul Wilde that it would be nice, longer term, to store this configuration on a per-user basis, so if for example you often use the advanced section open for the Gallery block (for this, for example), then the open state for that panel is remembered. But that's outside the scope of this PR. I'll let @karmatosed make the final call, and merge, if she agrees the advanced panel should start closed. Also, thank you for the PR! 🏅 |
Hi @jasmussen, Yes that was the intended behaviour for this PR. |
Code wise is good to go, waiting for @karmatosed 👍 |
Related discussion in #6023, where @jasmussen proposes how to approach all inspector controls as a whole. In particular, this comment is relevant:
|
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.
I don't see anything wrong with it being closed but also really like the idea it could be per user. My only concern is how discoverable the CSS class is. We can judge that over time. It is incredibly useful for a lot of people.
Don't we have a similar behavior implemented for |
Had 2 (small) PRs committed so far: WordPress#6038 WordPress#9204
Description
Hide the 'Advanced' options in the Inspector by default.
By definition 'Advanced' options won't be used by most of the time so it makes sense to hide them behind a toggle.
Checklist: