Skip to content

Open /pulls/authored directly so the pulls tab can be refocused - #168

Merged
gharlan merged 2 commits into
gharlan:mainfrom
MarcoSignoretto:fix/pulls-final-url
Oct 3, 2026
Merged

gharlan merged 2 commits into
gharlan:mainfrom
MarcoSignoretto:fix/pulls-final-url

Conversation

@MarcoSignoretto

Copy link
Copy Markdown
Contributor

Fixes #167.

GitHub redirects /pulls to /pulls/authored for logged-in users, so the tab ends up on the final URL. Browsers focus an existing tab only when the opened URL matches the tab's current URL, so every run of gh my pulls opened a duplicate tab.

Open the final URL directly instead.

@gharlan
gharlan merged commit d0d1a77 into gharlan:main Oct 3, 2026
7 checks passed
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.

my pulls opens a new tab instead of focusing the existing pulls tab

2 participants