Repository navigation
Cmd+R should refresh the open pull request in the right-hand detail panel #39323
Ernest0-Production
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/web (pull request detail panel), packages/contracts / packages/shared (keybindings)
Problem or use case
I keep a pull request open in the right-hand detail panel while CI runs and while I wait for comments. Refreshing that view is a click: ⋯ → Refresh. There is no keyboard command for it.
mod+ralready means refresh in T3, but only for the in-app browser (preview.refreshwhenpreviewFocus). With the PR detail focused, Cmd+R does not call the existing refresh. On desktop, View → Reload isCmdOrCtrl+R, so the same chord can reload the whole window instead.Today the only PR-detail shortcut is
pullRequest.copyNumber(mod+shift+k). The Refresh menu item (refreshFromHostinPullRequestActionsMenu) has no binding, unlike Copy number. Issue detail in the same panel already shows a header Refresh button; the PR hides the equivalent behind the overflow menu.Related, not the same:
What I'd like
A bindable
pullRequest.refreshthat runs the same path as ⋯ → Refresh.Default
mod+ris the natural mapping, but only with awhenclause on PR-detail focus (the same idea aspreviewFocus, not a global!terminalFocus). It must not steal refresh from the in-app browser, and on desktop it must not fall through to View → Reload.Unbound by default is also fine if
mod+ris too contested. The missing piece is the command ID so the existing action can be bound.All reactions