hex/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kit Langton 338b90468c
Overlays stay clear of each other, and dictation always works during a capture (#2908)
* Keep meeting, Annotate, and dictation overlays clear of each other

Meeting capsules, Annotate's capsule and recording toolbar, and the dictation
HUD each claim what they draw on their screen edge in one coordinator,
desktop::overlay_dock. A surface clears every one that outranks it on that
edge of that display, 8 pt apart: meeting capsules stay where they were
thrown, Annotate's capsule under the menu bar drops below a meeting it would
meet (the notch never moves), and the HUD moves along its own edge past all
of them, coming out from the menu bar or notch first when it meets one there.
Different displays never offset, and a surface that hides lets the others
fall back.

The HUD no longer jumps to the bottom edge during a capture; it keeps the
person's edge and stacks below the capsule instead.

checks: scripts/check overlay_dock rune_hud capture_capsule meeting_capsules
screenshots dock; cargo clippy --bin hex --tests (macOS only; Linux and
Windows not compiled here)

* Dictate while annotating graduates: the shortcut always dictates during a capture

Holding the dictation shortcut while an Annotate capture recorded started
nothing unless Labs › Dictate while annotating was on. It now dictates as usual
on every OS (Caps Lock and middle-mouse dictation too): the text pastes into
the app in front and the capture keeps recording with the same words in its
narration. The lab, its card, settings key, and strings are gone;
hex labs on|off dictate-while-annotating says it graduated, and a saved
labs.dictate_while_annotating is ignored.

checks: scripts/check labs control::settings recognition suppression i18n
policy (holding_option_dictates_while_a_capture_records); Labs goldens still
need check-linux.yml's golden-actual (one card fewer)

* Compile on Linux and Windows: the toolbar's dock surface is macOS only

Surface::AnnotateToolbar is constructed from src/screenshots/toolbar.rs, which
is compiled on macOS alone, so the dead_code lint failed the Linux and Windows
clippy jobs with "variant AnnotateToolbar is never constructed". Gate the
expectation the way labs::gates does for its macOS-only functions.

checks: cargo fmt --all --check; scripts/check overlay_dock; cargo clippy
--locked --bin hex -- -D warnings (macOS)

* Update Linux Labs goldens after graduating Dictate while annotating
2026-11-26 15:02:13 -08:00
..
fixtures chore(repo): delete archived prototypes, legacy release notes, and zero-caller scripts (#2906) 2026-11-26 09:39:43 -08:00
golden Overlays stay clear of each other, and dictation always works during a capture (#2908) 2026-11-26 15:02:13 -08:00
keyboard_layout.rs Rebuild the keyboard layout snapshot when the input source changes (t1304) (#1307) 2026-11-04 10:47:16 -08:00
meetings_mcp.rs Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00