Skip to content

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

Closed
jasonaden wants to merge 1 commit into
angular:masterfrom
jasonaden:location_shim_url_change
Closed

jasonaden wants to merge 1 commit into
angular:masterfrom
jasonaden:location_shim_url_change

Conversation

@jasonaden

Copy link
Copy Markdown
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 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
Copy Markdown
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

@gkalpak gkalpak left a comment

Copy link
Copy Markdown
Member

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

@IgorMinar IgorMinar left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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.

4 participants