hex/ios/HEXKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 4691ca9c53
iOS keyboard: Hex's own number pad for number fields (#2541)
A field that asks for a number pad (.numberPad, .asciiCapableNumberPad, .decimalPad; in
Safari inputmode="numeric" and "decimal") now gets Hex's own pad instead of its 123 page,
drawn on Apple's: 1-9, a blank corner, 0 and delete, the phone letters under 2-9, Apple's
columns to the point (402 pt iPhone 4.67/126.33/6/126.67/6/126.33/6; SE 4.5 + 3 x 117.5
with 6 pt gaps; turned 137.33 pt keys centred; Duo folded on the letters' edges with 7 pt
gaps; Duo unfolded upright in the split's right half, as Apple's), the decimal pad's
separator by region, no keycap on delete or the separator, no pop-up and no holds on a
press. Measured as a black box on the iOS 26.5 and 27.2 simulators (iPhone 17 Pro, SE,
Duo). Hex keeps its strip above the pad (Hex key, Paste, Code from Messages), so the pad
fills the letter keys' band and the keyboard keeps its height between fields; Apple's pad
has no bar. On a Home-button iPhone Hex's globe takes the blank corner.

Removed: the number pad hand-off (handOffNumericPadIfNeeded, handsOffNumberPad,
KeyboardFieldRoute.handOff). Where iOS asked Hex for a globe (Home-button iPhones, the Duo)
a number field used to switch to the next keyboard by itself; there is now a pad of Hex's
own, so nothing switches. The globe and Code from Messages stay the ways to Apple's
keyboard. iPads are unchanged (iOS shows its own number popover there). Phone pads and
secure fields never reach a third-party keyboard.

The pad is a field kind of its own that takes no words: no suggestions, autocorrect,
swipe, Learn how I type or Adaptive touch. The strip's Hex key is now built by one helper
(stripHexKey) shared with the key rows.

Verified: iOS suite on the Studio, 975 tests, 0 failures, 4 skipped; code-shape.py
--check passes; screenshots beside Apple's in a native host and Safari on iPhone 17 Pro
(27.2, 26.5), SE, Duo folded and unfolded, light and dark, and a recorded phone number.
2026-11-24 17:48:35 -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): 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
KeyboardParakeet.swift iOS Settings: Dictation › Model picks English or Multilingual for the keyboard (#2709) 2026-11-24 17:28:50 -05: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 keyboard: Hex's own number pad for number fields (#2541) 2026-11-24 17:48:35 -05:00
KeyboardWebCapture.swift iOS keyboard: ✓ keeps the last words said before the tap (#2538) 2026-11-23 12:48:11 -05: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