-
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
Global style revisions: remove unnecessary goTo
navigation call
#65810
Conversation
… `Navigator.BackButton` already has default back behaviour.
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: 0 B Total Size: 1.77 MB ℹ️ View Unchanged
|
Flaky tests detected in 657b5f1. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/11135870136
|
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.
Thank you, @ramonjd! The back navigation works as before.
Side note: I noticed that when I open the Style Book and then the Revisions, the panel does some kind of double rendering/navigation. It could be worth tracking this separately.
Screencast
CleanShot.2024-10-02.at.08.09.10.mp4
Thanks @Mamaduka I'm sure this or something similar came up somewhere else, but now I can't find it 🤔 |
Might be related: |
Thanks for fixing this up! |
…rdPress#65810) Co-authored-by: ramonjd <ramonopoly@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
…call (WordPress#65810)" This reverts commit 7b5f4b2.
…5810) Co-authored-by: ramonjd <ramonopoly@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
What? How? Why?
Partly addresses #65794
Remove
goTo()
call in theonBack
callback for the ScreenHeader sinceNavigator.BackButton
already has default back behaviour.Testing Instructions
Head over to Global styles revisions.
Check that the header back button returns to the root styles panel.
Screenshots or screencast
2024-10-02.10.39.44.mp4