forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Create a new pull request by comparing changes across two branches #157
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…sing ng-template (#53304) This commit fixes an issue with hydration, which happens when a content is projected in a certain way, leaving host elements non-projected, but the child content projected. The fix is to detect such situations and add extra annotations to help runtime logic locate those elements at the right locations. Resolves #53276. PR Close #53304
…ically set again (#53292) When the AOT compiler creates a delegated host for a provided TypeScript CompilerHost, it delegates functionality back to the original via a series of internal method delegations. However, unlike other members of the CompilerHost, `jsDocParsingMode` is not a method and cannot be delegated in this way. Attempting to call bind on the property will result in a runtime error. Instead, `jsDocParsingMode` is now delegated via get/set accessors. Additionally, the override of `getSourceFile` now has an updated type signature to reflect the additional of the `jsDocParsingMode` option for the method. This is a followup to #53126 which updates the other DelegatingCompilerHost. PR Close #53292
This commit fixes an issue where swapping hydrated views was not possible in the new control flow repeater. The problem was caused by the fact that an internal representation of a view had no indication that hydration is completed and further detaching/attaching should work in a regular (non-hydration) mode. This commit adds a logic that resets a pointer to a dehydrated content and we use this as an indication that the view is swtiched to a regular mode. Resolves #53163. PR Close #53274
) When we re-assign the slot dependencies for the i18nExprs, we should move them down below the other ops that target their same slot. This keeps the behavior consistent with TDB PR Close #53300
I18n placeholders may contain spaces, this change updates the formatting logic to replace them with underscores in the output. PR Close #53300
…3300) ICUs may share a placeholder, and in that case they need special post-processing. This change adds logic to cover this possibility. In particular, we set the param to a special placeholder value and then pass an array containing the sub-message variables as a post-processing param. PR Close #53300
We previously had an assertion that every placeholder in the i18n AST had a corresponding param in the output. However, there are some cases such as interpolations nested inside ICUs where this assertion is not true. This change simply removes the asserion. PR Close #53300
It is possible for ICUs to be nested inside other ICUs. This change adjusts our ingestion logic to create extra interpolation ops for the nested ICUs during ingestion. PR Close #53300
Enables additional tests that pass after implementing the ICU logic. PR Close #53300
Adds better comments describing the case where we have multiple ICU sub-messages that share the same plaeholder. PR Close #53300
GulajavaMinistudio
merged commit Dec 4, 2023
daf7b1b
into
angular-indonesia:main
7 of 14 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information