-
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
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
|
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.
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
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.
Looks good! Let's 🚢
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
renamePostAction
to 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