hex/ios/HEXMobile
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 83717ce6a2
iOS: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180)
* iOS: remove and add dictation languages right in the keyboard

A TestFlight tester (build 56, iPhone 17 Pro, iOS 26.7.2) couldn't take a
recognition language off the keyboard's switch, and a new one only showed up
after picking it in Hex.

- A long press on a language (a dictation bar chip, or a row on the Hex key
  menu's Language page) shows Remove. Removing takes it out of the recents and
  keeps it off while it is one of the iPhone's own languages
  (settings.dictationLanguage.removed); the one set goes back to Automatic.
  Picking it again brings it back.
- Settings › Dictation language has Remove from keyboard for the same list.
- More languages… lists every other language Apple Speech has, the iPhone's
  preferred ones (and their other regions) first, then the rest by name.
  Picking one adds it. In the dictation bar the list takes the keys' place;
  on the Hex key menu it is a scrolling page.
- The switch now shows while More languages has anything, so removing every
  language never hides the way to add one back.
- Automatic is unchanged and still follows the keyboard's language (#2164).
- zh-Hans for Auto, More languages…, Remove and Remove from keyboard.

DictationLanguageSwitch.choices takes a removed list (the one set always
shows); LanguageSettings.keyboardLanguageChoices builds the list for the
keyboard and Settings alike.

Verified: xcodebuild test on an iPhone 17 Pro simulator (iOS 26.4), 517 tests,
0 failures, including two new cases in KeyboardBridgeTests. Live in the
simulator's real HEXKeyboard with AXe: removed and added languages from the
dictation bar, the full keyboard's Hex key menu and Settings, checking the App
Group each time; snapshot scenes in English and Chinese, light and dark.

* iOS: the dictation bar's space bar moves the cursor

A TestFlight tester (build 56) found that long-pressing space on the
Dictation bar keyboard couldn't drag the cursor, as the full keyboard's and
Apple's can.

The bar's space key (KeyboardSurface's TrackpadSpaceKey, replacing its
Button) is now the full keyboard's trackpad, with FullKeyboardEngine's own
constants: a hold of trackpadHoldDelay (0.35 s since #2178) or a slide of
trackpadActivationDistance (10 pt) starts it, and each
trackpadPointsPerCharacter (7.5 pt) moves the cursor a character through
adjustTextPosition, with a selection haptic per step (Settings › Keyboard ›
Haptics, Full Access) and a "cursor" typing-log line. The bar's glyphs blank
while it slides, as the full keyboard's do: a 0.12 s fade, at once under
Reduce Motion. Letting go of a trackpad types nothing; a tap still types a
space, and a cancelled touch types nothing. VoiceOver still activates it as a
button that types a space.

Verified: xcodebuild test on an iPhone 17 Pro simulator (iOS 26.4), all
passing. Live in the simulator's HEXKeyboard with AXe on "Running 10 min
late, ": a tap typed a space; a slide moved the cursor left (a comma then
landed after "min") with no space typed; a 0.9 s hold then a slide moved it
right; the screenshot mid-slide shows the blank keys.
2026-11-21 07:40:24 -05:00
..
Assets.xcassets iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
zh-Hans.lproj iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AcknowledgementsView.swift iOS: German autocorrect capitalises common nouns (haus, auto, zeit) (#2169) 2026-11-21 05:30:03 -05:00
AppleSpeechTranscriber.swift iOS: never ask for Speech Recognition, and slides from 123 show the key preview (#2109) 2026-11-20 23:04:26 +00:00
AppShortcuts.xcstrings iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
AudioBackend.swift iOS: dictation picks the car's mic in CarPlay, and a warm session never holds call audio (#2179) 2026-11-21 07:21:46 -05:00
ContentView.swift iOS: translation says when it pastes as spoken, retries, and never turns itself off (#2176) 2026-11-21 06:33:37 -05:00
CustomVocabularyEditor.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
DictationController+LaunchFixtures.swift iOS: split DictationController so dev passes the size check (#2066) 2026-11-20 11:42:45 -05:00
DictationController.swift iOS: dictation picks the car's mic in CarPlay, and a warm session never holds call audio (#2179) 2026-11-21 07:21:46 -05:00
EmojiSemanticIndex.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardSnapshotStage.swift iOS: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180) 2026-11-21 07:40:24 -05:00
HexIntents.swift feat(ios): polish iPhone keyboard dictation, warm sessions, and Live Activity (#574) 2026-10-30 23:35:45 -07:00
HexLinks.swift iOS: privacy and support links in the app, Continue before the mic prompt, typing logs consent (#2063) 2026-11-20 16:23:37 +00:00
HEXMobile.entitlements Set up Hex Mobile internal TestFlight releases (#1997) 2026-11-19 11:48:49 -05:00
HEXMobileApp.swift iOS: translation says when it pastes as spoken, retries, and never turns itself off (#2176) 2026-11-21 06:33:37 -05:00
Info.plist iOS: plain permission prompts and no pre-prompt Allow button, for App Review (#2058) 2026-11-20 16:13:36 +00:00
KeyboardPreviewHost.swift iOS: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180) 2026-11-21 07:40:24 -05:00
KeyboardSetup.swift iOS: Full Access confirms on its own, and shows Off after a revoke (#2154) 2026-11-21 07:25:50 +00:00
KeyboardSpeechPreparation.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
LanguageSettingsRows.swift iOS: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180) 2026-11-21 07:40:24 -05:00
LiveActivityCoordinator.swift iOS: fix six TestFlight tester issues (audio error, leaked error text, Live Activity, haptics, capitals, push to talk) (#2035) 2026-11-20 13:21:16 +00:00
Localizable.xcstrings iOS: remove and add dictation languages from the keyboard, and a space-bar cursor on the Dictation bar (#2180) 2026-11-21 07:40:24 -05:00
Onboarding.swift iOS: model preparation loads once, keeps moving, and survives the background (#2171) 2026-11-21 10:39:38 +00:00
OnboardingPieces.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
OnboardingProgress.swift iOS: onboarding follows the desktop flow (#2136) 2026-11-21 03:27:38 +00:00
ParakeetTranscriber.swift iOS: model preparation loads once, keeps moving, and survives the background (#2171) 2026-11-21 10:39:38 +00:00
PrivacyInfo.xcprivacy iOS: version 1.0, iPhone only, privacy manifests (#2052) 2026-11-20 15:54:01 +00:00
SettingsComponents.swift iOS: choose QWERTY, QWERTZ, AZERTY or Dvorak per keyboard language (#2172) 2026-11-21 10:41:12 +00:00
SettingsPages.swift iOS: dictation picks the car's mic in CarPlay, and a warm session never holds call audio (#2179) 2026-11-21 07:21:46 -05:00
TranscriptCleanup.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00
TranslateDictationRow.swift iOS: translation says when it pastes as spoken, retries, and never turns itself off (#2176) 2026-11-21 06:33:37 -05:00
TypingInsightsView.swift iOS: Adaptive touch, personal key centres learned on device (Experiment, off by default) (#2146) 2026-11-21 06:13:04 +00:00
TypingLogsView.swift iOS: Simplified Chinese interface for the app, widgets and permission prompts (#2083) 2026-11-20 18:15:44 +00:00