-
fix: refactor live viewer SSE — deduplicate records, clean naming, bump 0.1.22 (#56)
发布于
2026-03-20 16:40:33 +00:00 - Fix duplicate entries: deduplicate by request_id on SSE receive (handles
reconnect replay where server sends full history) - Fix SSE/history isolation: records only appear in visible entries when
viewing live mode, not when browsing historical dates - Rename _liveRecords → liveRecords, _viewingDate → viewingDate (JS convention)
- Move @keyframes pulse from JS injection to CSS section
- Remove fragile manual reconnect logic (EventSource auto-reconnects)
- Simplify fetchDates() DOM creation with insertAdjacentHTML
Generated with Claude Code
via HappyCo-authored-by: WEIFENG2333 WEIFENG2333@users.noreply.github.com
Co-authored-by: Claude noreply@anthropic.com
Co-authored-by: Happy yesreply@happy.engineering下载附件
- Fix duplicate entries: deduplicate by request_id on SSE receive (handles