Do a few iterations and see the image attached
Redesign reply composer
Read the screenshot (iPhone, dark, open reply form on a thread). What's wrong with the composer today, as I see it:
- The toolbar under the textarea wraps into three uneven rows at 390px:
[☑ Ask Claude] [+ Image] [fable 5.1]/[Kind auto]/[POST & RUN] [CANCEL]. Four different control languages on one row (checkbox + label, dashed button, filled select, bare "Kind" word + select). - The placeholder is two lines of 16px serif prose, so the empty field already looks busy.
- The textarea is a 10px-radius well with a 1px focus ring while every control under it is a 6px flat fill; the field and its toolbar don't read as one thing.
/threads/newalready solved half of this (one.run-chipwith Ask Claude | model, model only while ticked); the reply composer never got that pass.
Plan, "a few iterations" literally:
- Build a static mockup of the open composer that links the real
app/globals.css(no DB in the sandbox) and screenshot it at 390px dark + light and ~760px. - Iterate the design in that mockup, 3 rounds, posting a side-by-side after each so you can steer:
- R1 (tidy): port the new-thread toolbar: one run chip
[Ask Claude | model], "+ Image" and Kind as the same quiet mono chips, short one-line placeholder, Post & run / Cancel group unchanged. - R2 (one panel): textarea and toolbar become one panel: borderless text on top, a bottom bar with the chips left and Post / Cancel right, like a chat composer. Kind folded into the run chip (it's a triage hint).
- R3 (edit from feedback / pick): whichever reads best, refined for the phone case (Post & run stays a wide left-aligned thumb target, Cancel beside it, per the earlier decisions).
- R1 (tidy): port the new-thread toolbar: one run chip
- Implement the winner in
components/composer.tsx+app/globals.css(and keep/threads/newconsistent where the same classes are shared), commit and push.
Not changing: behaviour (sticky Ask Claude/model in localStorage, paste-to-upload, guest mode, Stop/Top in the collapsed dock), or the Post & run glyph.
Three iterations in a static mockup (real app/globals.css, 390px phone frames, dark and light; the three boards are attached):
- r0 reproduces your screenshot: three ragged rows of mismatched controls.
- r1 (port of the
/threads/newtoolbar, not in the board) only changed the row contents; at 390px it still wraps into three rows because[Ask Claude | model], a Kind chip and "+ Image" don't fit on one line. - r2: textarea + toolbar become one panel (the 5% ink fill, 10px radius, focus ring on the whole panel). Kind moves inside the run chip. Reads as one object, but "+ Image" still ends up alone on a row.
- r3b, the pick: r2 plus
- Kind lives in the run chip and only shows while Ask Claude is ticked (it's just an override of the decider's triage label,
lib/data.ts addHumanPost), so the unticked state is a single "Ask Claude" chip and a plain Post button. - the image control is a chip with a small image glyph; ≤560px it drops its "Image" label so the chips fit one row.
- the bar is two deliberate rows on phones (chips, then a wide left-aligned Post & run with Cancel beside it, per thread/4f9142c7 and thread/aebe948e) and a single row ≥561px.
- placeholder is one line, "Reply in the thread."; the extra guidance moves to a
titleon the run chip.
- Kind lives in the run chip and only shows while Ask Claude is ticked (it's just an override of the decider's triage label,
Implementing r3b in components/composer.tsx + app/globals.css now. The /threads/new form keeps its own card layout but will share the chip rules so the two toolbars match.
threadide@baf3916Shipped r3b on thread/7a55a291 (baf3916), pushed. Attached: the shipped CSS at 390px dark (ticked / unticked / guest), 760px light, and the /threads/new toolbar which shares the chip rules.
What changed
components/composer.tsx: the open form is one panel (form.compose.compose-panel): borderless textarea on top, then.compose-bar=.compose-tools(run chip, image chip, guest name field) +.compose-actions(Post / Post & run, Cancel). The run chip is[Ask Claude | model | kind]; model and kind only render while the box is ticked, so the unticked state is a single chip and a plain Post. Placeholders are one line each; the "tick Ask Claude if you want a run" guidance is now atitleon the chip.kindis only sent when Ask Claude is on.app/globals.css:.run-chiprules are no longer scoped to.new-thread; new "reply composer panel" block (fill +:focus-withinring on the whole panel, chips on--bg, phone rules: actions take a second full row with Post stretched and left-aligned, Cancel beside it; image chip drops its label ≤560px)..attach-btnlost the dashed frame and is a plain fill chip.components/attach-images.tsx: image glyph +span.attach-label(+.uploadingso "Uploading…" stays visible on phones).components/pulp-icons.tsx: own "image" glyph (frame, two mountains, sun; reads at 16px).
Decisions you may want to veto
- Kind only shows inside a ticked run chip. It is an override of the decider's triage label, so on a plain reply the decider labels the post as before. If you want Kind back for non-run replies, it's a one-line change in the composer (drop the
askClaude &&guard) and it will sit as a third select in the chip. - The image chip is icon-only on phones. If that's too hidden, un-hiding the label costs one row on 390px when Ask Claude is ticked.
Verified: npm run typecheck; mockups linking the real globals.css at 390/760px, dark and light. Not verified on a real iPhone (no WebKit here); the chip reuses the same native checkbox/select elements /threads/new already renders.
Iterations rejected along the way (so nobody re-tries them): r1 = port the new-thread row as-is (still 3 rows at 390px); r2 = panel with "+ Image" as a labelled chip (the chip alone on its own row).
Merged threadide #113 by @osebo (merge, c16770f).






