Skip to content
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

feat(router): Allow onSameUrlNavigation: 'ignore' in navigateByUrl #52265

Closed
wants to merge 1 commit into from

Conversation

atscott
Copy link
Contributor

@atscott atscott commented Oct 18, 2023

There are cases where the application's default behavior is 'reload' and a certain navigation might want to override this to be ignore instead. This commit allows onSameUrlNavigation in the router.navigateByUrl to be ignore where it was previously restricted to only reload.

There are cases where the application's default behavior is 'reload' and
a certain navigation might want to override this to be `ignore` instead.
This commit allows `onSameUrlNavigation` in the `router.navigateByUrl`
to be `ignore` where it was previously restricted to only `reload`.
@atscott atscott added feature Issue that requests a new feature area: router target: minor This PR is targeted for the next minor release labels Oct 18, 2023
@ngbot ngbot bot modified the milestone: Backlog Oct 18, 2023
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Oct 18, 2023
Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Contributor

@AndrewKushnir AndrewKushnir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-for: public-api

@pullapprove pullapprove bot requested a review from dylhunn October 18, 2023 17:49
@atscott atscott requested review from jessicajaniuk and removed request for pkozlowski-opensource, alxhub and dylhunn November 13, 2023 17:23
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Nov 13, 2023
Copy link
Contributor

@jessicajaniuk jessicajaniuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed-for: public-api

@jessicajaniuk jessicajaniuk added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label Nov 13, 2023
@jessicajaniuk
Copy link
Contributor

Caretaker: can't remove unneeded reviewers. Safe to merge.

@jessicajaniuk
Copy link
Contributor

This PR was merged into the repository by commit 726530a.

tbondwilkinson pushed a commit to tbondwilkinson/angular that referenced this pull request Dec 6, 2023
angular#52265)

There are cases where the application's default behavior is 'reload' and
a certain navigation might want to override this to be `ignore` instead.
This commit allows `onSameUrlNavigation` in the `router.navigateByUrl`
to be `ignore` where it was previously restricted to only `reload`.

PR Close angular#52265
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 14, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
angular#52265)

There are cases where the application's default behavior is 'reload' and
a certain navigation might want to override this to be `ignore` instead.
This commit allows `onSameUrlNavigation` in the `router.navigateByUrl`
to be `ignore` where it was previously restricted to only `reload`.

PR Close angular#52265
rlmestre pushed a commit to rlmestre/angular that referenced this pull request Jan 26, 2024
angular#52265)

There are cases where the application's default behavior is 'reload' and
a certain navigation might want to override this to be `ignore` instead.
This commit allows `onSameUrlNavigation` in the `router.navigateByUrl`
to be `ignore` where it was previously restricted to only `reload`.

PR Close angular#52265
amilamen pushed a commit to amilamen/angular that referenced this pull request Jan 26, 2024
angular#52265)

There are cases where the application's default behavior is 'reload' and
a certain navigation might want to override this to be `ignore` instead.
This commit allows `onSameUrlNavigation` in the `router.navigateByUrl`
to be `ignore` where it was previously restricted to only `reload`.

PR Close angular#52265
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: router detected: feature PR contains a feature commit feature Issue that requests a new feature merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: minor This PR is targeted for the next minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants