-
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
PostLockedModal: Display preview link as part of the text #37852
Conversation
Size Change: +68 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
I think this is a separate issue and would be nice to discuss with folks working on the Components package.
I see this is already addressed in #37857. @javierarce, we display that message when the user's display name isn't available. Oddly, we have a user avatar but not a display name. I will look into this. |
I created a separate PR as a topic-starter on the external link component: #37859 |
Thank you, Joen. |
8e90080
to
dc4671e
Compare
I pushed some minor changes to avoid code duplication. @javierarce, it looks like the I think it might be better if we try to fix it separately. P.S. There's also a proposal for a new Post locking REST API - #37789. |
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.
It might not close #37725, but it's a big step forward with the bold text for the editor, and the bugfixes and simplification. As a small step, this is a good one. Thank you!
I think I also found the Gravatar issue that Joen mentioned. It looks like we're getting user's avatar but it's never used - |
Description
Part of #37725.
PR updates Post Locked modal to display preview link inside the text instead of the separate button. It also shows the user's display name in bold.
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
Enhancement
Checklist:
*.native.js
files for terms that need renaming or removal).