myYouTube/tests
vrubelroman 90eb012e0d Show saved-video counts (not channel counts) in the Saved page sidebar
GET /api/feed/saved-counts aggregates, per category, how many videos have
a completed download (using each video's latest job only, same rule as
the existing ?downloaded=true feed filter). CategoryNav gains an optional
categoryCounts override so Feed/Channels keep showing channel_count while
Saved shows this instead.

Query key ['feed', 'saved-counts'] deliberately nests under 'feed' so
DownloadButton's existing invalidateQueries({queryKey: ['feed']}) on
download/delete refreshes these counts too, with no extra wiring.

1 new backend test (77 total).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 20:41:20 +00:00
..
conftest.py Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
test_auth.py Implement Phase 6: MeTube download integration 2026-09-16 18:56:17 +00:00
test_categories.py Implement Phase 6: MeTube download integration 2026-09-16 18:56:17 +00:00
test_channels.py Add delete-downloaded-video and real YouTube unsubscribe 2026-09-16 19:47:35 +00:00
test_download_jobs.py Fix download status flapping: only the 'completed' event is terminal 2026-09-16 19:09:18 +00:00
test_duration.py Implement Phases 1-5: skeleton, OAuth, categories, video sync/feed, playback 2026-09-16 18:44:30 +00:00
test_feed.py Show saved-video counts (not channel counts) in the Saved page sidebar 2026-09-16 20:41:20 +00:00
test_health.py Implement Phase 6: MeTube download integration 2026-09-16 18:56:17 +00:00
test_metube_client.py Implement Phase 6: MeTube download integration 2026-09-16 18:56:17 +00:00
test_sync.py Add delete-downloaded-video and real YouTube unsubscribe 2026-09-16 19:47:35 +00:00
test_videos.py Fix delete not finding the download: wrong id sent to MeTube's /delete 2026-09-16 20:14:43 +00:00
test_youtube_client.py Add delete-downloaded-video and real YouTube unsubscribe 2026-09-16 19:47:35 +00:00