Skip to content

docs(docs-infra): Add dev-mode only mention for core/global - #57365

Closed
JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:coreglobal/devmode
Closed

JeanMeche wants to merge 1 commit into
angular:mainfrom
JeanMeche:coreglobal/devmode

Conversation

@JeanMeche

Copy link
Copy Markdown
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 Aug 13, 2024
@ngbot ngbot Bot added this to the Backlog milestone Aug 13, 2024
@JeanMeche
JeanMeche force-pushed the coreglobal/devmode branch 2 times, most recently from 4bbcf3a to 8797d03 Compare August 13, 2024 13:38
@github-actions

github-actions Bot commented Aug 13, 2024 •

Copy link
Copy Markdown

Deployed adev-preview for 913fae2 to: https://ng-dev-previews-fw--pr-angular-angular-57365-adev-prev-2wazrqi5.web.app

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

@JeanMeche
JeanMeche marked this pull request as ready for review August 14, 2024 08:42
@pullapprove
pullapprove Bot requested a review from devversion August 14, 2024 08:42
Comment thread packages/core/global/BUILD.bazel Outdated

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.

I would personally prefer window.ng globals, but I'm leaving to others.

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.

Also, it's a little unfortunate that the attribute is module_name here :( but might be fine for now

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I introduced a module_label argument which make the change a bit larger but we're have a better result now !

@angular-robot
angular-robot Bot requested a review from devversion August 14, 2024 18:47
@JeanMeche
JeanMeche force-pushed the coreglobal/devmode branch 3 times, most recently from 062fae8 to f8aa046 Compare August 14, 2024 21:18
@JeanMeche
JeanMeche force-pushed the coreglobal/devmode branch 3 times, most recently from def65ee to 44d7756 Compare August 15, 2024 18:33

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.

is title a pre-sanitized/bypassed HTML string here? (to avoid runtime noop sanitization for perf maybe?)

I could see us keeping it like that though; just to be "safe".

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.

I see this was resolved, but did you leave any comment here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes I added a comment. It only appears on the full diff

@angular-robot
angular-robot Bot requested a review from devversion August 24, 2024 09:22
@JeanMeche
JeanMeche force-pushed the coreglobal/devmode branch 3 times, most recently from 7a365d6 to ad8baf6 Compare August 26, 2024 13:35

@devversion devversion 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.

LGTM, minor comments, and the sanitization 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.

Maybe add a better description where this is commonly used + not sure if "JS" makes sense here?

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.

I see this was resolved, but did you leave any comment here?

@angular-robot
angular-robot Bot requested a review from devversion August 26, 2024 14:31
@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 Aug 26, 2024
@angular-robot
angular-robot Bot requested a review from devversion August 28, 2024 11:51
@JeanMeche JeanMeche removed the action: merge The PR is ready for merge by the caretaker label Aug 28, 2024
@JeanMeche JeanMeche added the action: merge The PR is ready for merge by the caretaker label Aug 28, 2024
@AndrewKushnir AndrewKushnir added the action: presubmit The PR is in need of a google3 presubmit label Aug 29, 2024
@AndrewKushnir

Copy link
Copy Markdown
Contributor

Presubmit.

@AndrewKushnir

Copy link
Copy Markdown
Contributor

This PR was merged into the repository by commit 6c2beba.

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

@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 30, 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 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