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

Going back from Design > Pages > {template} brings to unexpected navigation screen #52127

Closed
afercia opened this issue Jun 29, 2023 · 2 comments
Labels
[Package] Edit Site /packages/edit-site [Type] Bug An existing feature does not function as intended

Comments

@afercia
Copy link
Contributor

afercia commented Jun 29, 2023

Description

In the Site Editor:

  • Go to Design > Pages
  • The navigation shows a list of pages. In the navigation footer, some special pages that use templates mey be listed e.g. 'Page 404' and 'Search results'.
  • Click on any page, e.g. 'Sample page'.
  • Click the Back button.
  • You're back to the Pages navigation screen. So far so good.
  • Click on 'Page 404'.
  • Click the Back button.
  • You're brought to the templates list at Design > Templates.
  • As a used, I'd expect to be brought back to where I was before: Design > Pages.

To my understanding, the special 'pages' such as 404 and Search results are actually templates so when you go back from the, you're brought to their 'parent' object, which is the Templates screen.

However, from an user experience perspective, this is extremely confusing and just feels broken.

There may be more places where going back from a screen brings to an unexpected place.

Step-by-step reproduction instructions

See above.

Screenshots, screen recording, code snippet

Screenshot 2023-06-29 at 16 14 30

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 [Feature] Navigation Screen [Package] Edit Site /packages/edit-site labels Jun 29, 2023
@t-hamano
Copy link
Contributor

t-hamano commented Jul 1, 2023

This issue seems to have been discussed in #50676.

@noisysocks
Copy link
Member

Closing as dupe of #50676.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Edit Site /packages/edit-site [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants