Skip to content

gardener: "Purge unavailable…" button label reads as "purge is unavailable" #655

Description

@genwave-radio

🐛 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

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low prioritybugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions