hex/ios/HEXShared
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 2adaf75e52
iOS: no line without a reason from the keyboard's speech model state (#2863)
What: TestFlight build 153 on an iPhone 14 (6 GB) showed "The keyboard couldn't use it when
it last opened…", the line for a .unavailable without a reason. Only keyboards before
#2858 wrote that, and nothing cleared it: an open on 153 that decides not to load returned
before writing (a limit under 131 MB picks no model at all; a memory warning, in the view
controller or within reloadAfterWarning, returned silently), so the old state stayed for good.
Now:
- Hex forgets a .unavailable without a reason at launch
  (KeyboardParakeetSettings.forgetUnavailableWithoutReason), and the page reads one as
  "Downloaded. The keyboard gets it ready the next time it opens."; that line's own string
  is removed (with its zh-Hans) and the fixture scene for it;
- the keyboard writes the reason before the state, so a new keyboard's .unavailable is never
  seen without one, and clears it after any other state;
- after a memory warning the keyboard writes shortOfMemory instead of nothing
  (warmUp(memoryWarned:); the view controller no longer skips warmUp, which still loads
  nothing then);
- a model still loaded says ready again if Hex had cleared the state;
- every state the keyboard writes carries which model it is about (.preparing and
  .unavailable used to say English for the multilingual model too);
- a keyboard limit under 131 MB shows its own line even with the model downloaded (a
  download turned on by hand skips the hold), instead of whatever the keyboard last said.
Why: the first reason-carrying build showed a tester a line with no reason.
Verified: DictationSSOTTests (forgetting only reasonless states, the line for no reason, a
limit under 131 MB with the model downloaded); suite in a simbox, separately.
2026-11-25 15:16:33 -05:00
..
Formatting iOS: group shared sources and split the full keyboard tests (#2448) 2026-11-22 18:18:35 -08:00
FullKeyboard iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
HexWords iOS: Hex words files and Word replacements (behind Custom vocabulary) (#2782) 2026-11-24 18:58:06 -05:00
Romanizers iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
Spelling iOS: group shared sources and split the full keyboard tests (#2448) 2026-11-22 18:18:35 -08:00
TypingLog iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
AppleIntelligenceCleanupSettings.swift ios: optional Apple Intelligence transcript cleanup (experiment) (#1538) 2026-11-08 08:07:11 -05:00
AppleSpeechModule.swift iOS: a working dictation is never taken away by a guess, and no speech model check sits forever (#2371) 2026-11-22 08:56:10 -05:00
AppleSpeechTwoLanguage.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
AudioSessionControlling.swift iOS: a warm session dictates in the background on iOS 27 again, and a keyboard that opens Hex brings the warm default back (#2406) 2026-11-22 13:12:24 -05:00
CustomVocabularySettings.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationCorrections.swift iOS: Hex words files and Word replacements (behind Custom vocabulary) (#2782) 2026-11-24 18:58:06 -05:00
DictationEditInference.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEditTracker.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DictationEngine.swift iOS keyboard: nothing opens Hex unless the person taps Open Hex (#2707) 2026-11-24 17:27:40 -05:00
DictationLanguage.swift iOS dictation: Automatic follows the keyboard's language only with Switch dictation too (#2775) 2026-11-24 17:42:54 -05:00
DictationLanguageSwitch.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
DictationPipeline.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
DictationTranslation.swift iOS: Translate what I say asks for the language packs the keyboard needs (#2717) 2026-11-24 17:28:14 -05:00
DotScope.swift fix(ios): show recording only once audio starts flowing (#2478) 2026-11-22 21:59:22 -08:00
DotScopeShader.metal iOS: dictation strip motion (round 3) (#2457) 2026-11-22 18:42:34 -08:00
EmptyCapture.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
HexTheme.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
HomeSwipeCue.swift iOS: a tap after a swiped word starts the next word, and the Metal HUD stays off the home page (#2159) 2026-11-21 07:54:19 +00:00
InputModeListTouch.swift iOS keyboard: the dictation bar's globe opens the keyboard list where Apple's keyboard is split, so the host doesn't crash (#2417) 2026-11-22 14:13:11 -05:00
KeyboardBridge.swift iOS keyboard: Open Hex as the last row of the Hex key menu (#2791) 2026-11-24 20:22:47 -05:00
KeyboardCaptureWatch.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
KeyboardInterruptedRecording.swift iOS keyboard: keep a dictation the screen lock cut short (#2596) 2026-11-23 17:27:44 -05:00
KeyboardParakeetPlan.swift iOS Settings: Dictation › Model picks English or Multilingual for the keyboard (#2709) 2026-11-24 17:28:50 -05:00
KeyboardParakeetSettings.swift iOS: no line without a reason from the keyboard's speech model state (#2863) 2026-11-25 15:16:33 -05:00
KeyboardSelfDictation.swift iOS keyboard: nothing opens Hex unless the person taps Open Hex (#2707) 2026-11-24 17:27:40 -05:00
KeyboardsOnScreen.swift iOS keyboard: stop leaking views, capture web views, and emoji indices across shows (#2352) 2026-11-22 06:45:38 -05:00
KeyboardSurface+ViewModel.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
KeyboardSurface.swift iOS keyboard: nothing opens Hex unless the person taps Open Hex (#2707) 2026-11-24 17:27:40 -05:00
KeyboardSwitchGuess.swift iOS: the dictation bar can start dictating by itself (Auto-start: never, on switch, always) (#2267) 2026-11-21 17:08:50 -05:00
LiveDictation.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
LiveDictationPreview.swift iOS keyboard: Key colors (was Keyboard themes): themes colour the keys, not the background (#2778) 2026-11-24 18:29:19 -05:00
LiveFieldTyping.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
LiveWordsView.swift iOS keyboard: smoother, calmer motion for the live dictation preview (#2424) 2026-11-22 14:49:09 -05:00
MicrophoneChoice.swift iOS: plainer interface wording (copy pass) (#2345) 2026-11-22 03:45:00 -05:00
MultilingualParakeetSettings.swift iOS Settings: Dictation › Model picks English or Multilingual for the keyboard (#2709) 2026-11-24 17:28:50 -05:00
SpeechModelInstall.swift iOS keyboard: nothing opens Hex unless the person taps Open Hex (#2707) 2026-11-24 17:27:40 -05:00
SpeechModelStore.swift iOS: Home card for Hex's own speech model, and Speech model in keyboard moves to Settings › Dictation (#2437) 2026-11-22 18:03:28 -05:00
SpeechModelUnresponsive.swift iOS: speech model preparation that never answers fails with Try again (#2372) 2026-11-22 12:31:22 -05:00
TwoLanguageDictationSettings.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
TwoLanguageMerge.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00
UserFacingError.swift iOS: fewer paste prompts, and a translate switch in the keyboard (#2134) 2026-11-21 03:24:58 +00:00
VoiceIsolationSettings.swift iOS: call Settings' unfinished features Labs (#2613) 2026-11-24 23:36:26 -08:00