docs(agents): stash sort/search, public preview, bulk actions

This commit is contained in:
SkateSpots 2026-09-29 22:31:47 +07:00
parent 1311f699f9
commit 03c960456f

View file

@ -794,7 +794,17 @@ session with **no other memory of this project**. So:
decrypted list.** Also added **Export/Import** on `/stash` (`Backup & decrypted list.** Also added **Export/Import** on `/stash` (`Backup &
transfer` card, desktop sidebar + mobile): export writes a JSON you control; transfer` card, desktop sidebar + mobile): export writes a JSON you control;
import appends in ONE re-encrypt, skipping title+category+size duplicates import appends in ONE re-encrypt, skipping title+category+size duplicates
(`importItems`). (`importItems`). **UX pass (same date):** the filter bar gained a **Sort**
(Newest / Value / Condition / A–Z) and search now includes **`size`**; a
**"Public stash"** card lists which items are public (with the profile link
for "see what others see"); and **bulk actions** — a header **Select** toggle
puts rows/cards into multi-select (checkbox, click-to-toggle, per-item
actions hidden) with a fixed action bar: **Public / Private / For sale /
Remove** (`bulkSetVisibility`/`bulkSetForSale`/`bulkRemove`, each ONE
re-encrypt) + a bulk-delete AlertDialog; showcase sync/unpublish runs per
affected item. **Still open:** the multi-device conflict guard (the stash is
still one last-write-wins blob — per-item events are the real fix) and WTB
unification (stash Want tab vs marketplace `wtb` listings).
- **Offline map tiles (done 2026-09-28):** `lib/tileCache.ts` (Dexie - **Offline map tiles (done 2026-09-28):** `lib/tileCache.ts` (Dexie
`SkateSpotsTilesDB`, bounded: ≤3000 tiles, ≤500 KB each, oldest-used pruned) `SkateSpotsTilesDB`, bounded: ≤3000 tiles, ≤500 KB each, oldest-used pruned)
+ `lib/cachedTileLayer.ts` (an `L.TileLayer` subclass that reads through it), + `lib/cachedTileLayer.ts` (an `L.TileLayer` subclass that reads through it),