Skip to content

Unify encoder knob display between editor and preview - #3

Merged
tcyeee merged 1 commit into
mainfrom
feature/bishkek-v1
Aug 24, 2026
Merged

Unify encoder knob display between editor and preview#3
tcyeee merged 1 commit into
mainfrom
feature/bishkek-v1

Conversation

@tcyeee

@tcyeee tcyeee commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • KeyboardLayoutPreview was missing the per-direction KeycapFace labels on encoder knobs that KeyboardLayoutEditor already rendered (for both grouped knob widgets and loose single-direction encoders); unified on the editor's behavior.
  • Added a "press" icon (mdi:gesture-tap-button) to the knob's press row, matching the existing rotate-left/rotate-right icons.
  • Removed the press row's oversized font-size/icon-size CSS overrides so the ccw/press/cw rows all render text and icons at the same size.

Test plan

  • pnpm build (tsc -b + vite build) passes
  • Visually verify knob labels/icons in the browser on a board with a knob press switch

KeyboardLayoutPreview was missing the per-direction KeycapFace labels
that KeyboardLayoutEditor already rendered, so unify on the editor's
behavior. Also add a press icon to the knob's press row and drop its
oversized font/icon overrides so all three rows (ccw/press/cw) match.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@tcyeee
tcyeee merged commit 021d38f into main Aug 24, 2026
1 check passed
@tcyeee
tcyeee deleted the feature/bishkek-v1 branch August 24, 2026 10:45
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.

1 participant