-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[GSoC'24] M1.3 - Modify translations frontend modal #20439
[GSoC'24] M1.3 - Modify translations frontend modal #20439
Conversation
…ons-frontend-modal
…ons-frontend-modal
Hi @Vir-8, can you complete the following:
|
Hi @Vir-8 please assign the required reviewer(s) for this PR. Thanks! |
…ons-frontend-modal
…ons-frontend-modal
Unassigning @kevintab95 since they have already approved the PR. |
Just one comment for @seanlip here #20439 (comment) (not a blocker and can be addressed in the next PR if required.) Thanks! |
Thanks @kevintab95, replied. @Vir-8 Can you please double-check that this looks right in RTL? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for dev workflow (3 codeowner files)
…ons-frontend-modal
* Create frontend modal with list of translations populated * Display language names appropriately * Stylize scrollbar and fix displaying rich text elements * Fix button styles * Handle populating draft translation changes appropriately * Add comments for clarity * Handle cases where translations have been removed and no translations are available * Handle logic for removing published as well as draft translations appropriately * Add frontend tests * Write acceptance tests * Fix lint errors and convert backend dicts appropriately * Fix merge conflict * Fix lint issue * Fix typescript issues * Fix merge issue * Fix frontend test failure * Fix acceptance testing, add feature flag utility * Fix merge issues * Fix lint issues * Fix typo * Make release coordinator page responsive and fix acceptance testing * Fix lint issues * Fix e2e test failing * Attempt to fix acceptance test * Remove acceptance test from CI * Add todo comment for acceptance testing * Address comments * Address comments * Fix lint issue
…ons-frontend-modal
* Create frontend modal with list of translations populated * Display language names appropriately * Stylize scrollbar and fix displaying rich text elements * Fix button styles * Handle populating draft translation changes appropriately * Add comments for clarity * Handle cases where translations have been removed and no translations are available * Handle logic for removing published as well as draft translations appropriately * Add frontend tests * Write acceptance tests * Fix lint errors and convert backend dicts appropriately * Fix merge conflict * Fix lint issue * Fix typescript issues * Fix merge issue * Fix frontend test failure * Fix acceptance testing, add feature flag utility * Fix merge issues * Fix lint issues * Fix typo * Make release coordinator page responsive and fix acceptance testing * Fix lint issues * Fix e2e test failing * Attempt to fix acceptance test * Remove acceptance test from CI * Add todo comment for acceptance testing * Address comments * Address comments * Fix lint issue
Overview
This PR fixes part of [Feature Request]: Make it easy for exploration editors to update translations if trivial changes are made. #18549.
This PR does the following: Creates the frontend modal for the exploration editor to modify the existing translations when they edit a piece of content that has already been translated. This modal is populated by the entire list of existing translations, including draft translations, and is completely up to date.
Write acceptance tests, including adding the utility for the release coordinator user of enabling a feature flag, since this modal is gated behind a feature flag, to verify if the translations are seen for each of the following cases -
Essential Checklist
Please follow the instructions for making a code change.
Proof that changes are correct
Note that the acceptance test spec has not been added to the CI yet since it is gated behind a feature flag in dev, and such feature flags cannot be enabled in prod mode.
frontend.demo.mov
Draft translations and removing existing translations -
frontend.demo.2.mov
Proof of changes on mobile phone
Screen.Recording.2024-06-14.at.4.57.47.AM.mov
PR Pointers