Web UI: trash panel (list / restore / purge) #42

Merged
Cordy merged 1 commit from feat/trash-ui into main 2026-07-26 15:19:22 +00:00
Owner

Trash shipped API-only in v0.2.7; this adds the UI, mirroring the app-passwords panel pattern:

  • Trash toolbar button, feature-detected (GET /api/v1/trash → hidden when storage.trash is off).
  • Dialog lists entries newest-first (path, deleted time, size), each with restore (refreshes the file listing on success) and delete forever (confirm-gated purge).
  • Errors surface in the status line (e.g. 409 restore conflict when the original path is occupied).

Verified inline during the patch: markers + node --check on the extracted script.

Trash shipped API-only in v0.2.7; this adds the UI, mirroring the app-passwords panel pattern: - **Trash** toolbar button, feature-detected (`GET /api/v1/trash` → hidden when `storage.trash` is off). - Dialog lists entries newest-first (path, deleted time, size), each with **restore** (refreshes the file listing on success) and **delete forever** (confirm-gated purge). - Errors surface in the status line (e.g. 409 restore conflict when the original path is occupied). Verified inline during the patch: markers + `node --check` on the extracted script.
web: trash panel (list / restore / purge), feature-detected
All checks were successful
ci / test-and-build (pull_request) Successful in 19s
8d8ede7f0a
Cordy merged commit aec15bfba2 into main 2026-07-26 15:19:22 +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#42
No description provided.