Command Palette: In the site editor, make "Add new page" use the new page flow from within the site editor instead of redirecting #65473
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Package] Commands
/packages/commands
[Status] In Progress
Tracking issues with work in progress
[Type] Enhancement
A suggestion for improvement.
What problem does this address?
Currently the "Add new page" command when used within the site editor will redirect the user to the page editor in WordPress, navigating away from the site editor entirely. Since it's possible to create new pages from within the site editor, this unnecessarily moves the user all the way out of the site editor, which they may not have intended to do.
What is your proposed solution?
Instead of redirecting to the page editor entirely, let's see if we can instead open up the Pages part of the site editor and use the flow for adding a new page. Effectively, as if a user had navigated to Pages and then clicked the button to add a new page.
What follows is a quick screengrab showing what happens currently, and at the end where we could instead move the user to the flow within the site editor where they could add a new page:
2024-09-19.11.20.42.mp4
Related issues
The text was updated successfully, but these errors were encountered: