-
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
Update the document title in the template mode of the post editor #50864
Conversation
Size Change: -14.7 kB (-1%) Total Size: 1.39 MB
ℹ️ View Unchanged
|
c993694
to
ff0bbca
Compare
Fixed the small issues and I added the back button. |
The issue in the Site Editor is fixed, thanks. The back button... :)
If you prefer to add this button in a dedicated PR it's probably fine xD |
Some e2e tests are failing and it looks like this PR removes the possibility to edit the "template title" from the post editor, are we ok with that? |
I think it's okay. We can probably surface renaming as a suggestion in the command palette (#50407). |
Ok this is ready for a final review. It removes two features from the "template mode" of the site editor:
|
@jasmussen this PR doesn't touch the site editor, it's about the "template mode" in the post editor instead. |
Thanks for the review. I've updated the spacing metrics and removed the old "back" button. |
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.
Tentative approval, could use a code sanity check. Nice PR, big improvement.
One thing to still fix, the page icon is still black when you're clicking the command bar. In case it's separate, okay to fix separately, just like applying the purple only to templates and tps.
Related #50378
What?
This PR updates the design of the "title bar" in the "template mode" of the post editor to match the new design in the site editor.
I considered whether I should be showing the title bar in the "regular mode" of the post editor too with the current post/page but because of the implications on the "top toolbar", I decided to leave this for a separate PR. Let me know what you think here?
Testing Instructions
1- Open the post editor
2- Click on the "template -> edit" from the document sidebar.
3- Notice the new design of the "title bar".