Skip to content

feat(common): add ability to watch for AngularJS URL updates through … #30466

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

Closed
wants to merge 1 commit into from

Conversation

jasonaden
Copy link
Contributor

onUrlChange hook

The LocationShim (replacement for $location was added to centralize dealing with the browser URL. Additionally, an onUrlChange method was added to Angular's Location service. This PR adds a corresponding method to the LocationShim so updates from AngularJS can be tracked in Angular.

@jasonaden jasonaden force-pushed the location_shim_url_change branch 2 times, most recently from ace0c10 to 9a9ebf6 Compare May 15, 2019 17:52
@jasonaden jasonaden requested a review from IgorMinar May 15, 2019 18:01
@jasonaden jasonaden marked this pull request as ready for review May 15, 2019 18:01
@jasonaden jasonaden requested review from a team as code owners May 15, 2019 18:01
@jasonaden jasonaden added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels May 15, 2019
@jasonaden
Copy link
Contributor Author

Presubmit

@jasonaden jasonaden force-pushed the location_shim_url_change branch from 9a9ebf6 to ac6b427 Compare May 15, 2019 18:14
@jasonaden jasonaden changed the title feat(router): add ability to watch for AngularJS URL updates through … feat(common): add ability to watch for AngularJS URL updates through … May 15, 2019
Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

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

Commit message typo (missing closing ): (replacement for `$location` --> (replacement for `$location`)

…`onUrlChange` hook

The LocationShim (replacement for `$location`) was added to centralize dealing with the browser URL. Additionally, an `onUrlChange` method was added to Angular's Location service. This PR adds a corresponding method to the LocationShim so updates from AngularJS can be tracked in Angular.
@jasonaden jasonaden force-pushed the location_shim_url_change branch from 292c626 to 606bbdc Compare May 15, 2019 21:07
@jasonaden jasonaden requested a review from IgorMinar May 15, 2019 21:07
@jasonaden jasonaden added the area: common Issues related to APIs in the @angular/common package label May 15, 2019
@ngbot ngbot bot added this to the needsTriage milestone May 15, 2019
Copy link
Contributor

@IgorMinar IgorMinar left a comment

Choose a reason for hiding this comment

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

lgtm. thanks for making the changes.

jasonaden added a commit that referenced this pull request May 16, 2019
…`onUrlChange` hook (#30466)

The LocationShim (replacement for `$location`) was added to centralize dealing with the browser URL. Additionally, an `onUrlChange` method was added to Angular's Location service. This PR adds a corresponding method to the LocationShim so updates from AngularJS can be tracked in Angular.

PR Close #30466
@jasonaden jasonaden closed this in 1aff524 May 16, 2019
BioPhoton pushed a commit to BioPhoton/angular that referenced this pull request May 21, 2019
…`onUrlChange` hook (angular#30466)

The LocationShim (replacement for `$location`) was added to centralize dealing with the browser URL. Additionally, an `onUrlChange` method was added to Angular's Location service. This PR adds a corresponding method to the LocationShim so updates from AngularJS can be tracked in Angular.

PR Close angular#30466
@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 Sep 15, 2019
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: common Issues related to APIs in the @angular/common package cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants