Steps to replicate the issue (include links if applicable):
- On mobile, visit CX and select a section with a template to translate. The template must be adaptable to the target language -that's often the case for infoboxes inside lead sections.
- Proceed to the mobile editor. Click on the template to select it.
- Click on the 'Review and edit the translation' button inside the template translation card at the bottom.
- Edit the target template to add/remove/change some of its fields.
- Save your changes and go back to the "Pick a sentence" screen.
- Click the template that you just translated again, to select it.
What happens?:
The action buttons at the bottom of the screen as still the same "Previous", "Apply", "Skip" buttons, that are used for untranslated templates and sentences. That leads to issues:
- the "Skip" button should also log the "editor_segment_skip" event and only be used for untranslated segments. If it's just a navigation from translated segments, the "editor_segment_skip" event should not be logged.
- Even worse, when the user clicks on the "Apply" button -which can also be done accidentally-, all the edits in the target template are reset and the user's effort can be accidentally lost. I don't believe this is intentional here, as there is no design for this functionality, but even if we want to provide a "reset template" option, we should communicate it differently.
What should have happened instead?:
The action buttons below the translated template should be the same as for the translated sentences, as defined in T260128. These are the "Previous" and "Next" buttons.
Screenshot of the proposed action buttons:
Screencast of the problematic behaviour on el wiki:
Derived Requirement
When a user finishes editing a translated template in the Content Translation (CX) mobile editor, the action buttons displayed upon revisiting that template must reflect its translated state. Specifically:
- If the template has already been translated, only the "Previous" and "Next" buttons (as defined in T260128) should be shown — not "Apply" or "Skip".
- The "Skip" button must be reserved only for untranslated segments and must not be shown when revisiting already translated templates.
- The "Apply" button must not reset translated template fields unless explicitly intended by the user (via a clearly labeled reset action).
- The system must not log the editor_segment_skip event for already translated segments.
- Interaction with previously edited templates must be non-destructive, preserving user edits.
Test Steps
Test Case 1: The action buttons below the translated template should be the same as for the translated sentences
- On mobile, visit CX and select a section with a template to translate. The template must be adaptable to the target language -that's often the case for infoboxes inside lead sections.
- Proceed to the mobile editor. Click on the template to select it.
- Click on the 'Review and edit the translation' button inside the template translation card at the bottom.
- Edit the target template to add/remove/change some of its fields.
- Save your changes and go back to the "Pick a sentence" screen.
- Click the template that you just translated again, to select it.
- ✅❓❌⬜ AC1: Confirmed the action buttons below the translated template should be the same as for the translated sentences. These are the "Previous" and "Next" buttons.
QA Results - TestWiki
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | T396836#10952510 |

