Skip to content

Conversation

@atscott
Copy link
Contributor

@atscott atscott commented Jul 29, 2024

This commit adds a whenStable function to ApplicationRef to cover the most common use-case for the isStable observable.

@pullapprove pullapprove bot requested a review from alxhub July 29, 2024 21:10
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: core Issues related to the framework runtime labels Jul 29, 2024
@ngbot ngbot bot added this to the Backlog milestone Jul 29, 2024
@atscott atscott force-pushed the whenStable branch 4 times, most recently from dece8eb to 3101719 Compare July 29, 2024 22:17
@atscott atscott force-pushed the whenStable branch 3 times, most recently from 6caf1b2 to b4b23b1 Compare August 5, 2024 21:05
@atscott atscott added the action: merge The PR is ready for merge by the caretaker label Aug 5, 2024
Copy link
Contributor

Choose a reason for hiding this comment

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

@atscott Is this still required? because it has not reference now

Copy link
Member

Choose a reason for hiding this comment

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

Nit: I'd love to have some more guidance/explanation here what "stable" means, but I also see that this is maybe not the best spot to document this.

Copy link
Member

Choose a reason for hiding this comment

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

Should we have a doc page on the concept of stability ?
Currently the "best" one we have on this is https://angular.dev/errors/NG0506

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, I'm thinking of either some early notes here; or a good page we can link here in the JSDoc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The documentation on this one is simply a mirror of the one on isStable. I agree, both need improvement, but something that can be done in a follow-up

Copy link
Member

Choose a reason for hiding this comment

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

yeah, can be a follow-up. definitely wasn't meant to be blocking

Copy link
Member

@pkozlowski-opensource pkozlowski-opensource left a comment

Choose a reason for hiding this comment

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

LGTM

Reviewed-for: public-api
Reviewed-for: fw-core

@pullapprove pullapprove bot requested a review from alxhub August 6, 2024 09:08
@thePunderWoman thePunderWoman added action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews target: minor This PR is targeted for the next minor release and removed action: merge The PR is ready for merge by the caretaker labels Aug 6, 2024
Copy link
Contributor

@thePunderWoman thePunderWoman 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

This commit adds a `whenStable` function to `ApplicationRef` to cover
the most common use-case for the `isStable` observable.
@atscott atscott added action: merge The PR is ready for merge by the caretaker and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews labels Aug 6, 2024
@thePunderWoman
Copy link
Contributor

This PR was merged into the repository by commit 7919982.

The changes were merged into the following branches: main

@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 6, 2024
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: core Issues related to the framework runtime detected: feature PR contains a feature commit target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants