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

Talk's confirms wait above the composer, things done fold into one line, and the pane shows the code and the diff itself #16297

Merged opened this

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

Merged

A held action is never drawn in the scrolled thread, where a long reply could push it off screen: it waits in a dock directly above the composer with its sentence, Do it, a quiet Not now, main's "Nothing is done until you answer" line (the time left replaces it under two minutes, set by two timeouts, never an interval)…

Notes

shipped production is serving it deploy 568a2d7

opened this
  • A held action is never drawn in the scrolled thread, where a long reply could push it off screen: it waits in a dock directly above the composer with its sentence, Do it, a quiet Not now, main's "Nothing is done until you answer" line (the time left replaces it under two minutes, set by two timeouts, never an interval) and, where its values are long, the whole of what it will send in a fold. Several read as "2 waiting". The buttons post to the confirm's own address (formaction), so it works without the script; answered, the dock glides shut and the outcome lands in the thread where it happened.
  • A run of receipts and steps in one reply reads as one line, "3 things done, 2 steps".
  • The pane's Code tab is the branch's files from the first moment, the changed ones first and opening in the pane; Diff is the forge's own diff inline, all of it or one version's, with the pull as a quiet link and its checks in words; both load as fragments only when opened.
  • In the terminal, a waiting ask sits at the foot of the conversation, never in the thread, and a opens Confirms to answer it (y, n); the pane p lists what the branch changed with +/− and shows the diff itself, read through the same branchDiff (core/chat_build.ts) the page's Code and Diff use. The dock's confirm is rows under a hairline, and the diff's counts are the forge's own diff colours.

No state can stay set: an answer hushes only the stream it opens (a send ends it), and the dock's glide ends on its transition or on time. The time left and the run-out are tested.

The page-size pin rises from 45,000 to 47,000 B (the doc line with it): the page measures 45.8 KB (plus 500 B for run-to-run drift, rounded up), the dock's markup and the Code and Diff tabs in the page's sheet and script.

Try: ask the forge to archive two repositories and watch them wait above the box; in a build, open the pane's Code, then Diff and v1; in ssh <forge>, open the conversation, see the ask at the foot, press a, and p for the diff Looks: /talk Direction: the owner's "if i get a do or a list of dos i should see them above the message bar" and "code shows no files touched yet then diff just has a button" (#15734), ahead of #6534 No door: the terminal answers in its existing conversation screen, not a new one: asks wait at its foot and a answers them, and the pane p shows the branch diff (test/tui-talk-chats.test.ts)

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

--- The sixth piece of the Talk redesign (#10262), on #16294 which has landed. The owner, 2026-11-24: "if i get a do or a list of dos i should see them about the message bar… it should be encouraging to get it off the screen… a collapse of all the actions would feel good", and of the build pane: "code shows no files touched yet then dif just has a button to the PR instead of a clean embedded UI". One commit on main.

🤖 Generated with Claude Code

2 earlier comments · 1 event
commented

<!-- look-pages f3222b5a598c --> Look pages for f3222b5, from the gate:

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

The dock, the fold and the Code and Diff tabs do what the issue asks, with tests, a docs/features entry, a terminal screen and area docs. One fix is needed first: the Changed here links break on file names with reserved characters (see the comment on src/web/talk_code.ts line 68). Please also check that the Explorer tree links and the diff's fileLinkBase encode paths the same way. I found nothing else on security: output goes through the html template, the answer posts are same-origin form posts to the existing confirm routes, and no new egress or dependency was added.

commented

Steward note: new head f8e63305, one commit on main, answering the review: the "Changed here" links encode each path segment the way the code browser does, and the Explorer tree links and the diff's file links use the same encoding; a test covers file names with a space, a # and a %. The commit body has the detail.

commented

<!-- look-pages f8e63305cbcd --> Look pages for f8e6330, from the gate:

  • look pages (named): this pull changes src/web/diff-view.ts, src/web/icons.ts, src/web/pages/explorer.ts; a commit names /talk
Approved

Approved. The earlier encoding fault is fixed: Changed here, the Explorer tree and the diff's file links all go through urlPath, and a test covers a space, a # and a %. The ask dock works without JavaScript (the buttons carry formaction and post to the existing same-origin confirm routes). It is above the composer, so a long reply can't push it off screen. Touch targets are 2.75rem and the stack is capped at a third of the screen. The dock is announced politely and once. The fold, the terminal screen, docs/features/talk.md and the area docs are all there, and design-lint is clean.

Two things I'd do next:

  1. An ask that ran out still renders as a bordered .talk-confirm box in the thread. Principle 6 says a hairline, not a box. Make it a plain row with Ask again.
  2. The Code/Diff tab fetch in talk_client.ts falls back silently to 'Could not load that' on failure. Say which tab, and keep focus on the tab that was chosen. /talk JS is up about 2 KB, so look for room in the next change to the file.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs