Skip to content
Source
Sign inSign up
pingdotgg/t3code

Add a way to unlink a PR from a thread #11087

ClosedElliotDrel(GitHub profile, opens in a new tab) opened this issue 1 comment

Problem

A thread can be linked to a pull request by left-clicking the PR (e.g. from a PR reference in chat). Once linked, the thread auto-settles when that PR merges (linkedPullRequest on the thread projection, see packages/contracts/src/orchestration.ts ThreadLinkedPullRequest).

There's no way to undo this from the UI. If a PR gets linked to the wrong thread, or a thread no longer relates to that PR, the thread will still auto-settle when the PR merges, with no way to prevent it short of server-side intervention.

Ask

Add an "unlink" affordance wherever the linked PR is shown (e.g. apps/web/src/components/ThreadStatusIndicators.tsx, and the equivalent mobile view), so a user can clear a thread's linkedPullRequest and stop the auto-settle behavior. This should be a real reverse path, not just a way to relink a different PR.

Should apply across web, desktop, and mobile per the multi-surface requirement in AGENTS.md.

  1. Duplicate of #7517 — already fixed by #10839.

    Unlink (and link) live in the PR More menu, so a wrong or stale thread↔PR association can be cleared without server-side intervention. Closing this as a duplicate of that completed ask.

  2. juliusmarminge added labelsduplicate

  3. juliusmarminge closed this

Sign in to join this conversation.