hex/ios/HEXShared/FullKeyboard/View
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 146b9a5771 iOS keyboard: say a language is unavailable instead of "Download it in Hex"; bar labels in Chinese
Two follow-ups the coordinator asked for on this pull request.

- When Hex found that Apple has no speech model for the dictation
  language on this iPhone (KeyboardSpeechPreparation's hand-off: Speech
  lists nothing, or the language isn't on this iPhone with nothing to fall
  back to), a dictation tap said "Download <language> in Hex to dictate",
  which downloading can't fix. Hex now marks that case
  (LanguageSettings.keyboardLanguageUnavailable, beside keyboardNeedsHex),
  the keyboard's reason is .languageUnavailable, and the line says
  "<Language> isn't available on this iPhone yet" with only a ✕: no Open
  Hex, since Hex can't download it either. The keyboard's own failures to
  get a model it should have keep "Download <language> in Hex to dictate"
  with Open Hex. A strip notice with no button hides its chip.
- The dictation bar's Dictate, Set up and Set up Hex labels were plain
  strings, so the keyboard showed them in English on a Chinese iPhone. They
  are localized now (听写, 开始设置, 设置 Hex were already in the catalog).

Verified: DictationSSOTTests (new cases for the unavailable line and
reason), KeyboardBridgeTests, SpeechModelInstallTests and
DictationControllerTests pass on basebook's iOS 27.2 simulator (143 tests).
2026-11-24 09:48:19 -05:00
..
FullKeyboardView+Debug.swift iOS: group shared sources and split the full keyboard tests (#2448) 2026-11-22 18:18:35 -08:00
FullKeyboardView+Emoji.swift iOS: offer the emoji of the word being typed ("smile" → 😊) (#2461) 2026-11-22 22:05:22 -05:00
FullKeyboardView+FullAccess.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
FullKeyboardView+Recording.swift iOS keyboard: the recording transition moves to FullKeyboardView+Recording.swift (#2464) 2026-11-22 22:33:36 -05:00
FullKeyboardView+Selection.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
FullKeyboardView+Settings.swift iOS: group shared sources and split the full keyboard tests (#2448) 2026-11-22 18:18:35 -08:00
FullKeyboardView+Vocabulary.swift iOS: group shared sources and split the full keyboard tests (#2448) 2026-11-22 18:18:35 -08:00
FullKeyboardView.swift iOS keyboard: say a language is unavailable instead of "Download it in Hex"; bar labels in Chinese 2026-11-24 09:48:19 -05:00