hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel df65c24db2 iOS keyboard: Code from Messages opens the keyboard list where the next keyboard could be Emoji
Follow-up to the previous commit, at the coordinator's request: hiding the chip in text-style
code fields whenever Emoji or another third-party keyboard is on took it away from almost
everyone (Emoji is on by default) with no pointer to where codes come from.

Change:
- Where advanceToNextInputMode could land elsewhere (Emoji or another third-party keyboard on,
  field not a number pad), the chip stays and a tap opens iOS's own keyboard list, where the
  person picks Apple's keyboard. Replaced: the previous commit's hiding of the chip there.
  KeyboardInputModes.route gives .next or .list (nil without Apple's keyboard);
  KeyboardClipboardOffer.code gains opensList (default false).
- The chip's touches go to handleInputModeList(from:with:) as the globe's do, through the
  globe's own path (FullKeyboardView.inputModeListTouch, split out of globeTouch unchanged): the
  lift of a touch that stayed on the chip is held back, so UIKit's 0.2 s hold opens the list
  (as the globe does on the Duo's split posture, #2340). A hold shows it under the finger, and
  a slide onto a keyboard picks it on lift. The chip's .touchUpInside does nothing in that mode.
- Number pads and lists with only Apple's keyboards besides Hex keep the direct switch.
- Accessibility hint in list mode: "Shows your keyboards: pick Apple's, where iOS offers codes
  from Messages and Mail" (zh-Hans added). The direct mode keeps its hint.
- showsPasteChip matches .code(canPaste: false, _) so the list mode doesn't show Paste.

Verified (iPhone 15 Pro simulator, iOS 27.2, real touches; Apple's keyboard told apart through
its keys in the accessibility tree):
- List mode, a pick of English (US) from the list: 55 of 56 picks landed on Apple's keyboard
  across English + Emoji + Hex, Hex + Emoji + English, Hex + another third-party + English and
  English + Hex + another third-party; Safari one-time-code and a .oneTimeCode field with
  autocorrection off; upright and turned; beside Paste; Full Access on and off; tap, hold and
  slide-and-lift. The one miss ended on Hex with the list gone; once, the direct switch did
  the same (shown on Apple's keyboard, then Hex again half a second later), so it isn't
  specific to the list.
- Direct mode unchanged: number pads in every list and English + Hex reach Apple's keyboard
  with no list.
- On the head rebased onto #2386 (Paste alone takes the whole bar): 5 more list picks and 2
  number-pad switches reach Apple's keyboard, and Paste beside the chip still pastes.
- xcodebuild test on that head: 858 tests, 3 skipped, 0 failures, including
  testCodeFromMessagesOpensTheListWhereTheSwitchCouldMissApplesKeyboard. code-shape.py passes.
- Not verified: VoiceOver with the list mode, a real phone, and whether Apple's keyboard then
  shows the code (a simulator gets no texts).
2026-11-22 11:58:27 -05:00
..
Emoji iOS keyboard: stop leaking views, capture web views, and emoji indices across shows (#2352) 2026-11-22 06:45:38 -05:00
AccentPicker.swift iOS keyboard: add a keyboard themes experiment (#2365) 2026-11-22 08:24:11 -05:00
AdaptiveTouch.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
AdaptiveTouchLabels.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
AutocorrectEngine+Accents.swift iOS: the next word gives the word before its language's accents (#2231) 2026-11-21 14:35:35 -05:00
AutocorrectEngine+Dictionaries.swift iOS keyboard: Canadian and Swiss French get Apple's apostrophe key ending row 2 (#2356) 2026-11-22 05:36:52 -05:00
AutocorrectEngine+Distance.swift iOS: Hungarian keyboard with accent restoration and bilingual autocorrect (#2355) 2026-11-22 07:10:56 -05:00
AutocorrectEngine+Vocabulary.swift iOS: words mid-sentence stay lowercase unless you capitalized them (#2218) 2026-11-21 14:35:10 -05:00
AutocorrectEngine.swift iOS: Hungarian keyboard with accent restoration and bilingual autocorrect (#2355) 2026-11-22 07:10:56 -05:00
CzechTyping.swift iOS keyboard: Canadian and Swiss French get Apple's apostrophe key ending row 2 (#2356) 2026-11-22 05:36:52 -05:00
DeleteWordSwipe.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
DictationUndo.swift iOS: Undo dictation works after the cursor moves, and goes when it can't (#2240) 2026-11-21 15:15:23 -05:00
FullKeyboardEngine+Field.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -05:00
FullKeyboardEngine+Hangul.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
FullKeyboardEngine+HostText.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
FullKeyboardEngine+Keys.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
FullKeyboardEngine+Revert.swift iOS: avoid double spaces when editing a word mid-sentence (#2214) 2026-11-21 12:43:26 -05:00
FullKeyboardEngine+Selection.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
FullKeyboardEngine+SmartSpace.swift iOS keyboard: a late host echo keeps the swipe's pending space (#2273) 2026-11-21 19:14:42 -05:00
FullKeyboardEngine+SwipeTyping.swift iOS keyboard: a late host echo keeps the swipe's pending space (#2273) 2026-11-21 19:14:42 -05:00
FullKeyboardEngine+Trackpad.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
FullKeyboardEngine.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
FullKeyboardPalette.swift iOS keyboard: add a keyboard themes experiment (#2365) 2026-11-22 08:24:11 -05:00
FullKeyboardSettings.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
FullKeyboardTouch.swift iOS: a quick space tap that drifts still types a space, and space keeps its place in a rollover (#2233) 2026-11-21 14:36:17 -05:00
FullKeyboardView+Debug.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
FullKeyboardView+Emoji.swift iOS keyboard: stop leaking views, capture web views, and emoji indices across shows (#2352) 2026-11-22 06:45:38 -05:00
FullKeyboardView+FullAccess.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
FullKeyboardView+Selection.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -05:00
FullKeyboardView+Settings.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
FullKeyboardView+Vocabulary.swift iOS: Czech keyboard, and custom words for typing (#2205) 2026-11-21 10:37:55 -05:00
FullKeyboardView.swift iOS keyboard: Code from Messages opens the keyboard list where the next keyboard could be Emoji 2026-11-22 11:58:27 -05:00
GermanCapitals.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
GreekTyping.swift iOS keyboard: a late host echo keeps the swipe's pending space (#2273) 2026-11-21 19:14:42 -05:00
HangulComposer.swift iOS keyboard: Korean two-set (두벌식) layout with Hangul composition (experiment, off by default) (#2339) 2026-11-22 04:39:53 -05:00
HexKeyGesture.swift
HexKeyViews.swift iOS keyboard: remove the "Logging" mark; Record typing logs is only the switch (#2382) 2026-11-22 10:50:35 -05:00
KeyboardBackdropView.swift iOS keyboard: add a keyboard themes experiment (#2365) 2026-11-22 08:24:11 -05:00
KeyboardClipboard.swift iOS keyboard: Code from Messages opens the keyboard list where the next keyboard could be Emoji 2026-11-22 11:58:27 -05:00
KeyboardKeyPlaneView.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
KeyboardLanguage.swift iOS: Hungarian keyboard with accent restoration and bilingual autocorrect (#2355) 2026-11-22 07:10:56 -05:00
KeyboardLaunchWork.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
KeyboardLayout.swift iOS keyboard: the four rows share Apple's 4 pt below the view; the gap above row 4 is row 4's (#2379) 2026-11-22 10:21:30 -05:00
KeyboardPadRows.swift iOS keyboard: Canadian and Swiss French get Apple's apostrophe key ending row 2 (#2356) 2026-11-22 05:36:52 -05:00
KeyboardStripView.swift iOS keyboard: Code from Messages opens the keyboard list where the next keyboard could be Emoji 2026-11-22 11:58:27 -05:00
KeyboardTheme.swift iOS keyboard: add a keyboard themes experiment (#2365) 2026-11-22 08:24:11 -05:00
LanguageLearning.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00
never-suggest.tsv
OffensiveWords.swift
ReturnKeyStyle.swift iOS: Return follows the app's return key type, and the dictation bar's does too (#2200) 2026-11-21 09:54:57 -05:00
ShiftStateMachine.swift ios: add Dvorak punctuation keys experiment (#2373) 2026-11-22 09:31:25 -05:00
SmartPunctuation.swift iOS keyboard: a late host echo keeps the swipe's pending space (#2273) 2026-11-21 19:14:42 -05:00
SwipeDecoder.swift iOS: swipe reads the letters under the path, and the emoji bar scrubs (#2189) 2026-11-21 08:47:45 -05:00
SwipeTyping.swift iOS keyboard: no space before a swiped word right after an attachment (U+FFFC) (#2383) 2026-11-22 11:22:19 -05:00
TextChecking.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
TrackpadCursor.swift iOS: the space-bar trackpad moves like Apple's (#2219) 2026-11-21 13:23:46 -05:00
TrackpadSelection.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -05:00
TrackpadSelectionStrip.swift iOS: two-thumb selection on the space bar (experiment, off by default) (#2265) 2026-11-21 20:44:15 -05:00
TypingDecoder.swift ios keyboard: read a missed space with a slip, and run-together words (#2244) 2026-11-21 16:15:02 -05:00
TypingJournal.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
TypingJournalLearning.swift ios: learn each language separately (experiment) (#2188) 2026-11-21 09:00:58 -05:00