-
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
Editor: Fix post lock data inconsistency #37914
Conversation
Size Change: +2 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
@jasmussen, I think avatar margins could use some adjustment in this component. |
Very nice, this is what I see: I think we could remove the We can also bump the right margin to $grid-unit-30 perhaps, but I'd appreciate @javierarce thoughts here, so we can get the metrics right: |
Instead of using heartbeat, it should great we use this new REST API that I worked on #37789 |
Thanks for working on that, @spacedmonkey. I will try to test/review this week. Meanwhile, I tried to keep things simple and fix the current inconsistency. |
@spacedmonkey, can we merge this as a short-term solution? |
Backporting fixes introduced in WordPress/gutenberg#37914. Props Mamaduka. Fixes #55238. Built from https://develop.svn.wordpress.org/trunk@53070 git-svn-id: http://core.svn.wordpress.org/trunk@52659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Backported to WordPress core with https://core.trac.wordpress.org/changeset/53070. |
Backporting fixes introduced in WordPress/gutenberg#37914. Props Mamaduka. Fixes #55238. Built from https://develop.svn.wordpress.org/trunk@53070 git-svn-id: https://core.svn.wordpress.org/trunk@52659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Description
Part of #37725.
PR fixed post lock data inconsistency between editor settings and heartbeat response. The editor settings were missing the user avatar and heartbeat user display name.
P.S. I will try to create a core patch later this week.
How has this been tested?
Create two admin user accounts. Save a post as one user, then log in as the other user in an incognito mode and load the same post.
Screenshots
Types of changes
Bugfix
Checklist:
*.native.js
files for terms that need renaming or removal).