-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Progressively enhanced navigation #48899
Merged
SteveSandersonMS
merged 30 commits into
main
from
stevesa/progressively-enhanced-navigation
Jun 20, 2023
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
b40c713
Factor out parts of NavigationManager.ts that will be reused
SteveSandersonMS b4d0d0a
Update DomSync logic to handle entire documents including doctype nodes
SteveSandersonMS f1ec76f
Fix an obvious bug in DomSync.ts
SteveSandersonMS 87ca0fa
Most basic case of progressively-enhanced nav
SteveSandersonMS 2bce561
Cancel enhanced nav if a second navigation starts
SteveSandersonMS c082517
Error handling
SteveSandersonMS 9a25a40
Scroll to hash
SteveSandersonMS d3c8284
Refactor towards streaming SSR support
SteveSandersonMS 8aa3698
Integrate with streaming SSR
SteveSandersonMS 464ae89
Clean up hash handling
SteveSandersonMS 2b09179
Minor cleanup
SteveSandersonMS 1654593
Auto-bypass PE nav when there's an interactive router
SteveSandersonMS 2e91fff
Clean up notes about interaction
SteveSandersonMS c78e62b
Start up interactive components after enhanced nav. This is not a com…
SteveSandersonMS a1da413
Initial E2E test
SteveSandersonMS 500af89
E2E tests for streaming SSR + enhanced nav
SteveSandersonMS 683e870
More E2E cases
SteveSandersonMS 1b070e7
E2E test for scrolling to hash
SteveSandersonMS b1b1b2a
Fix typo
SteveSandersonMS 8b039c6
Another comment fix
SteveSandersonMS a9791ed
Respect the disableDomPreservation flag
SteveSandersonMS 22a772a
Fix build
SteveSandersonMS bd15759
Fix E2E test disposal issue
SteveSandersonMS 8191949
Support navigations, plus further test case for errors
SteveSandersonMS 75323b1
Update .js
SteveSandersonMS faf48ba
Fix error handling E2E test
SteveSandersonMS d447d5a
Support external redirections too
SteveSandersonMS e9fe08e
Update .js
SteveSandersonMS 0c93607
Trigger CI
SteveSandersonMS af827ac
Update unit tests
SteveSandersonMS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Was there a bug here?
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.
Yes. I could backport the fix and add another test case to the earlier PR, but it didn't seem worthwhile when both of those things are going in on the same day with this PR.
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.
That's ok, as long as we have a test to cover it, that's good enough