Files
openclaw/ui/src/styles/chat
Peter Steinberger 31d54a61fb fix(ui): one failed full-message load pins the truncated preview for the whole session (#123324)
* fix(ui): retry failed full-assistant-message loads instead of pinning the truncated preview

Since ce466fccb0 removed the manual Show-more toggle, a failed
loadFullAssistantMessage left {status:error} that no renderer reads and the
render-time kick-off never retried (it only fired when no expansion state
existed). One transient RPC failure pinned the '...(truncated)...' preview
for the rest of the session with no visible outcome. Retry on later render
passes while attempts remain, bounded by revision so a dead loader cannot
hot-loop.

* fix(ui): render a retry affordance once automatic full-message loads exhaust

Addresses ClawSweeper P2 on the bounded-retry fix: after
FULL_MESSAGE_RETRY_REVISION_LIMIT the truncated preview previously stayed
silent. The exhausted error state now renders an inline error line with a
Retry button that re-enters the canonical loader via the same toggle path;
the retry bound is a named shared constant.
2026-08-13 19:51:15 -07:00
..