feat(stagecraft): the studio's Ticket tab on the work-item page, and the nav shows where you are (swamp-club #2969) #444
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2969-stagecraft-studio-ticket"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
swamp-club #2969: a Ticket tab on the studio's work-item page, and the nav shows where you are.
Ticket tab
The work-item page's Tracker tab is now Ticket, and it's the default tab when the work item has a ticket. It shows the bound ticket's:
Data. A new read-only route,
GET /api/work-items/<key>/ticket(studio_ticket.ts), reads what the tracker instance stored:issue-<id>snapshot thatfetch_issue,claimorcreatewrote;comment-andentry-records.The studio still calls no tracker and resolves no credential. Seth chose this over a live fetch to keep "The seam" and the no-method rule. The tab says when its copy was recorded, and
fetch_issuerefreshes it.Adapters.
fetchIssuenow readsdescription,labels,assignees,createdAt,updatedAtandactivityfor every tracker:lifecycleEntries, parsed defensively against the live reply's shape.queryDatawhen the method has it. Without it,activityis absent andclaimis unaffected.The conformance suite checks that a comment and an entry come back under the id the write returned. That id is what the delivery ledger records, and it's how the tab marks stagecraft's posts.
Safe markdown.
studio/src/markdown.tsxparses markdown into Preact elements and never builds an HTML string:A test walks the element tree of a description containing a script tag, an
onerrorimage, an iframe, andjavascript:anddata:links, and checks that all of them render inert.Navigation
aria-current="page", and on a work item, Board carriesaria-current="true".Testing
integration/extension/studio_ticket_test.ts):linear_fake; the ticket reads as missing untilfetch_issueruns, and the studio never contacts Linear.swamp_club_fake.verify-buildandverify-reviewspassed ondcb6aaa29. Attestation6fd04aea-03d3-4e9e-a78a-7722dc422d71.Notes
builtinandswamp_clubto2026.10.02.2,linearto2026.10.02.3.docs/studio.pngwas not retaken, because headless capture of Design mode hangs.data getuses off is filed separately as #2974.🤖 Generated with Claude Code