-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interactivity Router: Move ARIA live region and loading bar to the In…
…teractivity Router (#58377) * Expose state related to navigations * Remove loading bar and aria region from query block * Implement wp-router-region processor * Remove aria regions and loading bar logic from query block * Move loading bar CSS from query to router region processor * Recover `navigatingTo` variable * Fix flaky test * Remove unnecessary PHPUnit checks * Ensure the callback is executed once * Update boolean flags and message only if page exists * Clarify usage of unresolved promise * More code reordering * Save current link URL after navigating * Add topLoadingBar and screenReaderAnnounce options * Fix url updating after navigating back or forward * Rename internal `url` variable to `pagePath` * Always set a string in `state.url` * Remove confusing comment * Use internal state instance instead of `wp_interactivity_state` * Add id to the router animations style tag * Test the `data-wp-router-region` directive processor * Rename topLoadingBar option to loadingAnimation * Update docs for options.loadingAnimation * Move router-region flag to the WP_Interactivity_API class * Fix screenReaderAnnouncement name
- Loading branch information
Showing
8 changed files
with
334 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
fd68223
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.
Flaky tests detected in fd68223.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7758713792
📝 Reported issues:
/test/e2e/specs/editor/various/writing-flow.spec.js