-
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
Revert triggering multi-entity save panel in post with meta changes #63412
Revert triggering multi-entity save panel in post with meta changes #63412
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 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: -47 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
I've tested and confirmed this resolves the issues I reported in #63355 🥳 |
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.
Thank you! Should we close the linked issues that are resolved with this PR? |
I closed mine as fixed and referenced the next steps ticket (#63425) - but the others probably need reviewing to see if they are solved by the rollback, or at least need to be added to #63425 so it's tracked when this flow is readded |
I left a comment on the remaining issue, which is cover in #63425 |
…63412) * Revert showing multi-entity panel in meta changes * Remove test "should show panel and indicator when metadata has been modified" Co-authored-by: SantosGuillamot <[email protected]> Co-authored-by: cbravobernal <[email protected]> Co-authored-by: lgladdy <[email protected]>
I just cherry-picked this PR to the wp/6.6 branch to get it included in the next release: cda3b87 |
This package update includes only one revert PR: WordPress/gutenberg#63412 You can confirm the changes in this package update here: https://github.com/WordPress/gutenberg/commits/wp/6.6/ Fixes #61654. Props santosguillamot. git-svn-id: https://develop.svn.wordpress.org/trunk@58719 602fd350-edb4-49c9-b593-d223f7449a82
This package update includes only one revert PR: WordPress/gutenberg#63412 You can confirm the changes in this package update here: https://github.com/WordPress/gutenberg/commits/wp/6.6/ Fixes #61654. Props santosguillamot. Built from https://develop.svn.wordpress.org/trunk@58719 git-svn-id: http://core.svn.wordpress.org/trunk@58121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This package update includes only one revert PR: WordPress/gutenberg#63412 You can confirm the changes in this package update here: https://github.com/WordPress/gutenberg/commits/wp/6.6/ Fixes #61654. Props santosguillamot. Built from https://develop.svn.wordpress.org/trunk@58719 git-svn-id: https://core.svn.wordpress.org/trunk@58121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This package update includes only one revert PR: WordPress/gutenberg#63412 You can confirm the changes in this package update here: https://github.com/WordPress/gutenberg/commits/wp/6.6/ Reviewed by ellatrix, audrasjb. Merges [58719] to the 6.6 branch. Fixes #61654. Props santosguillamot. git-svn-id: https://develop.svn.wordpress.org/branches/6.6@58720 602fd350-edb4-49c9-b593-d223f7449a82
This package update includes only one revert PR: WordPress/gutenberg#63412 You can confirm the changes in this package update here: https://github.com/WordPress/gutenberg/commits/wp/6.6/ Reviewed by ellatrix, audrasjb. Merges [58719] to the 6.6 branch. Fixes #61654. Props santosguillamot. Built from https://develop.svn.wordpress.org/branches/6.6@58720 git-svn-id: http://core.svn.wordpress.org/branches/6.6@58122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This package update includes only one revert PR: WordPress/gutenberg#63412 You can confirm the changes in this package update here: https://github.com/WordPress/gutenberg/commits/wp/6.6/ Fixes #61654. Props santosguillamot. git-svn-id: https://develop.svn.wordpress.org/trunk@58719 602fd350-edb4-49c9-b593-d223f7449a82
…ordPress#63412) * Revert showing multi-entity panel in meta changes * Remove test "should show panel and indicator when metadata has been modified" Co-authored-by: SantosGuillamot <[email protected]> Co-authored-by: cbravobernal <[email protected]> Co-authored-by: lgladdy <[email protected]>
This package update includes only one revert PR: WordPress/gutenberg#63412 You can confirm the changes in this package update here: https://github.com/WordPress/gutenberg/commits/wp/6.6/ Fixes #61654. Props santosguillamot. git-svn-id: https://develop.svn.wordpress.org/trunk@58719 602fd350-edb4-49c9-b593-d223f7449a82
What?
In this pull request, we are triggering the multi-entity save panel when users make changes to post meta, even if just that specific post has changed. That doesn't seem right and it is causing some issues:
I'm reverting part of the changes of that pull request to stop triggering the multi-entity save panel when only the current post has been modified. We should think about it more broadly and potentially define a similar workflow for "single-entity" changes if wanted.
I kept the notice of post meta changes when posts are updated in a different entity, but I can revert that as well if desired.
Related conversation in WordPress Slack: link.
Why?
Because it is causing more issues than benefits right now.
How?
I'm just reverting the changes that trigger the panel when post meta changes, as well as the test that was added in that PR.
Issues
This is the before and after of the mentioned issues:
Before
Before.revert.mp4
After
After.revert.mp4
Before
Lock.before.revert.mp4
After
Lock.after.revert.mp4
Testing Instructions
You can use the following snippet to lock the button: