OG T
c5db6520c8
perf(web): P1 前端優化 - 移除 Polling + CSS Cursor Blink
Phase 8.0 #15-17 前端效能優化:
#15 Sidebar Polling → SSE:
- 移除 30s setInterval polling
- 改用 useApprovalStore SSE 驅動的 pendingApprovals
- 新增 mounted check 防止 hydration mismatch
#16 Cursor Blink DOM Bypass:
- thinking-stream.tsx: setInterval → animate-pulse
- ai-thinking-panel.tsx: 移除 cursorVisible state
- clawbot-panel.tsx: 移除 cursorVisible state
- openclaw-panel.tsx: 移除 cursorVisible state
#17 Hydration Fix:
- sidebar.tsx badge 加入 mounted check
結果: -46 行代碼 (移除不必要的 setState/setInterval)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-29 15:09:44 +08:00
..
2026-03-28 18:04:12 +08:00
2026-03-22 18:57:44 +08:00
2026-03-23 01:19:08 +08:00
2026-03-29 15:09:44 +08:00
2026-03-29 01:28:35 +08:00
2026-03-29 01:19:26 +08:00
2026-03-24 15:19:52 +08:00
2026-03-22 18:57:44 +08:00
2026-03-24 15:33:36 +08:00
2026-03-22 18:57:44 +08:00
2026-03-24 15:19:52 +08:00
2026-03-28 18:04:12 +08:00
2026-03-22 18:57:44 +08:00
2026-03-22 18:57:44 +08:00
2026-03-24 16:16:34 +08:00
2026-03-24 15:19:52 +08:00
2026-03-24 15:19:52 +08:00
2026-03-28 18:04:12 +08:00
2026-03-22 18:57:44 +08:00
2026-03-24 15:19:52 +08:00