Skip to content

Add thematic categories with icons to the shortcuts window#12374

Merged
niksedk merged 4 commits into
mainfrom
feature/shortcuts-window-categories
Jul 12, 2026
Merged

Add thematic categories with icons to the shortcuts window#12374
niksedk merged 4 commits into
mainfrom
feature/shortcuts-window-categories

Conversation

@niksedk

@niksedk niksedk commented Jul 11, 2026

Copy link
Copy Markdown
Member

Addresses #12316.

Design prototype that this implements: category tile filter + icon column + "Active in" context column.

What changed

  • New thematic grouping (ShortcutGroup): General, File, Video, Waveform, Subtitle list view, Text box, Grid + text box, Synchronization, Translate, Search, Tools, AI. It is display-only — the existing ShortcutCategory still drives dispatch/hashing and is untouched.
  • "Active in" column — the old Category column, renamed. Shows the focus context where the shortcut fires ("Everywhere" for the old General).
  • Icon column — each row gets a small colored group icon (mdi font icons, tinted per group) with the group name as tooltip, so long lists stay scannable while scrolling (the effect the emoji-prefix experiment in the issue was reaching for, without touching shortcut names or translations).
  • Group tile strip — a wrap of tiles under the search box (icon + name + count, plus an "All" tile) that filters the grid per group.
  • 145 shortcuts re-tagged out of the General bucket (previously 321 of ~420 rows said "General"): 64 Video, 26 File, 24 Tools, 9 Search, 8 Translate, 7 Sync, 7 AI. Tags are a single extra argument on AddShortcut, so adjusting a shortcut's group later is a one-word change.
  • New language strings (CategoryFile, CategoryVideo, …, ActiveIn, ActiveInEverywhere); other languages fall back to the English defaults until translated.
  • Window default size bumped 760×650 → 900×720 for the two extra columns.

Notes for review

  • Group colors are fixed mid-saturation tones chosen to read on both dark and light themes (ShortcutGroupUi.GetBrush).
  • Icon names were verified to exist in the bundled MaterialDesign icon font.
  • Builds clean; needs a manual UI pass (Options → Shortcuts) since I did not launch the GUI.

🤖 Generated with Claude Code

niksedk and others added 4 commits July 11, 2026 23:03
Reworks the shortcuts options window per the discussion in #12316:

- New display-only ShortcutGroup (General, File, Video, Waveform,
  subtitle grid, text box, grid+text box, Sync, Translate, Search,
  Tools, AI) - the existing ShortcutCategory still drives dispatch
  and is now shown as "Active in"
- Group filter tile strip (icon, name, count per group, plus All)
- Grid columns: Active in | group icon | Category | Name | Shortcut
- 145 shortcuts re-tagged out of the General bucket

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- "Active in" as outlined pill, dimmed for "Everywhere" so scoped
  shortcuts stand out
- Shortcut keys as right-aligned keycap chips; unassigned rows show
  a dim italic "Unassigned"
- Group icon in rows on a soft tinted square; filter tiles get a
  colored glyph square with white icon
- Count badge tinted with the system accent color
- Edit panel: selected shortcut name left, key controls right
- Button bar: Import from SE4 + Reset left, OK/Cancel right

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Category name rendered in its group color (medium weight)
- Row icon square: stronger tint (0.16 -> 0.28 alpha), 24px with
  16px icon
- Name column semibold so the command name is the visual anchor

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@niksedk niksedk merged commit d0cd04b into main Jul 12, 2026
1 of 3 checks passed
@niksedk niksedk deleted the feature/shortcuts-window-categories branch July 12, 2026 04:00
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