mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
Watch history was never loaded as part of the login cascade — it only loaded when the For You feed refreshed or the history tab was opened. So on login (and on other feeds) watched-video suppression and watch-history tags did nothing until the user navigated there. Kick off a non-blocking watchHistoryService.loadLatest() during the login list-sync (deliberately NOT in parallelListTasks, so the feed never waits for it). loadLatest schedules the background refresh, which emits "fingerprint" and the For You feed re-runs (feedCoordinator) to apply suppression once resolved. Deduped against the feed's own loadLatest via the in-flight refresh promise. Co-Authored-By: Claude Opus 4.8 <[email protected]>