Repository navigation
Conversation
ab077d4 to
c77ffd9
Compare
IgorMinar
left a comment
There was a problem hiding this comment.
this looks very good, we just need to tweak the public api a bit.
There was a problem hiding this comment.
NavigationSource is not exported but it's used as public api surface. is this intentional?
There was a problem hiding this comment.
I recommend inlining the string literal union into the public api + renaming the property to navigationTrigger (source sounds like the source URL, which this is not).
There was a problem hiding this comment.
please add docs for the navigationId and what is its significance.
c77ffd9 to
f3f144e
Compare
|
f3f144e to
6c11dc0
Compare
6c11dc0 to
6f83845
Compare
…rt event Currently, NavigationStart there is no way to know if an navigation was triggered imperatively or via the location change. These two use cases should be handled differently for a variety of use cases (e.g., scroll position restoration). This PR adds a navigation source field and restored navigation id (passed to navigations triggered by a URL change).
6f83845 to
af2c0b3
Compare
|
I updated to remove the |
IgorMinar
left a comment
There was a problem hiding this comment.
this got submitted prematurely by accident. but all my comments were resolved so LGTM. thanks Victor.
…gationStart event (angular#21728)" This reverts commit 3b7bab7. Will be re-merged after fixing integration of minor breaking change.
…rt event (angular#21728) Currently, NavigationStart there is no way to know if an navigation was triggered imperatively or via the location change. These two use cases should be handled differently for a variety of use cases (e.g., scroll position restoration). This PR adds a navigation source field and restored navigation id (passed to navigations triggered by a URL change). PR Close angular#21728
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Currently, NavigationStart there is no way to know if an navigation was triggered imperatively or via the location change. These two use cases should be handled differently for a variety of use cases (e.g., scroll position restoration). This PR adds a navigation source field and restored navigation id (passed to navigations triggered by a URL change).
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information