Skip to content

Conversation

@tOgg1
Copy link
Owner

@tOgg1 tOgg1 commented Dec 8, 2025

review: add 'o' hotkey to open current PR in browser

Add OpenCallback and url field to PRInfo struct to enable opening
the current PR directly from the review TUI. When the user presses
'o', the PR URL is passed to openUrl() to launch it in the default
browser.

ztk-id: 30e2f005-1b5b-42f6-8aae-532f3223e400


Note

Adds an 'o' hotkey in the review TUI to open the current PR URL in the browser, plumbing URLs via PRInfo and a new OpenCallback.

  • Review TUI:
    • Add 'o' hotkey to open the current PR in the browser using a new OpenCallback.
    • Extend tui.PRInfo with url and handle keypress to invoke open_callback.
    • Populate PRInfo.url from summary.pr_url and pass ReviewTUIState.openCallback into tui.runInteractive for both stack and single-PR modes.

Written by Cursor Bugbot for commit ff0bf2c. This will update automatically on new commits. Configure here.

Add OpenCallback and url field to PRInfo struct to enable opening
the current PR directly from the review TUI. When the user presses
'o', the PR URL is passed to openUrl() to launch it in the default
browser.

ztk-id: 30e2f005-1b5b-42f6-8aae-532f3223e400
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.

2 participants