project-nomad/admin/inertia
chriscrosstalk 97d70a493d
fix(content): refresh installed ZIMs when a download completes to prune ghost entries (#1099)
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-19 22:40:06 -07:00
..
app chore: standardize brand name to Project NOMAD, retire backronym 2026-07-18 09:56:54 -07:00
components feat(dashboard): add dismissable "What's new" banner for v1.34 (#1112) 2026-07-19 22:36:09 -07: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(maps): add notes input to map pin placement popup (#926) 2026-07-18 08:59:35 -07:00
layouts chore: standardize brand name to Project NOMAD, retire backronym 2026-07-18 09:56:54 -07:00
lib fix(downloads): add retry button and resource download link for failed downloads (#1059) 2026-07-18 09:25:42 -07:00
pages fix(content): refresh installed ZIMs when a download completes to prune ghost entries (#1099) 2026-07-19 22:40:06 -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