Skip to content

feat(web): one Linked items panel for pull requests and issues - #102

Closed
TonybynMp4 wants to merge 1 commit into
Bil0000:feat/issues-pagefrom
TonybynMp4:feat/6315-linked-items-panel
Closed

TonybynMp4 wants to merge 1 commit into
Bil0000:feat/issues-pagefrom
TonybynMp4:feat/6315-linked-items-panel

Conversation

@TonybynMp4

@TonybynMp4 TonybynMp4 commented Oct 4, 2026 •

Copy link
Copy Markdown

Follow-up to pingdotgg#6315, as offered there. It targets feat/issues-page and holds a single commit.

Problem

Linked pull requests have a right-panel tab and a Link dialog. Linked issues only appear in the header popover, and nothing in the panel can link one.

Change

  • The thread's Pull requests tab becomes Linked items and lists linked issues under its pull requests. The panel shows whenever the thread has either kind, and the header's issue count opens it.
  • One Link dialog (LinkThreadItemDialog) replaces LinkPullRequestDialog and links issues too. It detects the kind from a pasted URL and offers a toggle for bare numbers. A pasted URL the thread already has is refused up front.
  • In the command palette, Show linked items works in issue-only environments, and Link issue to thread opens the dialog on issues.
  • Rows use three lines, since the tab is a narrow side panel: the reference with the diff counts and time, then the title with the watch, checks and review icons, then the stack, author and branches. Issue rows share the layout. They show the reference and title, plus the same … menu as pull requests: Copy link, Open, Unlink from thread.
  • Unlinking an issue from the panel reports failures.

The row layout lives in LinkedItemRow.tsx, shared by both kinds. The PR reference parsing moved out of the old dialog into linkPullRequestReference.ts, so both kinds share one dialog.

This branch also carries issueReference.ts and useIssueLinking from the chat link context menu PR, so it can merge on its own. Whichever of the two lands second sees them as unchanged.

Screenshots

Command palette: Link pull request / Link issue / Show linked items
102-palette
Linked items panel with a PR and two issues
combined-panel-with-issue-states
Link dialog with pingdotgg#15677 on the Issue toggle
102-dialog
Pasted URL that is already linked
102-already-linked

Verification

Done with Claude Opus 5.5 in Claude Code, running inside T3 Code.

🤖 Generated with Claude Code

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XXL labels Oct 4, 2026
@TonybynMp4
TonybynMp4 marked this pull request as ready for review October 4, 2026 16:23
The thread's pull requests tab becomes Linked items and lists linked issues
under its pull requests; the header's issue count now opens it, and the panel
shows whenever the thread has either kind. One Link dialog replaces the pull
request dialog and links issues too: it detects the kind from a URL and offers
a toggle for bare numbers. A pasted URL the thread already has is refused up
front. The command palette's Show linked items works for issue-only
environments, and Link issue to thread opens the dialog on issues. Unlinking an
issue from the panel reports failures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Bil0000

Bil0000 commented Oct 4, 2026

Copy link
Copy Markdown
Owner

Thanks for the work here, @TonybynMp4! I added your stricter parsing, GitLab work item URLs, and pull request guard to #107, with the existing preview and source project routing.

This keeps one focused stack above the original issue tracking PR. Your contribution is credited in the replacement PR. I am closing this copy so we can review and follow up in one place. Thanks again for helping improve this!

@Bil0000 Bil0000 closed this Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants