Skip to content

desktop: Soft Tactile transcript — bubbles, tool cards, indigo approval block, plan hand-off - #444

Open
plombeer31 wants to merge 1 commit into
facelift/1-foundationfrom
facelift/4-chat
Open

plombeer31 wants to merge 1 commit into
facelift/1-foundationfrom
facelift/4-chat

Conversation

@plombeer31

Copy link
Copy Markdown
Collaborator

Part of the Soft Tactile desktop redesign. Depends on #440 (base branch facelift/1-foundation); every region PR can merge in any order after it. The integrated build is facelift/integration.

Soft Tactile, transcript (CH-01…22, CH-24…26 and the system states as they appear in the chat). Builds on the foundation PR.

What changes

  • Empty chat: a lifted card with the app mark, Workspace / Provider / Model (with logos) / Build, and pill suggestion chips.
  • Messages: brand-blue user bubble (radius 22 22 6 22); the last message keeps labelled Send again and Copy, older ones reveal icon actions on hover.
  • Prose: 14.5px / 1.62; headings, lists, quotes, inline code, code blocks, links and file chips styled; markdown parsing untouched.
  • Reasoning: "› Reasoning · N steps" disclosure with the reasoning rule.
  • Tool cards: lifted cards with a green tick / red alert / pulsing brand glyph, mono name, ms duration, amber truncated, args preview, summary line, args / result wells; red ring on failure. Folded runs: "4 × os.fs.read_file", summed time, red "1 failed".
  • Approval: the indigo decision block — tool, kind with its auto-approve level, reason, preview well, affected file — with Approve (white), Deny (glass, focused on arrival) and Abort run. trust_config uses the deep red block. Resolved approvals collapse to a receipt pill (Approved / Denied / Denying… / Not denied).
  • Plan hand-off: run it · auto (amber), run it · bypass permissions (red), dismiss plan, with the caption.
  • System rows and notices: 13px secondary lines with a blue Switch provider link and ×N repeat chips; the session model stamp as a blue notice with Switch to it.

Verified

  • Trusted-input driver, 48/48: fold / unfold and card expand with the head held still, hover then Copy, Deny and Approve turning into receipts (Deny focused on arrival), dismiss plan, Switch provider opening the Provider popover, reasoning toggle, ghost chips filling without sending; the smoke's transcript assertions replayed through the same hooks.
  • failure-line.drive.mjs 5/5 (unreachable provider, real failure row with Switch provider).
  • Smoke on the merged build: same 4 known failures as a0811bc3.

…ck, notices, prose

Rewrites css/chat.css and the transcript markup for CH-01…26 / SY-*:
- empty chat: lifted plate card with the app mark, provider and model
  brand marks, pill ghost chips (data-fill kept)
- column 720px with 28px padding and 14px rhythm, a top fade mask on
  #scroller; rows keep the empty-gutter grid (track now 0px)
- brand user bubble; labelled Send again / Copy on the last message,
  hover icons elsewhere (opacity/pointer-events contract unchanged)
- prose 14.5/1.62, markdown blocks laid out as inline-blocks so the
  pre-wrap newlines stop adding blank lines; file chips as pills
- tool cards and folded runs: lift cards, status glyph discs, mono
  head, ellipsis args, red ring and "N failed" chip on failures
- approval: indigo decision block (critical block for trust_config),
  Approve white / Deny glass (focused) / Abort ghost; receipt pill
- plan hand-off as a card with chord keycaps drawn in CSS (labels
  stay verbatim); system rows with inline Switch provider link; the
  session model stamp as a blue notice inside its .sysrow
- end mark seated on the action row so turn end adds no height

Every id, class, data-* hook and compared text the drivers and the
smoke read is kept.
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