hex/ios/HEXShared
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 7b819316d9
iOS keyboard: every point of the emoji panel takes touches, so a glide can be caught (#2547)
TestFlight build 147: "the animation in the emoji section is not cancelable.
So I have to wait for my swipe animation to happen completely before I can
swipe again." iOS hands a keyboard extension only the touches that land on
something its layers draw. The emoji panel and the search's results row are
clear, so a finger landing between two emoji, in the 3-6 pt between two rows
or beside a category icon never reached the keyboard at all (not even its
window): a glide went on to its end, a second fling did nothing, and a swipe
that started in a gap didn't scroll. Where the finger lands on an emoji it
always worked, which is why it felt random.

Both views now have an invisible fill (UIColor.keyboardTouchFill, 0.1% black)
under their clear look. Removed nothing. docs/keyboard.md says why.

Verified on the iOS 27.2 simulator, Studio load average 55-70, with a probe
build that switches the fill (probe in a scratch worktree only):
- iPhone 17 Pro, 12 flings each caught by a finger mid-glide: without the
  fill 4 of 12 flings scrolled at all (the rest started in a gap) and 1 of
  those 4 catches never reached the keyboard; with it 12 of 12 scrolled and
  12 of 12 were caught at once (0 pt further), the touch seen 2-16 ms late.
- iPhone 15 Pro, the same: 0 of 12 flings scrolled without the fill, 12 of
  12 scrolled and were caught with it (seen 3-18 ms late).
- A finger in a row gap mid-glide: 0 of 3 reached the keyboard before, 3 of 3
  caught after. A slow drag from a gap: did nothing (3 of 3) before, scrolled
  210 pt and back (3 of 3) after. Taps at rest in gaps: none seen before,
  all after.
- Apple's emoji keyboard and a bare UICollectionView in an app stop a glide
  at a touch in the same places.
- The panel looks the same: light and dark screenshots differ by at most
  2/255 on 38-85 of 1.4 million panel pixels (the glass's rounded edge).
- New case in EmojiPanelLettersKeyTests: every point 4 pt apart of the open
  panel and the results row draws; it fails without the fill (4,649 and 626
  points).
2026-11-23 12:45:02 -05:00
..
Formatting iOS: group shared sources and split the full keyboard tests (#2448) 2026-11-22 18:18:35 -08:00
FullKeyboard iOS keyboard: every point of the emoji panel takes touches, so a glide can be caught (#2547) 2026-11-23 12:45:02 -05:00
Romanizers iOS: group shared sources and split the full keyboard tests (#2448) 2026-11-22 18:18:35 -08:00
Spelling iOS: group shared sources and split the full keyboard tests (#2448) 2026-11-22 18:18:35 -08:00
TypingLog iOS: Apple's . key in web search fields (Safari's address bar) (#2460) 2026-11-22 21:58:46 -05:00
AppleIntelligenceCleanupSettings.swift
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: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05: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
DictationCorrections.swift
DictationEditInference.swift
DictationEditTracker.swift
DictationEngine.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
DictationLanguage.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
DictationLanguageSwitch.swift iOS: add a Greeklish experiment for Greek dictation (#2366) 2026-11-22 08:51:48 -05:00
DictationPipeline.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
DictationTranslation.swift
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
HexTheme.swift
HomeSwipeCue.swift
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 fix(ios): show recording only once audio starts flowing (#2478) 2026-11-22 21:59:22 -08:00
KeyboardCaptureWatch.swift refactor(ios): explicit state machines for dictation controller and in-keyboard dictation (#2499) 2026-11-22 23:30:31 -08:00
KeyboardParakeetPlan.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
KeyboardParakeetSettings.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
KeyboardSelfDictation.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08: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 keyboard: dictate in the keyboard while Hex's own speech model isn't installed (#2511) 2026-11-23 04:10:58 -05:00
KeyboardSurface.swift refactor(ios): unify dictation routing, engine identity, and Parakeet plan (#2491) 2026-11-22 22:59:41 -08:00
KeyboardSwitchGuess.swift
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 fix(ios): show recording only once audio starts flowing (#2478) 2026-11-22 21:59:22 -08: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: the multilingual model experiment never takes dictation away; its download says what it's doing and recovers (#2337) 2026-11-22 02:25:14 -05:00
SpeechModelInstall.swift iOS keyboard: a language picked by hand goes to Hex when the keyboard can't get its model (#2480) 2026-11-23 01:10:20 -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: two-language dictation experiment (#2348) 2026-11-22 04:58:27 -05:00
TwoLanguageMerge.swift iOS Two-language dictation: change language between words neither reading spans (#2533) 2026-11-23 11:40:58 -05:00
UserFacingError.swift
VoiceIsolationSettings.swift Labs: voice isolation for dictation on macOS and iOS (#2425) (#2429) 2026-11-22 17:00:41 -05:00