hex/src/rune_ui/onboarding_kit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 8d6ef0f016
onboarding: only offer a language switch when the system has one (#1550)
* onboarding: only offer a language switch when the system has one

The language capsule on the download page drew a dropdown chevron, but one
press swapped the selection and started another download. It also fell back
to French whenever the system language was English or unsupported, so
English installs offered French for no reason and a Japanese install lost
its own recommendation when toggling back.

The alternate is now the model recommended for the system's preferred
language, reusing recommended_selection. When that recommendation is
English there is no alternate: the capsule is a plain label with no
chevron, focus, or press handler. When there is one, a single press toggles
between English and that model, and the button's label says so.

* onboarding: decide the language switch by language, not model

A Cohere, Whisper, or Parakeet v3 English selection was treated as a
non-English choice, so the capsule read English, looked pressable, and
"switched" English to English while downloading another model. Decide by
the selection language instead, so every English choice on an English
system has no alternate.

The other-language label was a OnceLock, so a later setup kept the first
run's language on screen. Replace it on every run that shows a non-English
language.

Japanese is recommended Whisper large-v3-turbo, not Qwen3-ASR. Keep the
button's accessible label as Language, with the switch explained in its
description, and cover the no-op and toggle cases in onboarding tests.

* onboarding: replace or clear the other-language label on every open

An English-only run has no other language, so clear the label instead of
keeping the previous run's language; every open now writes the label
exactly once.

* tests: move the language capsule test with the onboarding checks

tests.rs is already over the repository's cap, so move its UI test under
src/rune_ui/tests/onboarding_check.rs; tests.rs returns to origin/dev's
length. Every newly touched file stays under 1,500 lines.

Ui carries a test-only preferred system language so the English cases do
not depend on the host locale, and the other-language label is thread-local
in tests so parallel golden renders cannot clear it. The test passes under
both the normal locale and fr_FR.
2026-11-08 12:49:16 -05:00
..
cards.rs Onboarding: dictated words fly into the practice field (#554) 2026-10-30 21:36:29 -07:00
dictated.rs Fold dictation pipeline modules into dictation/ 2026-10-31 16:12:40 -07:00
field_text.rs Onboarding story: first run (download, demo, permissions, try) (#334) 2026-10-28 20:02:28 -07:00
first_run.rs onboarding: only offer a language switch when the system has one (#1550) 2026-11-08 12:49:16 -05:00
fixture.rs Fold transcription_* into transcription/ 2026-10-31 15:13:56 -07:00
flight.rs feat(onboarding): redesign the first-run story around one mark, spine, and motion scale (t405) (#349) 2026-10-29 01:11:32 -07:00
flows.rs Make the new onboarding the one first run on every build and OS (#902) 2026-11-01 16:17:59 -05:00
game.rs onboarding: hold the practice invitation until the listener is up (#1511) 2026-11-07 20:19:41 -05:00
game_fx.rs Strike the practice game's cards with lightning and burn them away (t1121) (#561) 2026-10-30 22:24:08 -07:00
game_fx.wgsl Strike the practice game's cards with lightning and burn them away (t1121) (#561) 2026-10-30 22:24:08 -07:00
gpu_stage.rs Fold HUD scope, placement, and spring modules into rune_hud/ 2026-10-31 16:12:40 -07:00
hex_meter.rs Onboarding: flat crisp UI, live Try, slow keyboard arrival, and 4 key-sound candidates (t405) (#409) 2026-10-30 06:43:58 -07:00
hud_stage.rs Fold HUD scope, placement, and spring modules into rune_hud/ 2026-10-31 16:12:40 -07:00
keyboard.rs Onboarding: flat crisp UI, live Try, slow keyboard arrival, and 4 key-sound candidates (t405) (#409) 2026-10-30 06:43:58 -07:00
landing.rs Make the new onboarding the one first run on every build and OS (#902) 2026-11-01 16:17:59 -05:00
live.rs onboarding: only offer a language switch when the system has one (#1550) 2026-11-08 12:49:16 -05:00
mic.rs Onboarding: flat crisp UI, live Try, slow keyboard arrival, and 4 key-sound candidates (t405) (#409) 2026-10-30 06:43:58 -07:00
mic_line.rs Onboarding: dictated words fly into the practice field (#554) 2026-10-30 21:36:29 -07:00
permissions.rs fix(onboarding): say the mic stays ready, or opens only while dictating (#1420) 2026-11-05 13:09:17 -08:00
pill.rs onboarding: only offer a language switch when the system has one (#1550) 2026-11-08 12:49:16 -05:00
sfx.rs Onboarding: flat crisp UI, live Try, slow keyboard arrival, and 4 key-sound candidates (t405) (#409) 2026-10-30 06:43:58 -07:00
sparks.rs feat(onboarding): redesign the first-run story around one mark, spine, and motion scale (t405) (#349) 2026-10-29 01:11:32 -07:00
stories.rs onboarding: skip only the demo and practice; continue without a model after a failed or stalled download (#1009) 2026-11-02 08:52:22 -05:00
typing.rs Onboarding: flat crisp UI, live Try, slow keyboard arrival, and 4 key-sound candidates (t405) (#409) 2026-10-30 06:43:58 -07:00
versus.rs Make the new onboarding the one first run on every build and OS (#902) 2026-11-01 16:17:59 -05:00
words.rs Onboarding options as playground stories, from reusable pieces (#270) 2026-10-28 00:11:37 -07:00