hex/ios/HEXKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 6d9e1f76ca iOS: typing configs' regression notice: suggest going back, never switch (experiment)
Step 5 of the phone side (design §7), behind Settings › Experiments › Typing configs.

- Counts (HEXShared/TypingLog/TypingConfigHealth.swift): per config and for Hex defaults, words
  finished, autocorrections, undone, kept as typed, fixed by hand, suggestions picked, from
  two hooks in Learn how I type's journal (TypingJournal.didFinish and record); no words kept.
- Comparison: Apply records the config in use before it. "Seems worse" only with 400 words on
  each side, twice the trouble rate and at least 8 troubles. Best so far marks the lowest rate
  once two configs have 400 words.
- Telling the person, at most once per config and never after Go back, Keep this one or Turn
  typing configs off: the keyboard's bar notice (Open Hex, ✕ for good;
  FullKeyboardView+TypingConfigNotice, a few one-line hooks in FullKeyboardView), then a quiet
  notification from the keyboard a day later if the notice wasn't acted on, and a Home card.
  Settings › Keyboard › Typing configs gains Alerts (off: no bar notice, no notification) and
  Compare with the one before.
- The comparison sheet (hex-dictation://typing-configs/compare, from the notice, the
  notification or the card): each side's rate, words and counts; Go back, Keep this one, Turn
  typing configs off.
- Notification permission asked on the applied sheet, the first time a config is applied,
  with the reason and Hex's own buttons before the system's prompt.
- Start-up fallback (TypingConfigStartupGuard): the keyboard marks a start in viewDidLoad and
  clears it in viewDidAppear; after two starts that never came up it starts without the config,
  and the app goes back to the one before and says so on Home.
- Review wording no longer promises a tap: zones "count for the key more often", the next-letter
  guess "can still pick its neighbour"; each zone says how far its touch area reaches.
- Strings in English and Simplified Chinese; docs/typing-configs.md and the feature map.

Verified on the Studio (iOS 27.2): TypingLogTests 17 of 17 (the comparison rule, the start-up
guard); every state on iPhone 17 Pro and iPhone SE in English and 简体中文 with seeded counts
(420 words, 30 troubles against 460 and 12), a backdated bar notice and a seeded start mark;
the notification shown as a banner over Files and on the lock screen; code-shape.py --check.
2026-11-23 14:18:41 -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 Open Hex from the iPhone keyboard and show live keyboard setup (#599) 2026-10-31 09:56:02 -07:00
HEXKeyboard.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
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): explicit state machines for dictation controller and in-keyboard dictation (#2499) 2026-11-22 23:30:31 -08:00
KeyboardParakeet.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08: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: typing configs' regression notice: suggest going back, never switch (experiment) 2026-11-23 14:18:41 -05:00
KeyboardWebCapture.swift refactor(ios): explicit state machines for dictation controller and in-keyboard dictation (#2499) 2026-11-22 23:30:31 -08: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