T11c - Pull-to-Refresh + Swipe Gestures #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
T11c - Pull-to-Refresh + Swipe Gestures
Implemented mobile touch gesture support for the asset list:
Changes
#assetsListViewwith visual pull indicator (spinner, drag progress, "Release to refresh" label). Only activates when scrolled to top..asset-item-swipe-wrapitems reveals delete background. Swipe past 60px threshold to activate, snap-back otherwise.#undoToastappears at bottom with 5-second auto-dismiss. Undo button properly cancels the delayed deletion.body.has-mouseclass shows a 🔄 Refresh button in the toolbar. Mouse detection via mousemove event._ptrInitedand_swipeInitedguards prevent duplicate event listeners on tab switches.Bugs Fixed
let ptrStatedeclaration that caused SyntaxErrorswipeDeleteAssetundo callback to properly cancel the delayed API delete.ptr-indicatorand.swipe-item-wrapshowUndoToastto use dedicated#undoToastelementTest Results