project-nomad/admin/inertia
Chris Sherwood 91428bb08d fix(content): refresh installed ZIMs when a download completes to prune ghost entries
The Content Explorer remote list already filters out installed ZIMs client-side
(flatData excludes localNames), but the installed-files query has
refetchOnWindowFocus disabled and was never invalidated on download completion.
So when a ZIM finished downloading it dropped off the active-downloads list
(isDownloading -> false) while localFiles stayed stale (isPresent -> false),
letting the just-installed ZIM reappear as a ghost entry until the page remounted.

Add an effect that invalidates the ['zim-files'] query whenever a job drops off
the polled downloads list, so the completed install is picked up and pruned.

Fix originally diagnosed by @johno10661 in #771; reimplemented focused onto
current dev (the accumulated-page/filter groundwork already landed via #731).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 15:51:17 -07:00
..
app fix(ui): reduce SSE reconnect churn and polling overhead on navigation 2026-03-20 11:46:10 -07:00
components feat(RAG): adds the ability to cancel all embedding jobs (#1034) 2026-06-23 04:47:11 +00:00
context feat: container controls & convienience scripts 2025-08-08 15:07:32 -07:00
css feat(maps): add scale bar and location markers (#636) 2026-04-03 14:26:50 -07:00
hooks feat(content): opt-in automatic updates for installed ZIM & map content 2026-06-23 04:47:01 +00:00
layouts feat: configurable internet test url override in new Advanced Settings page 2026-06-23 04:47:10 +00:00
lib feat(RAG): adds the ability to cancel all embedding jobs (#1034) 2026-06-23 04:47:11 +00:00
pages fix(content): refresh installed ZIMs when a download completes to prune ghost entries 2026-07-13 15:51:17 -07:00
providers feat(UI): add Night Ops dark mode with theme toggle 2026-03-20 11:46:10 -07:00
tsconfig.json fix(Docs): documentation renderer fixes 2025-12-23 16:00:33 -08:00