Skip to content

Bugfix FXIOS-15400 [Translation Phase 2] Action sheet UX improvements – bold title, smart placement, single-language auto-translate#33013

Draft
razvanlitianu wants to merge 4 commits intomainfrom
rlitianu/fxios-15330-translation-action-sheet-ux
Draft

Bugfix FXIOS-15400 [Translation Phase 2] Action sheet UX improvements – bold title, smart placement, single-language auto-translate#33013
razvanlitianu wants to merge 4 commits intomainfrom
rlitianu/fxios-15330-translation-action-sheet-ux

Conversation

@razvanlitianu
Copy link
Copy Markdown
Collaborator

@razvanlitianu razvanlitianu commented Apr 9, 2026

📜 Tickets

Jira ticket
Github issue

💡 Description

🎥 Demos

Before After
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

- Bold title using DefaultDynamicFontHelper for Dynamic Type support
- Remove popover arrow on iPad when anchored to toolbar button with up/down directions
- Skip view fallback source on iOS 26+ to let UIKit handle presentation
- Auto-translate directly when user has exactly one preferred language
UIKit only creates the title label when alert.title is non-nil,
so setValue(forKey: attributedTitle) had no effect without it.
…uage check

Aligns middleware with coordinator logic by using the same
TranslationConfiguration.isMultiLanguageFlow flag instead of
checking languages.count after filtering against supported languages.
@mobiletest-ci-bot
Copy link
Copy Markdown

Fails
🚫 Details needed! Your description section is empty. Adding a bit more context will make reviews smoother.
Messages
📖 Project coverage: 41.07%

🧹 Tidy commit

Just 2 file(s) touched. Thanks for keeping it clean and review-friendly!

🦊 BrowserViewController Check

We’re tracking the size of BrowserViewController.swift to keep it healthy.

  • ✨ Change in file size: +15 lines

✅ New file code coverage

No new file detected so code coverage gate wasn't ran.

Client.app: Coverage: 39.43

File Coverage
BrowserViewController.swift 34.26% ⚠️
TranslationsMiddleware.swift 95.5%

Generated by 🚫 Danger Swift against 707b8b6

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