Skip to content

feat(issues): Linear hierarchy, board, and ticket panel you can work from - #79

Merged
nachogames merged 2 commits into
mainfrom
feat/linear-issue-tree
Nov 24, 2026
Merged

nachogames merged 2 commits into
mainfrom
feat/linear-issue-tree

Conversation

@nachogames

Copy link
Copy Markdown
Owner

Linear tickets showed up as a flat list that was much harder to read than Linear itself, with no hierarchy, no board, and no way to talk about a ticket with the agent or reply to people from Ctrl.

What changed

Hierarchy and board

  • Tree nests issues by Linear project → milestone → parent ticket → sub-issues, with done/total progress on projects and parents.
  • Board shows real status columns (ordered by Linear's status type, then its own order) with parent tickets as swimlanes. Drag a card to change its status. Sticky status headers with per-column counts.
  • Tree and Board replace the flat list on the Issues page, and are also available in a new Issues tab beside any chat. Both use the standard issue filters (status, involvement, labels, assignee), shared between the page and the tab. Scroll and folds are kept when switching tabs.

Ticket panel

  • Linear-style properties at the top: status, assignees, labels, project, milestone, parent (click to open).
  • Sub-issues section with progress; long descriptions collapse behind "Show full description".
  • The composer switches between Agent and Comment. Beside a chat, Agent sends to that chat. On the Issues page it opens a new chat in the ticket's project with the message ready and the ticket beside it.
  • Threaded replies: each comment has its own reply box; replies show indented under the comment they answer.

Chat

  • A strip above the composer keeps the open ticket as the topic (× to detach), like review points.
  • Messages about a ticket show a small ticket tag above the bubble instead of the raw About issue KEY (url): line. The agent still receives the line with the link.

How

  • Contracts: IssueSummary gains trackerProject, milestone, parent; IssueState gains stage/order; IssueDetail gains subIssues; comments gain parentId; IssueCapabilities.replies (optional, Linear only). The issue service refuses a reply on trackers without replies instead of posting it as a top-level comment.
  • Linear adapter reads project, milestone, parent, children and comment parents; posts replies with parentId.
  • Shared logic in packages/client-runtime (issue-tree, issue-board) and packages/shared/issueTag, all unit tested.
  • Translates the Ctrl-only command palette and composer strings the lint hook flags in files this PR touches.

Verification

  • vp run check:changed: format, lint, knip, graphql and react compiler pass. Typecheck and browser tests show only failures already on main (infra/task-cache worker.ts types; CommandPalette.composition mock missing scratchUnavailableReasonFor; flaky ChatView rightPanelOpen test).
  • New and updated tests: Linear tracker (hierarchy fields, stage/order, sub-issues, replies), issue service (reply refused without replies), issue tree/board, issue tag, issue focus.
  • Checked live against a real Linear workspace: tree, board, filters, ticket panel, Agent/Comment, start-chat from Issues page, reply box, chat tag. Dragging cards and posting comments/replies were not exercised live, to avoid changing real tickets.
  • Surfaces: web/desktop only. Mobile is not covered by this PR.

Screenshots

To be added.

🤖 Generated with Claude Code

nachogames and others added 2 commits November 24, 2026 12:18
…from

Linear tickets were a flat list and hard to read compared with Linear itself,
and there was no way to talk about a ticket with the agent or reply to people.

- Tree view nests issues by Linear project, milestone and parent ticket, with
  progress; Board view puts parent tickets in swimlanes against real status
  columns, with drag to change status, sticky headers and per-column counts.
  Tree and Board replace the flat list on the Issues page and in a new Issues
  tab beside a chat, both using the standard issue filters.
- Ticket panel: Linear-style properties (status, assignees, labels, project,
  milestone, parent), sub-issues with progress, long descriptions collapse.
- Composer in the ticket panel switches between Agent and Comment. Beside a
  chat, Agent sends to that chat; on the Issues page it opens a new chat in
  the ticket's project with the message ready and the ticket beside it.
- A strip above the chat composer keeps the open ticket as the topic; sent
  messages show a small ticket tag instead of the raw "About issue" line.
- Threaded replies: each comment has its own reply box, and replies show
  under the comment they answer. Only trackers that declare `replies`
  (Linear) accept them; others refuse rather than post a top-level comment.
- Translates the Ctrl-only command palette and composer strings that the
  lint hook flags in these files.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Agent mode only beside a started chat; the issue line stays first ahead of
  the effort prefix (also for a chat started from an issue) and attachment-only
  sends stay bare.
- Parent and sub-issues open under their own Linear team.
- Board: unique drop targets per section, drops forgotten once the row's state
  changes, and dragging needs permission to change state.
- Load more is back for the tree and board, paging the "your issues" listing
  with it; its errors show, and an empty page says more can be loaded.
- Reply box anchors under the comment that was clicked.
- Issues page keeps the selected row and server label; filter menus skip
  hidden projects; restored translations the catalog regen had reset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nachogames
nachogames merged commit 78a7504 into main Nov 24, 2026
2 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.

1 participant