Fix shortcut hints#124
Merged
stylessh merged 5 commits intostylessh:mainfrom Apr 16, 2026
Merged
Conversation
stylessh
requested changes
Apr 15, 2026
Owner
stylessh
left a comment
There was a problem hiding this comment.
Please remove png files from changes
Contributor
Author
|
@stylessh done |
stylessh
approved these changes
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates DiffKit shortcut behavior and the places those shortcuts are surfaced:
G then PtoG then UbecauseG then Palready goes to Pull Requests.G then Uto open the signed-in user's profile.G then Ushortcut.Shift Was a close-current-tab shortcut and documents it in Settings > Shortcuts.Why
The profile icon dropdown incorrectly said Profile used
G then P, butG then Pwas already mapped to Pull Requests in the command registry and shortcut settings. PressingGthenPtherefore opened Pull Requests, not Profile.G then Uis the clearer replacement becausePis already taken by Pull Requests, whileUmaps naturally to the user profile. That keeps the navigation mnemonic sensible:Gfor go,Ufor user.For tabs,
Shift Wmirrors the familiar close-tab idea from browser shortcuts without conflicting with browser-levelCmd Wbehavior. Closing an active tab now goes to the next available tab, or back to Overview when it was the last open tab.Validation
pnpm --filter @diffkit/dashboard checkpnpm --filter @diffkit/dashboard check-typespnpm --filter @diffkit/dashboard build