Link PRs to the issues they close instead of showing unrelated cards #27

Closed
opened 2026-09-05 09:30:56 +08:00 by Breadway · 0 comments
Owner

User feedback: opening a PR for a task creates two cards that look unrelated — the original issue and the PR (Forgejo has two distinct objects; breadboard mirrors both). Parse Forgejo/GitHub closing keywords ("Closes #4", "Fixes #4, #5") from a synced PR's body and create closes/closed-by links between the PR card and the issue(s) it closes, so both cards show the connection (Card gets a small "→ BB-16" / "← PR-33" line; IssueDrawer gets clickable link chips). Re-parsed on every sync of the PR, not just import, and applied retroactively to already-synced PRs via a backfill.

User feedback: opening a PR for a task creates two cards that look unrelated — the original issue and the PR (Forgejo has two distinct objects; breadboard mirrors both). Parse Forgejo/GitHub closing keywords ("Closes #4", "Fixes #4, #5") from a synced PR's body and create closes/closed-by links between the PR card and the issue(s) it closes, so both cards show the connection (Card gets a small "→ BB-16" / "← PR-33" line; IssueDrawer gets clickable link chips). Re-parsed on every sync of the PR, not just import, and applied retroactively to already-synced PRs via a backfill.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Breadway/breadboard#27
No description provided.