hex/ios/HEXShared/FullKeyboard
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 5b35eb98f5
iOS: Spatial autocorrect is on by default, under Settings › Keyboard (#2097)
Spatial autocorrect (#2059, tuned in #2091) cut English output word errors
from 10.4% to 6.5% and Spanish from 19.1% to 8.8%, so it graduates from
Experiments and is on for English and Spanish layouts by default. Other
layouts keep the dictionary engine in their own language, as before.

- Default: FullKeyboardSettings.spatialAutocorrect reads
  experiments.spatialAutocorrect as object-or-true (was bool(forKey:),
  unset meaning off). Only the Experiments switch ever wrote that key, and
  only on a change, so unset means never touched: testers who never set it
  get it on, those who turned it off (stored false) stay off, and those who
  turned it on stay on. No new key or migration marker is needed; the key
  keeps its old name, as experiments.fullKeyboard did.
- Settings › Keyboard: "Spatial autocorrect" now sits under Autocorrect,
  shown only while Autocorrect is on, with "Uses where you tap, in English
  and Spanish" (one line; zh-Hans added). Rebased onto #2093, so it sits
  above Suggest swear words; the never-suggest filter still applies to
  Spatial's readings.
- Settings › Experiments: the Spatial row and its two strings are removed
  ("Reads where your taps land…", "Needs the full keyboard with Autocorrect
  on"). Experiments still has Emoji and Clean up with Apple Intelligence,
  so its home row stays.
- The settings-<page> scene fixture writes spatialAutocorrect = true.
- README: where the switch lives, its default and the stored key's meaning.

Verified on an iPhone 17 simulator (iOS 27.2):
- xcodebuild test: 301 tests, 1 skipped (needs HEX_SPEECH_CLIPS), 0
  failures. One earlier full run had testAcceptedJobDeliversTranscript-
  EvenWhenWarmSessionCloses fail on timing; it passed 3/3 alone and in the
  next full run.
- Fresh install, real HEXKeyboard in a hosted field, App Group key unset:
  "ofthw" + space gave "Of the", and "fucj" gave "duck", not the swear word.
- Turned off through Settings › Keyboard: stored false, and after quitting,
  a simulator reboot and two relaunches "ofthw" stayed "Ofthw".
- Memory (Release, Full Access, 3 runs each, off vs on): no difference
  (keyboard phys_footprint 24.5-24.8 MB after open, 33-34 MB at the Hex
  key's touch-down, peak 42-46 MB in both). Since #2091 the model is
  memory-mapped at keyboard open for next-letter odds either way; the
  decoder only adds a struct over it and builds your words lazily.
2026-11-20 20:39:27 +00:00
..
Emoji iOS: emoji panel no longer blurs on a real keyboard; taps and holds behave (#2070) 2026-11-20 16:58:50 +00:00
AccentPicker.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00
AutocorrectEngine.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
DeleteWordSwipe.swift iOS: keep key haptics while dictating, and slide left on delete to delete words (#2080) 2026-11-20 17:55:51 +00:00
FullKeyboardEngine.swift iOS: taps land on the intended key more often, and Spatial autocorrect keeps lowercase names (#2091) 2026-11-20 20:08:59 +00:00
FullKeyboardPalette.swift iOS keyboard: follow the keyboard's live traits for light and dark, not the proxy's appearance (#2050) 2026-11-20 15:53:21 +00:00
FullKeyboardSettings.swift iOS: Spatial autocorrect is on by default, under Settings › Keyboard (#2097) 2026-11-20 20:39:27 +00:00
FullKeyboardView+Emoji.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardView.swift iOS: Spatial autocorrect is on by default, under Settings › Keyboard (#2097) 2026-11-20 20:39:27 +00:00
HexKeyGesture.swift iOS: the keyboard starts listening on touch-down, with its capture page ready when it opens (#2089) 2026-11-20 20:04:35 +00:00
HexKeyViews.swift iOS: the keyboard starts listening on touch-down, with its capture page ready when it opens (#2089) 2026-11-20 20:04:35 +00:00
KeyboardClipboard.swift Replace the keyboard's blank Paste control with a Paste chip (#2011) 2026-11-19 21:06:32 +00:00
KeyboardKeyPlaneView.swift iOS: taps land on the intended key more often, and Spatial autocorrect keeps lowercase names (#2091) 2026-11-20 20:08:59 +00:00
KeyboardLanguage.swift iOS keyboard: French is Apple's AZERTY; Canadian French stays QWERTY, Swiss French is QWERTZ (#2096) 2026-11-20 20:26:36 +00:00
KeyboardLayout.swift iOS: taps land on the intended key more often, and Spatial autocorrect keeps lowercase names (#2091) 2026-11-20 20:08:59 +00:00
KeyboardStripView.swift iOS: full keyboard by default, typing without Full Access, and a logging mark (#2067) 2026-11-20 16:41:37 +00:00
never-suggest.tsv iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
OffensiveWords.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
ShiftStateMachine.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
TypingDecoder.swift iOS: never suggest slurs, and swear words only when asked (#2093) 2026-11-20 20:17:31 +00:00
TypingJournal.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
TypingJournalLearning.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00