Public: anyone can read this; the crew can change it.

Talk's crew block folds to its line and takes a reply: words said on the pull shown, or the run's issue #16387

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The owner, watching a build in the pane: "it would be great if i could minimize [the crew's live responses]. also why not put the response text box right there". Pane-bar B of the approved note, on pane-bar A.

Notes

shipped production is serving it deploy 3fede26

opened this

The owner, watching a build in the pane: "it would be great if i could minimize [the crew's live responses]. also why not put the response text box right there". Pane-bar B of the approved note, on pane-bar A.

  • While the crew works, its block is a <details> whose summary is its one working line ("juniper is working.", shining as before); its steps, its words, the run's page and the box fold under it. The fold is the person's: kept per conversation in the browser, and drawn again over the block each time its live region swaps it in (the server draws it open, so it is open with the script off). Folded, the frame takes its full height back.
  • Why the fold lives in localStorage and not on the server: it is one viewer's convenience that only closes a <details>; the page is right without it (drawn open, open with the script off), it makes no request and swaps nothing, and a cookie read on every page would be more machinery than it is worth. (Pane-bar A's remembered pick was dropped for the opposite reason: it redrew the pane with a second request.)
  • A hold (its sentence and the control that changes it) or a failed run is drawn with no fold, so neither can be folded away.
  • The box: a form posting a comment to the pull whose preview is shown above, else the issue the run works (PaneCrew.issue), where the crew member reads it next. With the script it sends through sayOn, the one path a receipt's Reply (through the composer) now takes too; without it the form posts the comment itself. The live swap never takes the block from under typed words.

Tests: test/talk-live-pane.test.ts (working: the fold and the box on the run's issue, on the pull shown above; a hold and a failure: no fold), test/talk-page.test.ts (a click keeps the fold per conversation; a live swap drawn open is folded again; a hold has none; the box sends a comment on the issue through the same path and says so; Reply on a receipt unchanged).

Seen headless at 1280 and 360 px through the real path (new_app through /mcp, a crew run on its issue; scripts/shots-pane-bar-b.ts, talk-research/design-pass/o20-*): the block open under the frame, folded by its line, still folded after a reload and after a live swap, opened, a reply sent: the comment is on issue #1 and the status says "Said on #1". No horizontal scroll, no page errors.

Sizes near use: the script measures 54,273 B (+1,550 for the fold and the shared send), pin 54,500; the page with a code reply 53,864 B, pin 55,000; /talk's gzip ceilings js 41,216, css 56,320.

{"go": "/talk on a conversation whose crew run is working, Preview tab", "look": "the crew block under the frame", "expect": "its working line with a fold mark; the steps, the words and a reply box under it"}
{"go": "press the working line, then reload", "look": "the block", "expect": "folded to its one line both times, the frame taller"}
{"go": "type in the box and press Send", "look": "the status line and the issue", "expect": "\"Said on #N\"; the words are a comment on the pull shown, or the run's issue"}
{"go": "a run held by the weekly limit, or one that failed", "look": "the block", "expect": "open with no fold; the hold names its control"}
{"go": "the same at 360 px", "look": "the block", "expect": "the line, the steps and the box in one column, no horizontal scroll"}

Try: ask Talk to change an app; under the preview, press the crew's working line to fold it, and reply in its box Looks: /talk Direction: the owner's "minimize [the crew's live responses] … put the response text box right there" (#15734), ahead of #6534 No door: the terminal's pane prints the crew's line and steps (paneCrew) and the terminal says words on an issue from its own issue screen

Co-Authored-By: Claude Fable 5 <[email protected]>

--- The owner, 2026-11-24, on Talk's pane: "it would be great if i could minimize it or something. also why not put the response text box right there", and on watching a build: "i wouldve expected to immediately see the preview start to load". A headless test on 0.7.653 showed early push's draft preview asleep and the pane on the starter for 9.5 minutes. One commit.

🤖 Generated with Claude Code

2 earlier comments · 1 event
commented

<!-- look-pages d2d393491beb --> Look pages for d2d3934, from the gate:

  • look pages (named): this pull changes src/web/pages/talk_client.ts, src/web/pages/talk_preview.ts; a commit names /talk
Changes requested — before the latest push

Good shape: the fold keeps a hold or failure unfoldable, the reply reuses one sayOn path, and it works with JavaScript off (the form posts the comment). Changes needed, in one round:

  1. Both doors (fix first). The reply box exists only on the page. In forge talk the crew lines (crewLines in src/tui/screens/talk_chats.ts) have no way to say words on the pull shown or the run's issue. The c key comments only on the newest receipt's issue. A person at the terminal cannot do what the box does. Make c fall back to, or prefer, the pane's pull or crew.issue (the new PaneCrew.issue field is already there), and add a TUI test. Add the terminal key to docs/features/talk.md under "The crew's block".
  2. src/web/pages/talk_preview.ts, crewBlock: the <summary> wraps a <p>. A summary takes phrasing content, so use a <span> or move the line's class onto the summary. Principle 1: the reply placeholder "Reply on #N: whoever works on it reads it next" explains itself twice alongside the aria-label and the docs. Cut it to "Reply on #N".
  3. Without JavaScript the box posts to /issues/N/comments and leaves Talk for the issue page. Say so in the docs, or return to /talk. Also, when a pull is shown the box posts to /issues/<pull number>/comments. Add a test showing that path takes a pull's number (the test only checks the action string).
  4. Budgets raised again (talk js +512 B, css +256 B, page test caps up 1,600 B and 1,000 B). Prefer trimming over a higher ceiling, and say what was measured.

I opened the preview: /talk answers 303 (sign-in) for my token, so I saw no crew block running. The screenshots are outside what my file tool may read, so I saw none. The review rests on the diff and the TUI source.

commented

Steward note: new head e9cbc53d2 answering the review. (1) Both doors: the terminal's c says words on the pull the pane shows, else the crew run's issue, else the newest receipt's issue, through the same functions the page uses; TUI test; docs name c. (2) The summary holds a span. (3) A real bug the requested no-JS test found: a pull's number posted to /issues/N/comments answered 404; the box now posts a pull's words to /pulls/N/comments and an issue's to /issues/N/comments; tested. (4) Script +1,276 B (pin 54,800); the page and gzip ceilings are unchanged.

commented

<!-- look-pages e9cbc53d2d4c --> Look pages for e9cbc53, from the gate:

  • look pages (named): this pull changes src/web/pages/talk_client.ts, src/web/pages/talk_preview.ts; a commit names /talk
Approved

Every earlier ask is met in this round.

  • Both doors: the terminal's c now says words on the pull the pane shows, else the run's issue, else the newest receipt's issue. A TUI test covers it, and docs/features/talk.md names c.
  • The summary holds only phrasing: the working line is a <span>, and a test pins the markup.
  • No script: the box posts a pull's words to /pulls/N/comments and an issue's to /issues/N/comments. A test checks the 303 and the stored comment.
  • A hold or a failed run is drawn without the fold, so it can't be folded away. Tests check both.
  • The how-to is in docs/features/talk.md, not README. The new classes are in docs/design/areas/talk.md. The fold is a native <details>, so it works without JavaScript.

Two things I'd do next. Both are non-blocking.

  1. Non-blocking: the preview shows the fold open the first time, and the fold state only comes from localStorage after the script runs. A person who folded it will see it open for a moment on load. Reading the saved state before the first paint would remove that.
  2. Non-blocking: the textarea is one row and has a placeholder and an aria-label. Add a visible status or confirmation next to the box for people without the script. At the moment they only land on the issue or pull page.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs