7 Commits
Author SHA1 Message Date
waozi 032ac3264f Follow the device language on first run and ask once about voice guidance
New profiles no longer start with a Choose Language screen. They use the
device's language, or English when Inner Breeze has no translation for it,
and keep following the device until a language is picked in Settings, which
stays the only language control. Profiles that already chose a language
keep it.

The multi-choice Optional audio step becomes one question, "Add voice
guidance?", with the total size: Download turns on the guide and practice
voices and fetches them in the background, Not now leaves both off without
asking again. Per-voice controls stay in Settings and each practice. The
language screen, its Back path, the audio setup step machine and its saved
step, and the strings only they used are removed.
2026-10-24 00:22:14 -03:00
waozi 94fe697cef Leave canvas fills out of the zoom test's content width
Canvas fills are now Box widgets across the whole screen, so measuring the
union of every widget made the content as wide as the window at every
scale. Boxes that span the screen are background and are left out.
2026-10-17 20:01:30 -03:00
waozi 40c977a09e Check zoom, leaderboard and startup screens without OCR
The last tests that read screenshots with tesseract (through
native_visual_test's read_text) now read the widget tree: the leaderboard
checks its ranked rows and values, startup and quit press the library's
cards and Quit through the driver, and the zoom test finds the title in the
tree, checks its box scales with the zoom and keeps one pixel check per
zoom that the title is drawn with full contrast across its box. read_text
is gone. The visual test's Appearance check asks Kryon for wrapped lines a
label's box cuts off (hidden_lines), so the 220%/250% cut-off it guarded
against by OCR is still caught.
2026-10-17 19:47:22 -03:00
waozi 4dd181b7f8 Keep two release screenshot checks steady on CI
The zoom test could read the app database before its tables existed on
a slow runner. CI's tesseract 5.3.4 read one letter of the large
"Material" value wrong at 250% although the pixels are complete; one-word
labels now accept a single misread letter.
2026-10-09 10:53:31 -03:00
waozi 934014d846 Prepare 2.1.21 with a complete visual release gate 2026-10-08 18:43:02 -03:00
waozi cf7cb2d4e9 Keep native text crisp and stable throughout the zoom range 2026-10-08 15:15:00 -03:00
waozi c60f351214 Zoom the whole app with Ctrl and the mouse wheel
Ctrl with the wheel, or Ctrl with plus, minus, or zero, now steps the UI
scale setting the Appearance slider edits, so the wheel moves the slider,
persists, and scales the entire app like a browser page zoom. Kryon's zoom
decides when the wheel means zoom and takes the wheel away from scrolling;
the frame stores the result in ui_scale_tenths (50% to 250%) and hands it to
the DPI state, where the zoom multiplies the display density: everything
drawn scales, including widget text, and the layout is the window divided by
the result, so the navigation switches between rail and bottom bar as it
does when the window gets narrower or wider. The raylib runtime rebakes
fonts at the scaled size so text stays sharp.

The Appearance scale slider only moved the navigation breakpoint since the
Ziran port; it scales the app again.

app_zoom_behavior covers the policy on source, saved IR, C, C++, and Go;
native_zoom_test drives the real binary on a private display with the wheel
and keys, checks the layout scale, and reads the saved setting.
2026-09-28 18:19:08 -03:00