Skip to content

refactor(core): Refactor out constants to be used in jsaction. Also, don't do anymore jsaction work after event replay is done. - #55799

Closed
iteriani wants to merge 8 commits into
angular:mainfrom
iteriani:tests2
Closed

iteriani wants to merge 8 commits into
angular:mainfrom
iteriani:tests2

Conversation

@iteriani

@iteriani iteriani commented May 14, 2024 •

Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.io application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove
pullapprove Bot requested a review from atscott May 14, 2024 20:24
@iteriani
iteriani requested review from AndrewKushnir and removed request for atscott May 14, 2024 20:34
@pullapprove
pullapprove Bot requested a review from csmick May 14, 2024 22:18
@pullapprove pullapprove Bot added the requires: TGP This PR requires a passing TGP before merging is allowed label May 14, 2024
@iteriani
iteriani force-pushed the tests2 branch 2 times, most recently from 38624da to f725ee4 Compare May 14, 2024 22:27
@iteriani
iteriani requested review from tbondwilkinson and removed request for csmick May 14, 2024 22:27
@iteriani iteriani changed the title refactor(core): Add a test case for content projection. refactor(core): Refactor out constants to be used in jsaction. Also, don't do anymore jsaction work after event replay is done. May 14, 2024
Comment thread packages/core/src/hydration/annotate.ts Resolved
Comment thread packages/core/src/hydration/annotate.ts Resolved
iteriani added 4 commits May 15, 2024 12:43
…hing is replayed.

Without this, I think subsequent renders will populate data structures.
…ptured, or are mouse events.

Use these constants across jsaction and Angular.
]);

/**
* A default set of events that clients should use to install the event contract.

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.

Suggested change
* A default set of events that clients should use to install the event contract.
* Detects whether a given event type is supported by JSAction.

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

Reviewed-for: public-api

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

reviewed-for: fw-core, fw-platform-server, primitives, public-api

@iteriani

Copy link
Copy Markdown
Contributor Author

TESTED=TGP

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

@iteriani LGTM 👍

There was a tiny comment related to docs: https://github.com/angular/angular/pull/55799/files#r1603875571, but we can address it in a separate PR if it'd be easier.

@AndrewKushnir AndrewKushnir added target: patch This PR is targeted for the next patch release area: core Issues related to the framework runtime core: event dispatch labels May 22, 2024
@ngbot ngbot Bot modified the milestone: Backlog May 22, 2024
@iteriani iteriani added the action: merge The PR is ready for merge by the caretaker label May 22, 2024
@pkozlowski-opensource pkozlowski-opensource added the merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note label May 23, 2024
@pkozlowski-opensource

Copy link
Copy Markdown
Member

caretaker note: pending code reviews status got "stuck", ignoring pending reviews

@pkozlowski-opensource

Copy link
Copy Markdown
Member

This PR was merged into the repository by commit 690b0fb.

pkozlowski-opensource pushed a commit that referenced this pull request May 23, 2024
…hing is replayed. (#55799)

Without this, I think subsequent renders will populate data structures.

PR Close #55799
pkozlowski-opensource pushed a commit that referenced this pull request May 23, 2024
…ptured, or are mouse events. (#55799)

Use these constants across jsaction and Angular.

PR Close #55799
pkozlowski-opensource pushed a commit that referenced this pull request May 23, 2024
…ptured, or are mouse events. (#55799)

Use these constants across jsaction and Angular.

PR Close #55799
@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 Jun 23, 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 core: event dispatch merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note requires: TGP This PR requires a passing TGP before merging is allowed target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants