Skip to content

Add PR link to GitStatus UI - #15

Merged
jamierpond merged 3 commits into
mainfrom
Jp/foobar
Feb 11, 2026
Merged

Add PR link to GitStatus UI#15
jamierpond merged 3 commits into
mainfrom
Jp/foobar

Conversation

@jamierpond

Copy link
Copy Markdown
Owner

Summary

  • Adds GET /api/projects/:id/pr server endpoint that fetches PR info via gh pr view
  • Shows a clickable PR link in the GitStatus dropdown and a small PR icon in the compact badge
  • Gracefully handles missing PRs / gh CLI not available (returns 404, no UI shown)

Test plan

  • Open app, expand GitStatus on a project with a PR — see "PR #N" link
  • Click link — opens GitHub PR in new tab
  • Project with no PR — no PR link shown, no errors
  • Compact badge shows small PR icon when PR exists

🤖 Generated with Claude Code

jamierpond and others added 3 commits February 10, 2026 17:37
New /api/projects/:id/pr endpoint fetches PR info via gh CLI.
GitStatus shows clickable PR link in dropdown and icon in compact badge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jamierpond
jamierpond merged commit d6fd2a9 into main Feb 11, 2026
4 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.

1 participant