openclaw/ui
Dave Lauer 8b3e3a4b96 feat(ui): add compaction indicator and improve event error handling
Compaction indicator:
- Add CompactionStatus type and handleCompactionEvent() in app-tool-stream.ts
- Show '🧹 Compacting context...' toast while active (with pulse animation)
- Show '🧹 Context compacted' briefly after completion
- Auto-clear toast after 5 seconds
- Add CSS styles for .callout.info, .callout.success, .compaction-indicator

Error handling improvements:
- Wrap onEvent callback in try/catch in gateway.ts to prevent errors
  from breaking the WebSocket message handler
- Wrap handleGatewayEvent in try/catch with console.error logging
  to isolate errors and make them visible in devtools

These changes address UI freezes during heavy agent activity by:
1. Showing users when compaction is happening
2. Preventing uncaught errors from silently breaking the event loop
2026-01-23 05:52:04 +00:00
..
public feat(ui): add favicon.ico from Mac app icon (#305) 2026-01-06 10:41:19 -06:00
src feat(ui): add compaction indicator and improve event error handling 2026-01-23 05:52:04 +00:00
index.html fix(ui): landing cleanup (#475) (thanks @rahthakor) 2026-01-09 19:53:32 +01:00
package.json feat: enforce device-bound connect challenge 2026-01-20 13:04:19 +00:00
tsconfig.json fix(control-ui): serve dashboard at root 2025-12-19 05:11:08 +00:00
vite.config.ts fix(ui): default to relative paths for control UI assets 2026-01-09 15:32:55 +01:00
vitest.config.ts chore: update deps and add control ui routing tests 2025-12-30 14:30:46 +01:00