Replies: 1 comment
|
Just a note on the issue links: The link should be displayed in the open thread under the composer, next to the PR link (there is plenty of space). But it should also be displayed in the sidebar. The sidebar usually doesn't have enough space to show the issue and the PR link side by side. So there should be a setting where the user can choose whether they want to see the PR link or the issue link in the sidebar.Or potentially both, if they have a wide-enough sidebar. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Threads can already link to a pull request and settle themselves when it merges or closes. A lot of work starts from a ticket rather than a PR, though: a GitHub/GitLab issue, a Jira ticket, a Linear issue. Today that thread stays in the active list after the ticket is done unless someone settles it by hand, and nothing in the thread shows the ticket's state.
Adjacent asks already in Ideas: #8334 (name threads from linked tickets), #6752 (import Linear issues), #7056 (start worktrees from a Linear issue), #6833 (separate settle toggles). This proposal is the piece those all lean on: a thread that knows which issue it is about.
Proposal
link_issue/unlink_issue/list_linked_issues).sidebarAutoSettleOnIssueClose, default on, per-project override) that sits next to the existing merge/inactivity settings.How it fits the existing design
ThreadIssueLinkbesideThreadPullRequestLink, not a generalised "work item". The PR link's shape (branches, checks, stacks,merged) is load-bearing across every host adapter and both clients; issues have anopen | closedlifecycle and, for Jira/Linear, no repository at all.thread.auto-settleunchanged. The policy separates "which triggers participate" from "does the sweep run", so turning issue settlement on cannot re-arm PR-close settlement for anyone who had merge and inactivity settlement off. Any open linked item (PR or issue) blocks settlement; an open PR on the thread's branch still vetoes issue-driven settlement; an issue with an unknown close time never settles a thread on its own.Surfaces
Web and desktop: link, unlink, refresh, linked-work panel, palette, autolink, status indicator, settings (flag plus an Issue trackers panel for Jira/Linear). Mobile: linked-issue display with open-in-browser and the settle toggle, synced across environments like the existing auto-settle settings. Docs: a Linked issues section beside Linked pull requests, one sentence in the sidebar guide.
Out of scope
Bitbucket issues (the Cloud tracker is legacy), Atlassian scoped/OAuth tokens, following GitLab issue moves automatically, inbound webhooks, and linking or secret entry from mobile.
Status
Implemented in a fork; I will add the PR link here once it is up. Very happy to shrink, split, or drop this if it is not a direction you want.
All reactions