Files
supabase/apps/studio/data
Claude 5ec4bd18b5 feat(storage): overlay archived files inline in the normal file explorer
Adds a "Show archived" option to the view-options dropdown in the file
explorer header (versioned buckets only). When enabled:

- Archived (soft-deleted) files show up in the folder they used to live
  in, alongside live objects — coalesced under a synthesized parent
  folder when the whole path is gone (an ancestor with no live
  descendants at that level). A live item of the same name always wins.
- Archived rows and synthesized folders render with a faint skewed
  stripes background + dimmed foreground so they read as
  "recoverable-not-active" at a glance, and their row-level actions
  dropdown is replaced by an "Archived" tag.
- Clicking an archived row swaps the normal preview slot for the
  archived-file preview panel (already used in the standalone Show
  archived view), so restore + permanently-delete actions live in one
  consistent place. Clicking a live row or opening a folder clears it.

The standalone "Show archived" view is unchanged and remains the
destination for bulk selection and cross-folder browsing.

Backed by getArchivedOverlayItems (with unit tests) which handles the
tolerance for the mock trash data's inconsistent originalPath/name
duplication, and skips synthesizing archived stand-ins when a live
item of the same name is already at that level.
2026-08-13 09:54:39 +00:00
..
2026-08-03 21:14:50 +07:00
2026-07-08 23:21:48 +08:00
2024-07-04 14:48:10 +08:00