Skip to content

feat(preview): add accessible tooltips to preview controls - #209

Merged
66HEX merged 1 commit into
masterfrom
feat/preview-control-tooltips
Sep 28, 2026
Merged

66HEX merged 1 commit into
masterfrom
feat/preview-control-tooltips

Conversation

@66HEX

@66HEX 66HEX commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Preview icon controls now show their existing action names on pointer hover and keyboard focus. Tooltips reuse the settings tooltip styling and hover timing; side tools show their labels to the right, while zoom and playback labels are centered above their buttons. Escape dismisses a focused tooltip without activating the control.

The controls preserve their accessible names, toggle states, keyboard activation, and crop/overlay focus handles. Disabled controls remain outside the Tab order and retain hover descriptions.

Validation:

  • cargo xtask ci passed locally on macOS, including formatting, 922 passing tests, Clippy, generated workflow checks, and script syntax checks.
  • GitHub CI passed the full Linux gate, 37 media conversion tests, four conversion runner tests, compilation checks on macOS and Windows, and CodeQL analysis.
  • Five rendered GPUI regression tests cover Tab navigation, Enter/Space activation, Escape and focus re-entry, hover delay/cancellation, disabled controls, input switching, and centering at 100% and 200% scale.
  • cargo deny check and the repository's cargo audit gate passed.
  • Manual macOS checks confirmed keyboard and pointer tooltips, Escape dismissal, centered zoom/playback labels, and dark 100% / light 200% rendering. Rotation, flips, zoom, Enter playback, applying a 1:1 crop, and cancelling the overlay picker were exercised on a generated H.264/AAC clip. Play/Pause labels remained centered as playback changed, and the existing settings tooltip was checked.

The GPUI test-support dependency is development-only. Its upstream-pinned proptest repository is explicitly listed in the dependency source policy; production dependency declarations are unchanged.

Closes #176.

@66HEX
66HEX merged commit 44d0b75 into master Sep 28, 2026
7 checks passed
@66HEX
66HEX deleted the feat/preview-control-tooltips branch September 28, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[UX]: Add tooltips to source preview controls

1 participant