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
..
Fixtures
iOS: emoji panel with on-device suggestions (Experiments › Emoji) ( #2051 )
2026-11-20 15:53:24 +00:00
AppleSpeechAssetReservationsTests.swift
iOS: speech model preparation that never answers fails with Try again ( #2372 )
2026-11-22 12:31:22 -05:00
AutocorrectEngineTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
CleanupTaggerTests.swift
iOS dictation: spoken numbers written in digits for every engine (Numbers as digits) ( #2414 )
2026-11-22 13:55:16 -05:00
CustomVocabularyTests.swift
iOS: Hex words files and Word replacements (behind Custom vocabulary) ( #2782 )
2026-11-24 18:58:06 -05:00
DictationControllerTests.swift
iOS: both speech models download on Wi-Fi, with Use mobile data ( #2846 )
2026-11-25 09:10:45 -05:00
DictationLanguageTests.swift
iOS: dictate Latin American Spanish with Latin America's model, and keep a picked variant when the keyboard switches ( #2193 )
2026-11-21 09:53:34 -05:00
DictationLearningTests.swift
iOS tests: the live words' hold cases stop depending on the Mac's uptime ( #2534 )
2026-11-23 11:40:53 -05:00
DictationSSOTTests.swift
iOS: no line without a reason from the keyboard's speech model state ( #2863 )
2026-11-25 15:16:33 -05:00
DictationStateMachineTests.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
DotScopeTests.swift
fix(ios): show recording only once audio starts flowing ( #2478 )
2026-11-22 21:59:22 -08:00
EmojiPanelLettersKeyTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
EmojiShortcodeTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
EmojiSuggesterTests.swift
iOS: "heart" offers ❤️ ; the whole-name rule moves into the emoji index ( #2465 )
2026-11-22 22:20:13 -05:00
FullKeyboardEngineTests+AdaptiveTouch.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
FullKeyboardEngineTests+Layouts.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
FullKeyboardEngineTests+Punctuation.swift
iOS keyboard: Svenska, Apple's Swedish keys and long presses, the iPhone's sv dictionary ( #2558 )
2026-11-24 18:20:36 -05:00
FullKeyboardEngineTests+Suggestions.swift
iOS keyboard: Open Hex as the last row of the Hex key menu ( #2791 )
2026-11-24 20:22:47 -05:00
FullKeyboardEngineTests+SwipeSpacing.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
FullKeyboardEngineTests+SwipeTyping.swift
iOS keyboard: Apple's key flicks on the docked iPad ( #2549 )
2026-11-24 17:48:58 -05:00
FullKeyboardEngineTests+TrackpadAndLanguages.swift
iOS keyboard: Slovenčina, on Czech's keys with Apple's Slovak long presses ( #2462 )
2026-11-24 18:21:24 -05:00
FullKeyboardEngineTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
GreeklishRomanizerTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
HangulComposerTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
HexKeyGestureTests.swift
iOS keyboard: Open Hex as the last row of the Hex key menu ( #2791 )
2026-11-24 20:22:47 -05:00
HexWordsSharedCasesTests.swift
iOS: Hex words files and Word replacements (behind Custom vocabulary) ( #2782 )
2026-11-24 18:58:06 -05:00
KeyboardBridgeTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
KeyboardClipboardTests.swift
iOS keyboard: a Passwords chip in login fields ( #2542 )
2026-11-24 17:48:47 -05:00
KeyboardDuoCoverTests.swift
ios: smaller key labels on the duo's cover screen ( #2346 )
2026-11-22 04:35:44 -05:00
KeyboardLayoutTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
KeyboardSwitchGuessTests.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
KeyboardThemeTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
LaggingField.swift
iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) ( #2339 )
2026-11-22 04:39:53 -05:00
LanguageLearningTests.swift
ios: learn each language separately (experiment) ( #2188 )
2026-11-21 09:00:58 -05:00
SettingsHierarchyTests.swift
iOS: tighten Settings information hierarchy, copy, and page split ( #2450 )
2026-11-22 18:35:27 -08:00
ShiftStateMachineTests.swift
iOS keyboard: Hex's own number pad for number fields ( #2541 )
2026-11-24 17:48:35 -05:00
SwipeDecoderTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
TranscriptCleanupTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
TwoLanguageMergeTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
TwoThumbSelectionTests.swift
iOS: call Settings' unfinished features Labs ( #2613 )
2026-11-24 23:36:26 -08:00
TypingGateReplayTests.swift
iOS keyboard: Polish autocorrects with Hex's own model, word list and capitals ( #2423 )
2026-11-22 14:45:55 -05:00
TypingLogTests.swift
iOS: hold the bar to dictate, Learn how I type on, a plain centred Paste, and typing logs off ( #2210 )
2026-11-21 12:11:58 -05:00
TypingReplayTests.swift
ios: swipe typing in more languages (off by default) ( #2428 )
2026-11-22 15:46:27 -05:00