Skip to content

feat: make pull request titles clickable links to GitHub PR#72

Merged
O2sa merged 1 commit intoO2sa:mainfrom
Ai-chan-0411:feat/clickable-pr-titles
Apr 13, 2026
Merged

feat: make pull request titles clickable links to GitHub PR#72
O2sa merged 1 commit intoO2sa:mainfrom
Ai-chan-0411:feat/clickable-pr-titles

Conversation

@Ai-chan-0411
Copy link
Copy Markdown
Contributor

closes #61

Changes

Add clickable links to PR titles in the Top Work section:

  • GraphQL query (lib/github.ts): Add title and url fields to the pull requests query
  • Type definitions (types/github.ts, types/user-result.ts): Add title and url to PullRequestNode and topPullRequests
  • Score mapping (lib/score.ts): Use actual PR title field (previously was incorrectly using repository.nameWithOwner)
  • UI (components/top-list.tsx): Render PR titles as anchor tags opening the PR on GitHub in a new tab

Before

PR titles were shown as plain text (and the title field was incorrectly using the repo name).

After

PR titles display actual PR titles as clickable links to the PR on GitHub, opening in a new tab.

closes O2sa#61

Add clickable links to PR titles in the Top Work section:
- Add title and url fields to GraphQL query for pull requests
- Map actual PR title (was incorrectly using repo nameWithOwner)
- Render PR titles as anchor tags linking to the PR on GitHub
- Opens in new tab with rel=noopener for security
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 12, 2026

@Ai-chan-0411 is attempting to deploy a commit to the osama's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

Thank you for the pull request! ✅

A maintainer will review this soon. Please be patient while we take a look. 🙌

@O2sa
Copy link
Copy Markdown
Owner

O2sa commented Apr 12, 2026

@Ai-chan-0411 stop working in the upcoming issues and do not add a new PR...

@O2sa O2sa reopened this Apr 13, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dev-impact Ready Ready Preview, Comment Apr 13, 2026 10:18pm

@O2sa O2sa merged commit 4d1a378 into O2sa:main Apr 13, 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.

Make pull request titles clickable (link to GitHub PR)

2 participants