#279: "Deleted files" admin topic — Retention tab, never-delete checkbox, auto-purge relocation (v0.6.48) #282

Merged
Cordy merged 3 commits from feat/trash279 into main 2026-08-19 18:58:31 +00:00
Owner

First child of epic #278, per the signed-off mockup.

Zero backend change. The scout showed trashAutoPurgeAfter already is the trash retention window and trashAutoPurge is off by default (#77: "automatic deletion must be deliberate") — so the epic's "disable final deletion" checkbox is the inverse presentation of the existing setting, and this ships as pure UI reorganization:

  • New Administration topic Deleted files (#admin/trash) under Instance, right after Retention & holds. Tabs: Retention (live), Manual purge / Purge log (honest stubs pointing at #280/#281).
  • Retention tab: the keep-duration select first (gains a 60-days preset + a hint folding in the old auto-purge caveats: retention/holds always win, every automatic deletion is audited), then the deliberate "Never delete automatically" checkbox (checked = trashAutoPurge:false, today's default → nothing changes on upgrade), then a warning notice about unbounded growth and quota pressure, visible only while checked. Checking disables the select; save maps the inverse back onto trashAutoPurge.
  • Retention & holds slims to Retention + Legal holds — the Auto-purge tab, pane, save button and i18n are gone; the settings fields relocate via SET_SLOTS into the new pane.
  • Deep link #admin/trash[/retention|purge|log] works through the standard shell machinery (proper data-topic tabs — no #171-style wiring hijack possible).
First child of epic #278, per the signed-off mockup. **Zero backend change.** The scout showed `trashAutoPurgeAfter` already *is* the trash retention window and `trashAutoPurge` is off by default (#77: "automatic deletion must be deliberate") — so the epic's "disable final deletion" checkbox is the inverse presentation of the existing setting, and this ships as pure UI reorganization: - New Administration topic **Deleted files** (`#admin/trash`) under Instance, right after Retention & holds. Tabs: **Retention** (live), **Manual purge** / **Purge log** (honest stubs pointing at #280/#281). - Retention tab: the keep-duration select first (gains a 60-days preset + a hint folding in the old auto-purge caveats: retention/holds always win, every automatic deletion is audited), then the deliberate **"Never delete automatically"** checkbox (checked = `trashAutoPurge:false`, today's default → nothing changes on upgrade), then a warning notice about unbounded growth and quota pressure, visible only while checked. Checking disables the select; save maps the inverse back onto `trashAutoPurge`. - **Retention & holds slims to Retention + Legal holds** — the Auto-purge tab, pane, save button and i18n are gone; the settings fields relocate via SET_SLOTS into the new pane. - Deep link `#admin/trash[/retention|purge|log]` works through the standard shell machinery (proper `data-topic` tabs — no #171-style wiring hijack possible).
Cordy merged commit 2e3dd55707 into main 2026-08-19 18:58:31 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#282
No description provided.