Skip to content

feat(shortcuts): add g h Home keyboard shortcut#1284

Merged
e35ventura merged 1 commit into
entrius:testfrom
Khaostica:claude/gittensor-ui-idea-61-the-g-prefix-keyboard-shortcut-table-at
May 28, 2026
Merged

feat(shortcuts): add g h Home keyboard shortcut#1284
e35ventura merged 1 commit into
entrius:testfrom
Khaostica:claude/gittensor-ui-idea-61-the-g-prefix-keyboard-shortcut-table-at

Conversation

@Khaostica
Copy link
Copy Markdown
Contributor

@Khaostica Khaostica commented May 27, 2026

Summary

Adds the missing g h shortcut for Home (/) to keyboardShortcuts, completing the g-prefix set alongside Dashboard/Repositories/Bounties/Watchlist/Onboard. The existing gPrefixRoutes reducer and ShortcutsHelpDialog pick it up automatically — one-line diff in src/hooks/useKeyboardShortcuts.ts.

Related Issues

None

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other (describe below)

Screenshots

Before:
help-dialog-before

After:
help-dialog-after

Checklist

  • New components are modularized/separated where sensible
  • Uses predefined theme (e.g. no hardcoded colors)
  • Responsive/mobile checked
  • Tested against the test API
  • npm run format and npm run lint:fix have been run
  • npm run build passes
  • Screenshots included for any UI/visual changes

The keyboardShortcuts table exposes g-prefix navigation for dashboard, repositories, bounties, watchlist, and onboard but not the Home (/) route already defined in routes.tsx. Add the entry so the existing gPrefixRoutes reducer and ShortcutsHelpDialog pick it up automatically.
@xiao-xiao-mao xiao-xiao-mao Bot added the enhancement New feature or request label May 27, 2026
@Khaostica Khaostica marked this pull request as ready for review May 27, 2026 14:35
@e35ventura e35ventura merged commit cb4540e into entrius:test May 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants