Skip to content

fix(web): keep tool call summaries on one line - #1460

Merged
nixuuu merged 1 commit into
devfrom
style/tool-call-wrapping
Nov 29, 2026
Merged

nixuuu merged 1 commit into
devfrom
style/tool-call-wrapping

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

A long answer could wrap “answered by you” across two lines while a resolved countdown still occupied 8.5 rem of the transcript row. On a narrow timeline the empty countdown could occupy an entire second row.

Activity headers now keep the chevron, icon, preview and status on one line. Long previews use an ellipsis. Question summaries keep the additional-question count visible. In narrow rows the full answer and respondent are available on expansion, including the link to an answering agent. Active deadlines stay visible in the collapsed row. Decision cards in the composer and bot conversations keep their reserved countdown space.

Verification

  • Reproduced the reported layout in Chromium with the real work group and item components. At a row width of 693 px the long answered question went from 48 px to 28 px, matching the adjacent tool call. At a viewport width of 390 px the corrected row measured 44 px.
  • Checked short and long answers, multiple questions, deadlines in progress and at zero, long tool and parent-thread names, masked answers, keyboard expansion and the parent link. Covered viewport widths from 320 to 1024 px and narrow columns at 1280 px in dark mode with reduced motion.
  • Switched the same question from pending to answered at 820 and 320 px. Checked its header height, the bare-question label and the reserved countdown space in the shared decision-card header.
  • Ran the web package typecheck and formatted the edited Svelte files locally. The full verification gate runs in CI.

Copy audit

Existing labels carry over. “Waiting for you” also labels the compact waiting indicator. The additional-question count and status remain readable with a long answer. The author and routing information are available by touch and keyboard through the disclosure when the row is narrow.

Fixes: #387

Let question previews use the space released by a resolved deadline.
Keep live countdowns inline and show the respondent in the expanded
details when space is tight.

Fixes: #387
@nixuuu
nixuuu enabled auto-merge (squash) November 29, 2026 07:34
@nixuuu
nixuuu merged commit c993b35 into dev Nov 29, 2026
12 checks passed
@nixuuu
nixuuu deleted the style/tool-call-wrapping branch November 29, 2026 07:36
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