fix(coach): account for every stored table and keep table controls on screen

A withheld table now leaves a line saying why (module off, or the stored
tables could not be read) and a failed read shows an error row with a
retry, so the Data used count matches what is listed. A table copied from
an earlier answer names that answer's date under its title. The preview
shows the latest twelve periods of a time series, and the truncation note
says the latest rows are kept, which is what the server keeps. The title,
copy and view controls sit above the scrolling table with the title kept
as a hidden caption, and a reply with tables takes the full column width.

The step headers and the related-metric chip read as label: value in all
seven locales, so a metric name no longer sits capitalised mid-sentence.
This commit is contained in:
Marc-André Bombeck committed 2026-09-27 13:07:07 +02:00
1 parent 25ad1810c2
commit 9892088620
18 files changed
+761 -217

No files matched your search

+3
View File
@@ -26,6 +26,8 @@ export function useCoachMessageResults(args: {
results: CoachResultEntry[] | undefined;
isLoading: boolean;
isError: boolean;
/** Read again after a failure. */
refetch: () => void;
} {
const { conversationId, messageId, enabled } = args;
const [node, setNode] = useState<HTMLElement | null>(null);
@@ -70,5 +72,6 @@ export function useCoachMessageResults(args: {
results: query.data,
isLoading: query.isLoading,
isError: query.isError,
refetch: () => void query.refetch(),
};
}