Skip to content

Refactor FXIOS-15257 [Translations Phase 2] Split language edit mode into a dedicated screen#33086

Open
razvanlitianu wants to merge 1 commit intomainfrom
rlitianu/translations-settings-language-edit-v2
Open

Refactor FXIOS-15257 [Translations Phase 2] Split language edit mode into a dedicated screen#33086
razvanlitianu wants to merge 1 commit intomainfrom
rlitianu/translations-settings-language-edit-v2

Conversation

@razvanlitianu
Copy link
Copy Markdown
Collaborator

@razvanlitianu razvanlitianu commented Apr 15, 2026

📜 Tickets

Jira ticket
Github issue

💡 Description

Move language reordering and deletion out of the inline edit mode on the Translation Settings screen and into a new TranslationLanguageEditViewController pushed onto the navigation stack. Edit state is now fully local to the edit screen; Redux state is updated only when the user taps Done. Also adds an unsupported-device-language disabled row for devices whose language has no translation model available.

🎥 Demos

Before After
IMG_0368 IMG_0367 IMG_0366
Demo

📝 Checklist

  • I filled in the ticket numbers and a description of my work
  • I updated the PR name to follow our PR naming guidelines
  • I ensured unit tests pass and wrote tests for new code
  • If working on UI, I checked and implemented accessibility (Dynamic Text and VoiceOver)
  • If adding telemetry, I read the data stewardship requirements and will request a data review
  • If adding or modifying strings, I read the guidelines and will request a string review from l10n
  • If needed, I updated documentation and added comments to complex code

@mobiletest-ci-bot
Copy link
Copy Markdown

mobiletest-ci-bot commented Apr 15, 2026

Messages
📖 Project coverage: 41.01%

💪 Quality guardian

3 tests files modified. You're a champion of test coverage! 🚀

🧩 Neat Piece

This PR changes 778 lines. It's a substantial update,
but still review-friendly if there’s a clear description. Thanks for keeping things moving! 🚀

💬 Description craftsman

Great PR description! Reviewers salute you 🫡

✅ New file code coverage

All new files meet their thresholds**.

Client.app: Coverage: 39.43

File Coverage
TranslationLanguageEditViewController.swift 68.32%
TranslationPickerSettingsViewController.swift 58.51%
TranslationSettingsAction.swift 100.0%
TranslationSettingsDiffableDataSource.swift 66.28%
SettingsCoordinator.swift 80.0%
TranslationSettingsState.swift 77.0%

Generated by 🚫 Danger Swift against b8f4eb7

@razvanlitianu razvanlitianu force-pushed the rlitianu/translations-settings-language-edit-v2 branch 5 times, most recently from a9aed08 to 53335a5 Compare April 15, 2026 07:59
@razvanlitianu razvanlitianu force-pushed the rlitianu/translations-settings-language-edit-v2 branch from 53335a5 to d98bf37 Compare April 15, 2026 08:33
…into a dedicated screen

Move language reordering and deletion out of the inline edit mode on the
Translation Settings screen and into a new TranslationLanguageEditViewController
pushed onto the navigation stack. Edit state is now fully local to the edit
screen; Redux state is updated only when the user taps Done.
@razvanlitianu razvanlitianu force-pushed the rlitianu/translations-settings-language-edit-v2 branch from d98bf37 to b8f4eb7 Compare April 15, 2026 08:49
@razvanlitianu razvanlitianu marked this pull request as ready for review April 15, 2026 09:06
@razvanlitianu razvanlitianu requested a review from a team as a code owner April 15, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants