Skip to content
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

fix(ivy): don't project removed placeholders with runtime i18n #30783

Conversation

ocombe
Copy link
Contributor

@ocombe ocombe commented May 31, 2019

When translated content was projected, all of the content was reappended, even the placeholders that had been removed in the translation.
To avoid that we added a new flag on TNode that specifies that a node is detached, in which case it should be ignored by the projection.

Ignore the first 3 commits that belong to the PRs #30696 and #30782. It should only be merged after these two.

@ocombe ocombe added type: bug/fix state: blocked action: review The PR is still awaiting reviews from at least one requested reviewer target: major This PR is targeted for the next major release comp: ivy risk: low labels May 31, 2019
@ocombe ocombe requested review from a team as code owners May 31, 2019 15:39
@ngbot ngbot bot added this to the needsTriage milestone May 31, 2019
@ocombe ocombe changed the title Fix/ivy/fw 1319 i18n project removed nodes fix(ivy): don't project removed placeholders with runtime i18n May 31, 2019
@ocombe ocombe force-pushed the fix/ivy/fw-1319-i18n-project-removed-nodes branch from 5006e98 to 9ea1bc9 Compare June 3, 2019 14:17
@ocombe ocombe requested a review from a team as a code owner June 3, 2019 14:17
@ocombe ocombe force-pushed the fix/ivy/fw-1319-i18n-project-removed-nodes branch 6 times, most recently from 7985073 to 70feb6a Compare June 4, 2019 21:07
When translated content was projected, all of the content was reappended, even the placeholders that had been removed in the translation.
To avoid that we added a new flag on `TNode` that specifies that a node is detached, in which case it should be ignored by the projection.

FW-1319 #resolve
@ocombe ocombe force-pushed the fix/ivy/fw-1319-i18n-project-removed-nodes branch from 70feb6a to f121351 Compare June 5, 2019 18:47
@ocombe ocombe requested a review from mhevery June 5, 2019 18:48
Copy link
Member

@alxhub alxhub left a comment

Choose a reason for hiding this comment

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

👍 for compiler (no compiler changes anymore)

@ocombe ocombe added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 5, 2019
@mhevery mhevery closed this in 30efb6b Jun 6, 2019
@ocombe ocombe deleted the fix/ivy/fw-1319-i18n-project-removed-nodes branch June 10, 2019 13:36
@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 15, 2019
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 cla: yes risk: low target: major This PR is targeted for the next major release type: bug/fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants