commit c1fee8649d70172ccf29b1aa0a4f51bd5b677072
parent 8799798de8afc77cc4f9faca8edf751b9fc5d4c7
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Fri, 25 Sep 2026 20:35:38 -0400
common: the merged hub list keeps its identity until the ready set changes
A manifest landing for another archive no longer hands the search session a new
summaries array (each new identity re-runs the current search).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/common/components/SearchDataContext.tsx b/common/components/SearchDataContext.tsx
@@ -411,8 +411,11 @@ export function MultiSiteDataProvider({
a.id.localeCompare(b.id),
);
return out;
+ // Only the ready set: a ready archive's pages never change, so a manifest
+ // landing elsewhere (a new pageDescriptors) must not hand the session a new
+ // list — every new identity re-runs the current search.
// eslint-disable-next-line react-hooks/exhaustive-deps
- }, [readyKey, pageDescriptors]);
+ }, [readyKey]);
// 5. One channel group per in-scope site; channels keyed by
// makeId(origin, slug), from every in-scope manifest that has arrived.