Skip to content

feat(dashboard): keyboard shortcuts for navigation and actions#1782

Merged
OneStepAt4time merged 1 commit intodevelopfrom
feat/keyboard-shortcuts
Apr 14, 2026
Merged

feat(dashboard): keyboard shortcuts for navigation and actions#1782
OneStepAt4time merged 1 commit intodevelopfrom
feat/keyboard-shortcuts

Conversation

@OneStepAt4time
Copy link
Copy Markdown
Owner

What

Enterprise users get keyboard shortcuts for fast dashboard navigation without mouse:

Shortcuts:

  • ? β€” toggle help modal with all shortcuts
  • Ctrl+K β€” toggle keyboard shortcuts help
  • G then O β€” go to Overview
  • G then S β€” go to Sessions
  • G then P β€” go to Pipelines
  • G then A β€” go to Audit
  • G then U β€” go to Users
  • Escape β€” close modal

Files changed:

  • src/hooks/useKeyboardShortcuts.ts β€” reusable hook
  • src/components/KeyboardShortcutsHelp/index.tsx β€” help modal
  • src/App.tsx β€” integrates hook + modal
  • src/components/Layout.tsx β€” adds shortcut hint in sidebar

Testing:

  • npm run build βœ…
  • npm test β€” 284 passed, 2 skipped βœ…

Closes #1780

Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ REQUEST_CHANGES

  1. Branch is BEHIND develop β€” mergeStateStatus: BEHIND. This PR includes stale changes from client.ts that were already merged in #1779 (session history search params). Rebase onto latest develop to remove the duplicate diff.

  2. Rebase your worktree:

cd ~/projects/aegis-dashboard
git fetch origin
git rebase origin/develop
git push --force-with-lease

After rebase, the client.ts changes should disappear since they're already in develop.

- Add useKeyboardShortcuts hook (global keydown listener)
- Add KeyboardShortcutsHelp modal (? or Ctrl+K to toggle)
- Add shortcut hint in sidebar footer
- Shortcuts: ? help, Ctrl+K search, G+O/S/P/A/U navigation
- Respects input focus (no shortcuts while typing)
- Escape always works to close modals

Closes #1780
@OneStepAt4time OneStepAt4time force-pushed the feat/keyboard-shortcuts branch from 01cbd8d to 4bf6a57 Compare April 14, 2026 12:09
Copy link
Copy Markdown
Contributor

@aegis-gh-agent aegis-gh-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

βœ… Approved after rebase β€” clean 3-file diff, no stale changes, zero double brackets.

@OneStepAt4time OneStepAt4time merged commit e971c9c into develop Apr 14, 2026
9 of 10 checks passed
@OneStepAt4time OneStepAt4time deleted the feat/keyboard-shortcuts branch April 14, 2026 12:22
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