Files
chatkit/demo
CatoandClaude Sonnet 5.5 88451af7db fix(table): words are never cut — tables and stack tiles keep every word whole (0.14.1) (#26)
* feat(feedback): thumbs under every answer, and the chat-review contract (0.14.0)

The feedback loop between a chat and the people improving it, as a package:

- Under every answer a thumb up and a thumb down (`onFeedback` on ChatThread,
  or `messageId` + `onFeedback` on AnswerActions). A thumb down opens a sheet
  that asks why — one tap on a reason from FEEDBACK_REASONS, words optional,
  then Send — so the product learns what the person wanted, not only that
  it failed. Nothing is sent until they send it. Every label is translatable.
- The nightly judge's contract in core: CHAT_REVIEW_INSTRUCTION, the
  ChatTranscript a product exports (turns with the assistant's steps, plus
  the thumbs), reviewPrompt(scope, transcript), and parseChatReview reading
  the verdicts back strictly (score 1–5, gaps from REVIEW_GAPS — dead_end,
  wrong_tool, no_web, misread, vague, no_next_step… — and one concrete fix).
  Loki runs the judge and files each gap into its feedback inbox.
- Icon-only actions are a full 44px wide, not only tall.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

* fix(thread): the "Thought for" summary is a 44px target on a phone

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

* fix(table): words are never cut — tables and stack tiles keep every word whole (0.14.1)

Substrata's answer table at 390px read "Te / rm" and "Di / re / ct / or / y"
(2026-10-22): .ck-md sets overflow-wrap: anywhere so a long URL cannot push
the thread wider, but `anywhere` also lowers a table cell's minimum width to
one letter, so a three-column table squeezed its first column to nothing.

- Tables: overflow-wrap normal inside the table, so a word is the smallest a
  column can be; columns share the width by wrapping at spaces; when even
  the words do not fit the wrapper scrolls, with a shadow on the edge that
  has more.
- Stack figure: tiles are a wrapping flex row that asks for its share of the
  width but never less than its longest word, so "three across" becomes "two
  and one" on a narrow screen instead of cutting "Manufacture" (320px).
- test/browser.mjs: every word of every answer is measured in a Range at 320,
  390 and 1280px and must sit on one line. The demo carries the table from
  the screenshot; the check fails on the old stylesheet (Term, Directory,
  Finding, Humans, Engineers, specialists, Manufacture).
- The "thumb down asks why" check measured a button mid-way through the sheet's
  opening animation (43.9px); it now waits for the animations to finish.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-22 22:49:22 +02:00
..