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

Site Editor: Navigating back after trashing a page brings to empty Navigator screen #52761

Closed
afercia opened this issue Jul 19, 2023 · 0 comments · Fixed by #52910
Closed

Site Editor: Navigating back after trashing a page brings to empty Navigator screen #52761

afercia opened this issue Jul 19, 2023 · 0 comments · Fixed by #52910
Assignees
Labels
[Feature] Navigation in Site View Navigation section in the Site Editor when in Site View, offering a way to manage Navigation Menus a [Package] Edit Site /packages/edit-site [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@afercia
Copy link
Contributor

afercia commented Jul 19, 2023

Description

There have been a few issues and still there are some open issues about the Site editor 'drill-down' Navigator. Seems there is still no consensus on whether navigating backshould bring to the parent object or to the referring page Cc @youknowriad
See for example:
#50676
#50676
#52665
#51421

I think I stumbled upon a new scenario where users will find themselves in an almost deed-end. After a page is moved to the trash, going back brings you to a state where the Navigator panel is totally blank.

Step-by-step reproduction instructions

  • Go to Site editor > pages > any Page
  • From the Action menu, move the page to the trash
  • The navigator screen goes back to the Pages list
  • Select another page and move it to the trash
  • The navigator screen goes back to the Pages list
  • Click the Back button placed before the Pages title
  • The navigator screen is now blank (it attempts to go back to a page that is now in the trash)
  • At this point the navigator doesn't show anything, not even the Back button
  • The only workaround is to use the browser Back button or the keyboard shortcut to navigate back in the browser, on a macBook it's Cmd + [
  • On the first Cmd + [ press, the Navigstor shows the Pages list
  • Press Cmd + [ again
  • The navigator screen is blank (it attempts to go back to a page that is now in the trash)

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@afercia afercia added [Type] Bug An existing feature does not function as intended [Package] Edit Site /packages/edit-site [Feature] Navigation in Site View Navigation section in the Site Editor when in Site View, offering a way to manage Navigation Menus a labels Jul 19, 2023
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Navigation in Site View Navigation section in the Site Editor when in Site View, offering a way to manage Navigation Menus a [Package] Edit Site /packages/edit-site [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants