fix(ui): break-words on coach prose, hero/wellness skeleton parity, priority-card pending state

Coach chat bubbles and the document OCR text panel wrapped long unbroken
tokens (URLs, IDs) past their column width on narrow viewports — add
break-words. Drop the /90 alpha on the coach error text so it stays on the
AA-retuned status token.

Today hero's loading skeleton had drifted from the v1.29.1 tightened hero
(gap/items-start/space-y/rail-heading/xl:grid-cols-3), causing a visible
shift on every dashboard load; mirror the loaded classes 1:1.

The wellness-scores strip returned null while its shared batch loaded,
so it popped in late and pushed the page below it down — render the
section heading + tile-shaped skeletons instead, matching the vitals
dashboard's loading pattern.

Priority-card actions (coach check-in keep/let-go) had no pending state,
so a slow round trip could be double-tapped into firing the mutation
twice; disable the action row while in flight. Priority-item dismiss is
now optimistic (removes the card from the rail on tap, rolls back on
error) instead of waiting on invalidate-after-success.
This commit is contained in:
Marc-André Bombeck committed 2026-07-18 03:52:32 +02:00
1 parent d2ad8e03e0
commit 66fe69b493
15 files changed
+138 -19

No files matched your search

@@ -255,7 +255,8 @@ export function DocumentSummaryPanel({
<p
className={cn(
"text-foreground text-sm",
output === "text" && "font-mono text-xs whitespace-pre-wrap",
output === "text" &&
"font-mono text-xs whitespace-pre-wrap break-words",
)}
>
{body}