hex/ios/HEXKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 7c0ea2c33a iOS: Translate what I say prepares the pair the keyboard translates
Settings › Dictation › Translate what I say only offered Apple's language
packs through a button that showed while the page was open, for a pair it
built from Hex's own Automatic pick. Hex's Automatic follows Hex's language
when it is set apart from the iPhone's in iOS Settings, but the keyboard
keeps the iPhone's, so with Hex in English on a Chinese iPhone the row
checked English to the target while the keyboard translated Chinese, and
could say "Ready. Works offline." for a pair the keyboard never used.
Nothing asked for the packs when translation was turned on or a target was
picked. (TestFlight build 149, iPhone, iOS 27.2.1, zh-Hans: "Chinese can't
be turned into other languages; it works with the app in English". Not
reproduced: the simulator's translation reports every pair unsupported.)

- The row's source is now the language the keyboard dictates in:
  Settings › Dictation language, else the keyboard's language Automatic
  follows, else the keyboard's last dictation on Automatic, else the
  iPhone's first language Hex dictates (what the keyboard's Automatic
  picks), read from the iPhone's languages, not Hex's. The keyboard writes
  that last language as a code and a time only
  (experiments.translateDictation.keyboardAutomaticLanguage).
- Turning the switch on or picking a target in Settings checks the pair
  and shows Apple's download sheet when its packs aren't here. Opening the
  page never shows the sheet; it shows the state and the download button.
- "Ready" is said only for the pair Apple was asked about, and names it
  ("Chinese to English is ready. Works offline."); before Hex knows the
  spoken language it says to dictate once with the Hex keyboard. Replaced:
  "Ready. Works offline.", and the last failure's languages as the row's
  source (a failure is still shown, only for the pair it was).
- Debug simulator builds take -hexTranslationStatus to stand in for
  Apple's answer, for screenshots; it is compiled out of Release.

Verified: build-for-testing, code-shape --check, new cases in
TranslationPasteSwitchTests, full HEXMobileTests on the Mac Studio's iOS
27.2 simulator, and the row's states in English and Chinese with the
stand-in. Unverified (phone only): Apple's sheet from that page with Hex in
Chinese on iOS 27.2.1, packs downloaded in the app serving the keyboard's
process, and whether this was the tester's failure.
2026-11-24 10:09:09 -05:00
..
CleanupTagger iOS: clean up what I say with an on-device tagger (experiment) (#2023) 2026-11-20 01:29:41 +00:00
TypingModel iOS keyboard: Polish autocorrects with Hex's own model, word list and capitals (#2423) 2026-11-22 14:45:55 -05:00
AppleLiveTranscriber.swift iOS keyboard: Show what I say and Type as I speak (words while you dictate) (#2410) 2026-11-22 13:37:37 -05:00
ContainingAppOpener.swift
HEXKeyboard.entitlements
Info.plist iOS keyboard: Hex's input mode says mul, not en-US, so a French iPhone never takes it for English (#2441) 2026-11-22 18:55:02 -05:00
KeyboardInputView.swift iOS keyboard: stop leaking views, capture web views, and emoji indices across shows (#2352) 2026-11-22 06:45:38 -05:00
KeyboardLiveDictation.swift iOS Settings: Home refreshes again while it shows, Into field falls back to the words over the keys, the speech model card lands on its row, docs match (#2471) 2026-11-22 23:00:12 -05:00
KeyboardLiveTyping.swift iOS Settings: Home refreshes again while it shows, Into field falls back to the words over the keys, the speech model card lands on its row, docs match (#2471) 2026-11-22 23:00:12 -05:00
KeyboardLocalDictation.swift refactor(ios): simplify dictation capture phase, controller shims, and Parakeet wrappers\n\n- Slim KeyboardLocalCapturePhase to a read-only snapshot projection and remove its unused mutating state-machine helpers, StartupStage, ArmedFailure, ArmedReadiness, and KeepArmedOutcome\n- Remove duplicate DictationController.markModelReadyPreservingCapture(), unused keyboardSessionExpiresAt, and the redundant KeyboardJob enum wrapper in favor of String?\n- Point FullKeyboardView.offerModelNotice directly at KeyboardParakeetPlan.current().awaitsV2Download and delete legacy boolean-flattening shims (KeyboardParakeetNotice.modelAwaitsDownload, dictatesEnglish, and KeyboardParakeetDownload.hold(otherEngine:...))\n- Update DictationStateMachineTests, KeyboardBridgeTests, and DictationControllerTests to cover real snapshot projections, controller transitions, and KeyboardParakeetPlan (#2626) 2026-11-23 19:19:00 -08:00
KeyboardParakeet.swift iOS: Translate what I say prepares the pair the keyboard translates 2026-11-24 10:09:09 -05:00
KeyboardProbeLog.swift iOS keyboard: a notification no longer ends an in-keyboard dictation (#2472) 2026-11-23 00:04:17 -05:00
KeyboardSpeech.swift iOS keyboard: a notification no longer ends an in-keyboard dictation (#2472) 2026-11-23 00:04:17 -05:00
KeyboardViewController.swift iOS keyboard: keep a dictation the screen lock cut short (#2596) 2026-11-23 17:27:44 -05:00
KeyboardWebCapture.swift iOS keyboard: ✓ keeps the last words said before the tap (#2538) 2026-11-23 12:48:11 -05:00
ParakeetLiveTranscriber.swift iOS keyboard: Show what I say and Type as I speak (words while you dictate) (#2410) 2026-11-22 13:37:37 -05:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00