From d06a7a9bb689849b2b7beced2606ceb98513f4bb Mon Sep 17 00:00:00 2001 From: Fuwn Date: Wed, 15 Apr 2026 01:18:00 +0000 Subject: feat(cache): instant list revalidation from command palette and debug menu Replaces one-shot boolean revalidateAnime with a counter store so multiple components can subscribe without race conditions. Adds revalidateManga store and reactive refresh blocks to DueAnimeList and MangaListTemplate. Extracts shared invalidateListCaches function used by both the command palette action and the debug settings button. Renames palette item to "Refresh" and debug button to "Invalidate". --- src/stores/revalidateAnime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/stores/revalidateAnime.ts') diff --git a/src/stores/revalidateAnime.ts b/src/stores/revalidateAnime.ts index acbbf367..db3ccb2d 100644 --- a/src/stores/revalidateAnime.ts +++ b/src/stores/revalidateAnime.ts @@ -1,5 +1,5 @@ import { writable } from "svelte/store"; -const revalidateAnime = writable(false); +const revalidateAnime = writable(0); export default revalidateAnime; -- cgit v1.2.3