From ed21b933201dcc2df31bc2dd6605307f3ddb4ef6 Mon Sep 17 00:00:00 2001 From: npeter83 Date: Mon, 29 Jun 2026 02:40:32 +0200 Subject: [PATCH] fix(search): refresh feed after returning from YouTube search MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A live search ingests new catalog videos, but the normal feed query was disabled during search mode and kept its pre-search cache — so 'Back to feed' showed the stale (often empty) result until a manual reload. Drop the feed / feed-count / facets caches when leaving search mode so the feed re-fetches fresh and immediately reflects the just-ingested videos. --- frontend/src/components/Feed.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Feed.tsx b/frontend/src/components/Feed.tsx index 59e1697..1fbadee 100644 --- a/frontend/src/components/Feed.tsx +++ b/frontend/src/components/Feed.tsx @@ -284,7 +284,15 @@ export default function Feed({