v1.7.13
Fix
Only preserve very recent optimistic lastVisited updates
- The previous logic was preserving client-side lastVisited values even when
- the server correctly indicated an item hadn't been visited (null). This caused
- items to incorrectly appear as visited when they weren't.
- Now the preservation logic only keeps client-side lastVisited if:
- 1. The value is very recent (within last 10 seconds) - indicating a true optimistic update
- 2. The server either has no lastVisited or an older value
- This ensures the server remains the source of truth while still allowing
- smooth optimistic updates for the brief window before the server catches up.
- 🤖 Generated with [Claude Code](https://claude.com/claude-code)
