Skip to content

docs(docs-infra): use modern apis #61706

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

JeanMeche
Copy link
Member

No description provided.

@angular-robot angular-robot bot added area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure labels May 27, 2025
@ngbot ngbot bot added this to the Backlog milestone May 27, 2025
@JeanMeche JeanMeche force-pushed the docs/refactor-modern branch from bce5972 to 937b7f0 Compare May 27, 2025 18:50
@JeanMeche JeanMeche requested a review from hawkgs June 2, 2025 13:07
Copy link

github-actions bot commented Jun 2, 2025

Deployed adev-preview for 937b7f0 to: https://ng-dev-previews-fw--pr-angular-angular-61706-adev-prev-l16a3nyy.web.app

Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt.

this.setupPageNavigationDimming();
}

/**
* Dims the main router-outlet content when navigating to a new page.
*/
private setupPageNavigationDimming() {
if (!this.isBrowser) {
if (this.isServer) {
Copy link
Member

Choose a reason for hiding this comment

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

Is this changed in order to avoid the !?

This is purely semantical and there isn't anything to suggest that we will support new platforms, so you can ignore my comment, but the check goes from "run only on a browser" (as intended) to "run on everything but a server".

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah is was basically to drop the !

@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels Jun 3, 2025
@kirjs
Copy link
Contributor

kirjs commented Jun 3, 2025

This PR was merged into the repository by commit e555c7f.

The changes were merged into the following branches: main, 20.0.x

@kirjs kirjs closed this in e555c7f Jun 3, 2025
kirjs pushed a commit that referenced this pull request Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker adev: preview area: docs Related to the documentation area: docs-infra Angular.dev application and infrastructure target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants