-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: add navigation-api router #2551
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
Draft
userquin
wants to merge
71
commits into
vuejs:main
Choose a base branch
from
userquin:navigation-api
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
e89a2ab
feat: add navigation-api router
userquin 166f710
chore: fix build error and remove triple slash reference
userquin 57e4f54
chore: fix createHref
userquin a869c14
chore: fix intercept handler path
userquin 61bece3
chore: move beforeRouteLeave guards from intercept handler to navigate
userquin 8fd37aa
Revert "chore: move beforeRouteLeave guards from intercept handler to…
userquin 68743f3
chore: refactor logic and navigation guards promises logic
userquin 0a73c18
chore: remove spanish comment
userquin 33709ab
chore: fix navigation guards promises args
userquin 58055b3
chore: try handling history nav. in the listener
userquin 97e3796
chore: revert prevent default (not working)
userquin 2e8af8f
chore: remove navigation success and error listeners
userquin 2973232
chore: add isRevertingNavigation guard
userquin 2d21d50
chore: don't call finalizeNavigation on error
userquin 9772a2e
chore: add initial bootstrap
userquin 1618c6c
chore: fix build error
userquin fd0ff06
chore: add back finalizeNavigation with failure on error
userquin 2578738
chore: change error logic
userquin 88dd20b
chore: update navigation error and initial navigation logic
userquin 7895f77
chore: revert plugin boostrap
userquin 2b6df78
chore: change bootstrap logic
userquin 34478a7
chore: add back and forward info to the navigation info
userquin be8a320
chore: fire initial navigation to load components
userquin c5d77ae
chore: update resolveNavigationGuards logic
userquin 50a675a
chore: remove functional functions
userquin 92d9812
chore: revert guard changes
userquin 44d4ae9
chore: change boostrap logic
userquin ebaf406
chore: .
userquin e06f13c
chore: abort logic on navigation duplicated
userquin dd56ef0
chore: change logic
userquin aa89041
chore: fix to at intercept
userquin eac6b63
chore: add missing leaving routes guards
userquin bd15fd3
chore: add back navigation info to guards
userquin cec1347
chore: provide navigation info to guards wrap call
userquin 83f47c7
chore: add info as last parameter at extractComponentsGuards
userquin 912be85
chore: use runGuardQueue logic from router at nav. api router
userquin 43b2aab
chore: expose navigation api abort signal for advance usage
userquin 1b99c9b
chore: don't show navigation cancellation error at `handleCurrentEntr…
userquin 04352df
chore: check guards parameters call to fix current browser tests
userquin 7c54940
chore: don't provide info to `runWithContext` call
userquin afdb6e0
feat: add native view transition built-in support
userquin 538ce7b
chore: add routes utils and expose new stuff
userquin bbd2bbd
chore: fix types
userquin cecb1ed
chore: .
userquin 19847b2
chore: add return type to enableViewTransition
userquin d39977c
chore: fix import at new nav. api router
userquin 43e1672
chore: fix imports at client-router
userquin 29fdfb4
chore: refactor logic to detect view transition
userquin ce33564
chore: change symbol for transition mode
userquin 51fbf74
chore: update TS (5.8.2), api extractor (7.52.13), tsdoc (0.28.13) ad…
userquin c3c58d3
chore: check for window
userquin f16ded6
chore: inject transition mode correctly at router view
userquin 8d541a3
chore: add transitionMode to RouterView definition
userquin f577bbf
chore: check transition mode before enabling view transition
userquin b53dfc9
chore: use isReady to register native view transition at legacy router
userquin 591be56
chore: change isChangingPage and legacy router registration
userquin 9367a97
chore: update `beforeResolve` guards
userquin ce59ba7
chore: update `beforeResolve` guard at nav. api router
userquin 8d3ce6a
chore: change viewTransition option
userquin b0cf9f8
chore: cleanup
userquin f3ab6cc
chore: add focus and scroll management options
userquin 98ee9f4
chore: remove back and forward buttons check from view transition logic
userquin 0674d04
chore: simplify view transition hooks
userquin a5a2a88
chore: remove transition error race when using back or forward browse…
userquin b74d264
chore: cleanup handleNavigate
userquin e968961
chore: fix Windows dts build
userquin d4fa249
chore: add `name` to router to allow adding helpers for legacy router
userquin 8a35345
chore: add focus management "polyfill" to legacy router
userquin ad1e5d3
chore: add microtask before handling focus
userquin d282525
chore: add enable automatic scroll management to legacy router
userquin 11632e0
chore: rename client router to modern router
userquin 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.