hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 937fead01e iOS: the setup sheet's Speech model row shows only the language; home says Dictate after a microphone failure
What changed
- Setup sheet › Speech model, once ready, shows the language it transcribes ("English",
  "英语") instead of "English · Parakeet V2" or "English · Apple". The engine name is gone
  from the row; the language is still Locale's own name, so Simplified Chinese stays in step.
- Home's button: DictationController.primaryActionPreparesModel decides between Set up and
  Dictate. A failure with the speech model still ready (a microphone that didn't start, a
  recording iOS stopped, a transcription that failed) now shows Dictate with the microphone
  icon, and a tap records instead of calling prepareModel() to load the model again. A
  failure that left no model ready, and no model yet, still show Set up. Replaced: every
  .failed phase used to mean Set up.

Why
- The copy rules give the speech model one name and never show Parakeet V2 or Apple Speech
  in a status row.
- After a microphone failure home read "Ready" beside a "↓ Set up" button. It happens on an
  iPhone, not only in the simulator: startRecording's beginCapture throwing (another app
  holding the microphone, a call), a capture iOS ends ("Recording stopped.") or a failed
  transcription all set .failed while isModelReady stays true, so setup counts no steps left.

Verified
- New case in DictationControllerTests: Set up before a model, Dictate after a microphone
  failure with the model ready, the next tap records, a failure without a model still sets up.
- Simulator before/after pictures of the setup sheet (English, Simplified Chinese) and home
  after the simulator's microphone failure.
- scripts/code-shape.py passes; xcodebuild test on a fresh iPhone 17 Pro simulator (iOS 27.2).
2026-11-22 12:33:32 -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 keyboard: a word of your own in capitals is offered, never put in for a lowercase one; "i'm" takes its capital (#2391) 2026-11-22 12:05:06 -05:00
CleanupTaggerTests.swift iOS keyboard: stale microphone errors clear, Hex key audio calls leave the main thread, counts read 1, 2, 3 (#2203) 2026-11-21 10:08:42 -05:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: the setup sheet's Speech model row shows only the language; home says Dictate after a microphone failure 2026-11-22 12:33:32 -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: 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
DotScopeTests.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmojiPanelLettersKeyTests.swift iOS dictation: no spaces or stray full stops around Chinese and Japanese; the bar's emoji panel says Back (#2347) 2026-11-22 03:47:53 -05:00
EmojiSuggesterTests.swift iOS keyboard: stop leaking views, capture web views, and emoji indices across shows (#2352) 2026-11-22 06:45:38 -05:00
FullKeyboardEngineTests.swift iOS keyboard: Experiments › Comma and period keys beside the space bar (#2392) 2026-11-22 12:11:21 -05:00
GreeklishRomanizerTests.swift iOS: add a Greeklish experiment for Greek dictation (#2366) 2026-11-22 08:51:48 -05:00
HangulComposerTests.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
HexKeyGestureTests.swift iOS keyboard: Paste alone takes a tap anywhere on the bar (#2386) 2026-11-22 11:36:18 -05:00
KeyboardBridgeTests.swift iOS: Speech model in keyboard on by default for English, downloaded only where the keyboard can use it (#2390) 2026-11-22 12:18:29 -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 keyboard: the gap above row 4 is the space bar's only over the space bar (#2395) 2026-11-22 12:24:54 -05: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 keyboard: add a keyboard themes experiment (#2365) 2026-11-22 08:24:11 -05: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
ShiftStateMachineTests.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
SwipeDecoderTests.swift iOS: swipe reads the letters under the path, and the emoji bar scrubs (#2189) 2026-11-21 08:47:45 -05:00
TranscriptCleanupTests.swift iOS dictation: no spaces or stray full stops around Chinese and Japanese; the bar's emoji panel says Back (#2347) 2026-11-22 03:47:53 -05:00
TwoLanguageMergeTests.swift iOS: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05:00
TwoThumbSelectionTests.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -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 keyboard: the typing replay reports all-words accuracy, contractions and taps read as swipes (#2287) 2026-11-21 20:32:00 -05:00