Files
openclaw/ui
Peter Steinberger 7c1c4960c1 fix(ui): detect failed entry-stylesheet loads and self-heal with a reload (#110523)
A gateway in-place update can leave a document whose hashed entry CSS
404s while the app JS still boots, rendering a fully unstyled page that
no existing safety net catches (vite:preloadError only covers dynamic
imports; the index.html mount fallback only checks the custom element).

Add a CSS sentinel (--openclaw-css-ok) checked at document load plus a
capture-phase stylesheet error listener; on detection reuse the existing
stale-chunk auto-reload (one per build id, gateway probe), and fall back
to an inline-styled banner with a Reload button when auto-reload is
unavailable.
2026-07-18 08:33:29 +01:00
..