Skip to content

fix(router): Ensure title observable gets latest values#51561

Closed
atscott wants to merge 1 commit intoangular:mainfrom
atscott:titleObservable
Closed

fix(router): Ensure title observable gets latest values#51561
atscott wants to merge 1 commit intoangular:mainfrom
atscott:titleObservable

Conversation

@atscott
Copy link
Copy Markdown
Contributor

@atscott atscott commented Aug 29, 2023

The data Observable is not updated unless there have been changes to the object. The current diffing does not look at symbol keys of the object but the title property is stored as a private symbol. This commit updates the object diffing to include symbols.

fixes #51401

@atscott atscott added area: router target: patch This PR is targeted for the next patch release labels Aug 29, 2023
@atscott atscott requested a review from jessicajaniuk August 29, 2023 19:28
@ngbot ngbot bot added this to the Backlog milestone Aug 29, 2023
Copy link
Copy Markdown
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.

LGTM

@atscott atscott force-pushed the titleObservable branch 2 times, most recently from b75d2d8 to 93f5ea1 Compare August 29, 2023 20:26
The data `Observable` is not updated unless there have been changes to
the object. The current diffing does not look at `symbol` keys of the
object but the `title` property is stored as a private `symbol`. This
commit updates the object diffing to include symbols.

fixes angular#51401
@atscott atscott added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Aug 30, 2023
@atscott
Copy link
Copy Markdown
Contributor Author

atscott commented Aug 30, 2023

caretaker note: It's green but the presubmit was triggered by someone else so I can't force the status to update https://fusion2.corp.google.com/presubmit/561209378/OCL:561209378:BASE:561402946:1693420793022:7fab9fb3;groups=PossiblyAlreadyFailing,AlreadyFailing/targets

@jessicajaniuk
Copy link
Copy Markdown
Contributor

@atscott Looks like this can't merge cleanly into 16.2.x. Updating to target: minor and needs a patch PR, per usual.

@jessicajaniuk jessicajaniuk added target: minor This PR is targeted for the next minor release and removed target: patch This PR is targeted for the next patch release merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note labels Aug 31, 2023
@jessicajaniuk
Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit f464e39.

LayZeeDK pushed a commit to LayZeeDK/angular__angular that referenced this pull request Sep 20, 2023
The data `Observable` is not updated unless there have been changes to
the object. The current diffing does not look at `symbol` keys of the
object but the `title` property is stored as a private `symbol`. This
commit updates the object diffing to include symbols.

fixes angular#51401

PR Close angular#51561
@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 Oct 1, 2023
ChellappanRajan pushed a commit to ChellappanRajan/angular that referenced this pull request Jan 23, 2024
The data `Observable` is not updated unless there have been changes to
the object. The current diffing does not look at `symbol` keys of the
object but the `title` property is stored as a private `symbol`. This
commit updates the object diffing to include symbols.

fixes angular#51401

PR Close angular#51561
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 target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ActivatedRoute.title observable does not emit changes

3 participants