Site Editor: Add rename page action#60230
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: +130 B (0%) Total Size: 1.72 MB
ℹ️ View Unchanged
|
ntsekouras
left a comment
There was a problem hiding this comment.
Thanks so much @aaronrobertshaw! This looks good! I've left a small comment for the success message and small ones for consistency. Other than that, this will be ready to land.
|
I appreciate the speedy and insightful review @ntsekouras 🚀 I'll address the feedback when I'm back from AFK next week. |
e9e2028 to
d7823cb
Compare
|
Thanks for the tweaks and pushing this one across the line 🙇 |
Co-authored-by: aaronrobertshaw <aaronrobertshaw@git.wordpress.org> Co-authored-by: ntsekouras <ntsekouras@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Related:
What?
Adds rename action for the pages dataview in the site editor
Why?
If a page doesn't include a Title block there's no easy way to update the page title in the site editor.
How?
Adds a new
renamePostActionto the site editor's actions component.Note: The modal content will be refactored into a shared component in a follow-up to this PR that will add a rename page command as well.
Testing Instructions
Screenshots or screencast
Screen.Recording.2024-03-27.at.2.33.49.PM.mp4