-
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
Post Editor: Do not close the sidebar when opening the inserter #60062
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the Unlinked AccountsThe following contributors have not linked their GitHub and WordPress.org accounts: @porg. Contributors, please read how to link your accounts to ensure your work is properly credited in WordPress releases. If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: -65 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
@youknowriad, it would be nice to get your feedback on #60004. |
It seems we could consider separately exploring hiding the inserter temporarily when dragging items. |
Makes sense to me, at the very least as a step towards unification. I'd also think improvements we can make is to explore size tweaks to the inserter, potentially it can be contextually smaller. |
Or instead of the whole inserter, just the secondary "Media" and "Patterns" sidebar views. But then again, #60004 would help to resolve this, as we lean into engaging zoom out when a pattern category is selected (#44585) and perhaps when a media category is enabled. We just need to shift the canvas when Media is engaged, like we did for patterns. |
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.
Works as expected.
3ad36b1
to
0178cec
Compare
0178cec
to
7683e4c
Compare
Flaky tests detected in 7683e4c. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8837128388
|
Closing in favor of #61468 |
closes #23968
What?
In the post editor, it's not possible to keep the right sidebar open when inserting blocks. This has been implemented because of the big space that both of these sidebars can take. That said, this behavior is not present in the site editor and it hasn't really proved to be problematic while the behavior in the post editor has surfaced issues like #23968
In this PR, I'm removing this particular behavior from the post editor and just aligning with the site editor.
Testing Instructions