Commit Graph

11 Commits

Author SHA1 Message Date
alan 5cb43b6dc8 Make chat reasoning a footer chip that opens a live sheet like tools 2026-10-24 18:13:03 +01:00
alan b355679507 fix(chat): place per-message reasoning left of the tools count 2026-10-24 11:47:07 +01:00
alan ac75da12e4 test(app): benchmark populated chat Back and document UX review 2026-10-24 11:24:47 +01:00
alan da44001ab2 perf(chat): reuse unchanged markdown render trees 2026-10-24 11:12:47 +01:00
alan fa818341cf fix(chat): keep provided reasoning visible during live replies 2026-10-24 01:59:52 +01:00
alan f2aa559d0e feat(app): chat reasoning is a chip beside the tool chip, opening its own sheet 2026-10-23 16:22:31 +01:00
alan 522729ad57 feat(app): chat turns show reasoning above the answer and tool calls as one chip with a formatted call sheet, as the web 2026-10-23 15:52:51 +01:00
alan c46a46ee14 fix(app): chat turns are content-sized bubbles without role labels, as the web 2026-10-23 15:43:07 +01:00
alan a5afc55a9d feat(app): render native transcript markdown
Port the web markdown subset to a pure Dart parser and a native
Material/Cupertino block renderer, with a caller seam for assistant text
parts and safe http(s) link activation.

- parser: entities, paragraphs, H1-H6, fenced code, quotes, lists, tables,
  rules, inline code/emphasis/links; entity overflow stays literal
- renderer: host text roles, inline/fenced code fills, table header fill,
  heading level and list/columnHeader semantics, horizontal code/table
  scrolling, native selection
- tests cover parser safety, both hosts, the seam and real taps
- probe plus note record the web evidence and remaining limits
2026-10-21 23:34:33 +01:00
alan 2088d4607e fix(app): preserve unknown user parts and native transcript typography 2026-10-21 21:12:50 +01:00
alan 9e4a925587 feat(app): add native chat transcript message row
Render one transcriptRows row with native controls: role-labelled user and
agent messages, verbatim user text, client and attachment names (own name,
URI basename, else file), ordered agent parts, and collapsed reasoning, tool
and unknown-part bodies using ExpansionTile or a Cupertino disclosure.

Blank known parts draw nothing so they no longer fall through to the
unknown-part disclosure; closed bodies build lazily. Adds focused widget
tests, the fixture probe pair and the C2 evidence note.
2026-10-21 20:44:00 +01:00