hex/ios/HEXMobileTests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 24918c69fa
iOS: Ukrainian keyboard layout (#2128)
* iOS: Ukrainian full-keyboard layout

A TestFlight tester asked for Ukrainian. Adds KeyboardLanguage.ukrainian
("uk", Українська). It matches the standard Ukrainian layout (ЙЦУКЕН,
ДСТУ 4862:2007) and the system keyboard's observed long-press options: the
iOS 27.2 simulator's own Ukrainian keyboard, read through accessibility and
by holding each key, shows 12, 12 and 10 keys (йцукенгшщзхї / фівапролджєʼ /
ячсмитьбюґ), ʼ being U+02BC, the apostrophe Ukrainian spells with. The
existing geometry already fits twelve columns: shift and delete come out one
letter wide.

Held keys: only ʼ offers anything there (the other apostrophes ' ’ ‘ and the
backtick); ґ, ї and є have keys of their own, and no other letter has
long-press options. The system keyboard's currency key shows ₴, so Hex holds
₴ second on $ (its numbers page stays English's in every language). No ы, э,
ъ or ё.

Autocorrect uses iOS's uk dictionary through the dictionary engine, as Russian
does: no typing model, no bilingual partner (Cyrillic), no two-letter list.
uk/uk-UA picks the layout automatically and Switch dictation too dictates
uk-UA. Neighbouring-key costs use the twelve-key rows' real offsets.
Snapshot scenes take --keyboard-layout uk. Russian and every other layout
are unchanged.

Verified: KeyboardLayoutTests, FullKeyboardEngineTests and
AutocorrectEngineTests pass on an iPhone 17 Pro simulator (iOS 27.2),
including new Ukrainian cases (rows, widths 320-956 pt, held keys, automatic
pick, switching and typing сімʼяґї’). The simulator's uk_UA checker flags no
word and offers no guess, so typo fixes are unverified there.

* iOS: cover Ukrainian dictation and its cleanup

Ukrainian dictation already worked through Apple Speech: macOS 27.2 lists
uk-UA for DictationTranscriber only (not SpeechTranscriber), and a
say -v Lesya clip came back word for word in Cyrillic without punctuation.
Parakeet is English-only, so uk-UA always goes to Apple Speech. No code
change was needed; this records it.

Tests: SpeechLanguagePickerTests picks uk-UA from DictationTranscriber,
chosen by hand and by a Ukrainian iPhone's Automatic. TranscriptCleanupTests
check Polished (capital, final stop), Casual (lowercase starts, Cyrillic і
untouched by English's "i" rule), Verbatim, and Lowercase lowering Ґ Є Ї.
README notes the macOS run under Dictation languages.

Verified: SpeechLanguagePickerTests and TranscriptCleanupTests pass on an
iPhone 17 Pro simulator (iOS 27.2).
2026-11-21 02:30:15 +00:00
..
Fixtures iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
AutocorrectEngineTests.swift iOS: Ukrainian keyboard layout (#2128) 2026-11-21 02:30:15 +00:00
CleanupTaggerTests.swift iOS: Italian, French and Portuguese layouts that autocorrect in their own language; spoken @ and email addresses (#2069) 2026-11-20 16:43:10 +00:00
CustomVocabularyTests.swift ios: custom vocabulary experiment (#1547) 2026-11-08 12:15:00 -05:00
DictationControllerTests.swift iOS: Ukrainian keyboard layout (#2128) 2026-11-21 02:30:15 +00:00
DictationLearningTests.swift ios: learn dictation and typing fixes from edits (Learn how I type) (#2022) 2026-11-20 01:04:58 +00:00
DotScopeTests.swift fix(ios): eliminate handoff frame stalls and add overlapping ballistic swipe throw (t1153) (#757) 2026-10-31 22:14:22 -07:00
EmojiSuggesterTests.swift iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00
FullKeyboardEngineTests.swift iOS: Ukrainian keyboard layout (#2128) 2026-11-21 02:30:15 +00:00
HexKeyGestureTests.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
KeyboardBridgeTests.swift iOS: Hinglish dictation, Hindi in Latin letters (Experiment, off by default) (#2119) 2026-11-21 00:29:24 +00:00
KeyboardLayoutTests.swift iOS: Ukrainian keyboard layout (#2128) 2026-11-21 02:30:15 +00:00
ShiftStateMachineTests.swift iOS: full keyboard experiment flag, key layout and shift model (#910) 2026-11-01 12:43:35 -08:00
SwipeDecoderTests.swift iOS: swipe typing for English and Spanish (Experiment, off by default) (#2106) 2026-11-20 22:30:53 +00:00
TranscriptCleanupTests.swift iOS: Ukrainian keyboard layout (#2128) 2026-11-21 02:30:15 +00:00
TypingLogTests.swift iOS: Norwegian, Spanish and German full-keyboard layouts 2026-11-20 07:52:48 -05:00