Skip to content
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

Command Palette: In the site editor, make "Add new page" use the new page flow from within the site editor instead of redirecting #65473

Closed
andrewserong opened this issue Sep 19, 2024 · 0 comments · Fixed by #65476
Assignees
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.

Comments

@andrewserong
Copy link
Contributor

andrewserong commented Sep 19, 2024

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

@andrewserong andrewserong added [Type] Enhancement A suggestion for improvement. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Package] Commands /packages/commands labels Sep 19, 2024
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
2 participants