Skip to content

feat(keyboard): add visualizer opacity setting - #182

Merged
esphynox merged 1 commit into
mainfrom
feat/keyboard-visualizer-opacity
Nov 25, 2026
Merged

esphynox merged 1 commit into
mainfrom
feat/keyboard-visualizer-opacity

Conversation

@esphynox

@esphynox esphynox commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Addresses issue #181

Adds an Opacity setting for the keyboard visualizer, shown as a slider right after Size in Keyboard settings.

  • New persisted opacity setting (keyboard_visualizer.opacity) on KeyboardVisualizerSettings. Defaults to 100%, clamped to 10–100% at the settings layer so the overlay can't be made fully invisible. An unset value falls back to 100%, and reset to defaults restores it.
  • A new opacityChanges publisher drives the overlay window's alphaValue live. It sits on top of the existing per-group fade-out instead of replacing it.
  • The settings slider uses 5% steps and is disabled while the visualizer is off. The settings preview card reflects the chosen opacity.
  • Label and subtitle added for all 14 localizations. Non-English strings could use a native-speaker check.

Tests

  • tuist generate
  • xcodebuild test -project Keyty.xcodeproj -scheme Keyty -destination 'platform=macOS'
  • Other: built and tested with Xcode 26.6 command-line tools. Xcode 27.x rejects the project's macOS 11.0 deployment target (its SDK minimum is 12.0). That issue already existed and is unrelated to this change, but CI on macos-latest will hit it once that image moves to Xcode 27.

New tests in KeyboardVisualizerSettingsTests: registered default, persistence, clamping and unset fallback, and opacityChanges emitting only distinct values, including on reset.

Run project commands from Apps/Keyty.

UI Changes

keyty-keyboard-visualizer-opacity.mov

Documentation

  • Updated relevant docs
  • No docs needed

Release Notes

Keyboard visualizer: new Opacity setting (Settings → Keyboard) to make the on-screen keystroke overlay semi-transparent.

@esphynox esphynox added the enhancement New feature or request label Nov 24, 2026
@esphynox esphynox self-assigned this Nov 24, 2026
@esphynox
esphynox merged commit f9f5b62 into main Nov 25, 2026
1 check passed
@esphynox
esphynox deleted the feat/keyboard-visualizer-opacity branch November 27, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant