feat(coach): result table with copy for a spreadsheet or as text

The table shows its caption, scoped headers, right-aligned tabular
numbers and a dash for a missing reading, twelve rows before Show all.
Copy writes TSV and an HTML table together, falling back to TSV, with
formula starts neutralised and separators flattened inside cells.
This commit is contained in:
Marc-André Bombeck committed 2026-09-27 11:54:31 +02:00
1 parent a967ccac44
commit 47efdd6606
6 files changed
+763 -7

No files matched your search

@@ -174,6 +174,12 @@ const PINNED_AFFORDANCES: Record<
"toast.success": 1,
},
"src/components/insights/coach-panel/chat-bubble.tsx": { "text-success": 4 },
// The copy tick on a result table: shown only after the clipboard write
// resolved, so it reports a copy that happened; nothing is written to the
// record.
"src/components/insights/coach-panel/copy-table-button.tsx": {
"text-success": 1,
},
"src/components/insights/coach-panel/history-rail.tsx": {
"toast.success": 1,
},