fix(trash): align restore visuals with trash state and flow - #1119
JoeJoeflyn wants to merge 1 commit into
Conversation
- use an undo-style icon for restore actions and the confirm dialog - show trash fill level in the sidebar icon (low/half/full by item count) - open the trash lid during delete and restore flights - drop ring, disc, and count badge chrome from flying icons - release restored items upward when viewing Trash instead of flying them from the sidebar button onto disappearing rows - animate restore only after the confirmation modal is accepted
|
request-changes on Production change matches #1118 (restore uses
Keep |
Description
Fixes several misleading or missing trash/restore visuals reported in #1118:
undo-2icon.Visual evidence
screenrecording-2026-09-18_20-20-10.mp4
Pending owner upload —
ghcannot attach images. Local captures:/tmp/strata-trash-fill-levels.png— sidebar icon progression: empty / low (1–4) / half (5–14) / full (15+)How to test
Expected result: restore uses the undo glyph, the sidebar icon tracks trash contents, flyers show no ring/disc/badge, restore-in-Trash animates items leaving upward after confirmation, and reduced-motion settings skip all flight animation.
Related issue
Closes #1118