You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first real operator to see the dead-files section read the button "Purge unavailable…" as a status ("purging is unavailable") and went looking for what disabled it — guessed the FileActions compose overlay. It is a verb phrase: "purge the unavailable tracks."
🔎 Facts
It is gh-Need a way to purge orphaned/removed track records #113's catalog purge reused (admin-ui/app/(authed)/_components/PurgeUnavailableAction.tsx, shared at T378 review MED-2): dry-run count → confirm dialog → deletes DB rows unavailable >7 days, ratings/rotation/findings via cascade. Never touches files; unrelated to FileActions or /media:ro.
GardenerSection.tsx:57 passes title="Purge unavailable" / triggerLabel="Purge unavailable…"; the catalog call site has its own copy ("Purge hidden tracks…") — the label props are the only thing to change.
🔧 Fix direction
Verb-first copy that names the object, e.g. "Purge dead tracks…" — or name the live count once fetched. Copy-only change at the two call-site props; Dean's capitals rule applies.
🐛 Symptom
The first real operator to see the dead-files section read the button "Purge unavailable…" as a status ("purging is unavailable") and went looking for what disabled it — guessed the FileActions compose overlay. It is a verb phrase: "purge the unavailable tracks."
🔎 Facts
admin-ui/app/(authed)/_components/PurgeUnavailableAction.tsx, shared at T378 review MED-2): dry-run count → confirm dialog → deletes DB rows unavailable >7 days, ratings/rotation/findings via cascade. Never touches files; unrelated to FileActions or/media:ro.GardenerSection.tsx:57passestitle="Purge unavailable"/triggerLabel="Purge unavailable…"; the catalog call site has its own copy ("Purge hidden tracks…") — the label props are the only thing to change.🔧 Fix direction
Verb-first copy that names the object, e.g. "Purge dead tracks…" — or name the live count once fetched. Copy-only change at the two call-site props; Dean's capitals rule applies.