Skip to content

Keyboard shortcuts for key features - #174

Merged
danyill merged 6 commits into
mainfrom
feat/keyboard-shortcuts
Nov 7, 2026
Merged

danyill merged 6 commits into
mainfrom
feat/keyboard-shortcuts

Conversation

@danyill

@danyill danyill commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Fixes #173. Stacked on #170 (which brings #165 with it); merge those first.

Added, all conventional and none a bare letter:

  • Tools: Ctrl+1 Select (Q still works), Ctrl+2 Block, Ctrl+3 Node, Ctrl+4 Event, Ctrl+5 Hierarchy, Ctrl+6 Connect
  • Ctrl+G collapse selection, Alt+Up up a level, Ctrl+W close model, Ctrl+, Preferences
  • Ctrl+Shift+E / I / D show or hide Explorer / Inspector / Data Tables (Results is already Ctrl+Shift+R)
  • Ctrl+F: Find item, from the canvas or the Explorer only. Scoped to those widgets because the table filter bar (Filter row for large results tables and the Data Tables #172) has its own Ctrl+F, and two shortcuts with the same keys live together cancel each other out (checked: neither fires).

Every shortcut is now named in its command's tooltip, e.g. 'Add Block (Ctrl+2)'. docs/KEYBOARD_SHORTCUTS.md, the page Help > Keyboard Shortcuts shows, lists them and the nudge (arrows, Shift+arrows) and F2 keys that were missing.

Tests: no two shortcuts that can be live together clash; every shortcut in the doc exists in the app and the other way round; the new ones are bound; Ctrl+F reaches the Find box. Ribbon snapshot regenerated (shortcuts and tooltips only).

Not added: Duplicate (Ctrl+D). It would have to go through the paste buffer and the system clipboard, clobbering what the user copied; Ctrl+D is also Fill Down in Data Tables (fork G's PR), so it stays free. Import Library and Export Tables stay mouse-only. Merge note: fork G's PR also edits docs/KEYBOARD_SHORTCUTS.md (Ctrl+F filter bar, Ctrl+D fill down); the lines are in different sections but expect a small doc conflict. The doc test will then need those two keys, which G's branch binds in code (add 'Ctrl+D' if it is a QShortcut it will be found automatically).

…d and tested

Tools Ctrl+1..6 (Select also stays on Q), Collapse Ctrl+G, Up a level Alt+Up,
Close model Ctrl+W, Preferences Ctrl+comma, Explorer/Inspector/Data Tables
Ctrl+Shift+E/I/D, and Ctrl+F for Find item from the canvas or the Explorer.
Every shortcut is named in its tooltip. docs/KEYBOARD_SHORTCUTS.md (the page
Help > Keyboard Shortcuts shows) lists them, plus the nudge and F2 keys that
were missing. Tests: no two live shortcuts clash, and the doc and the app
agree.
…eat/keyboard-shortcuts

# Conflicts:
#	raptor/gui/ui/data_tables.py
…to feat/keyboard-shortcuts

# Conflicts:
#	raptor/gui/ui/diagram.py
@danyill
danyill deleted the branch fix/clipboard-between-models November 7, 2026 07:38
@danyill danyill closed this Nov 7, 2026
@danyill danyill reopened this Nov 7, 2026
@danyill
danyill changed the base branch from fix/clipboard-between-models to main November 7, 2026 07:39
@danyill
danyill merged commit 71a0bbe into main Nov 7, 2026
24 checks passed
@danyill
danyill deleted the feat/keyboard-shortcuts branch November 7, 2026 08:09
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.

Keyboard shortcuts for key features

1 participant