Skip to content

Add shared shortcut handling for dashboard#49

Merged
stylessh merged 1 commit intomainfrom
stylessh/topbar-tab-shortcuts
Apr 10, 2026
Merged

Add shared shortcut handling for dashboard#49
stylessh merged 1 commit intomainfrom
stylessh/topbar-tab-shortcuts

Conversation

@stylessh
Copy link
Copy Markdown
Owner

Summary

  • add a shared useGlobalShortcuts and matchesShortcut utility for exact modifier matching and chorded shortcuts
  • migrate the command palette and PR body markdown shortcuts to the shared shortcut system
  • add Shift+1-9 and Shift+ArrowLeft/ArrowRight topbar tab navigation through the same shortcut layer

Verification

  • pnpm --dir apps/dashboard check-types
  • pnpm --dir apps/dashboard exec biome check src/lib/shortcuts.ts src/lib/command-palette/use-command-palette.ts src/components/layouts/dashboard-topbar.tsx src/components/pulls/detail/pull-body-section.tsx

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 10, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
diffkit 75e738f Commit Preview URL

Branch Preview URL
Apr 10 2026, 03:07 AM

@stylessh stylessh merged commit f174de8 into main Apr 10, 2026
3 of 4 checks passed
stylessh added a commit that referenced this pull request Apr 18, 2026
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