UI: interactive back-swipe (left-band, snapshot backdrop) #40
Reference in New Issue
Block a user
Delete Branch "feature/ui-interactive-back-swipe"
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?
Interactive "swipe right to go back" gesture replacing the old 24px edge-swipe.
Behaviour (settled in interview):
Shape: pure decision logic + per-gesture controller in
lib/backswipe.ts(unit-tested); DOM wiring, hit-test and settle animation inlib/backswipe.svelte.ts;App.svelterenders the backdrop and binds the transforms.parentPathis now the single source for both the Telegram button and the swipe. Old per-screen edge-swipe removed fromScreen.svelte.Tests:
backswipeunit (13) + e2e (3 — Chromium+WebKit: commit returns to lobby, zoomed-in board skips, vertical drag scrolls). Docs:UI_DESIGN.mdBack bullet. Full UI gate green locally (check, unit 157, build, bundle-size 75.9/100 KB gzip, e2e 86).Abandoning the interactive back-swipe: too unstable (flickering from two live panes under manual transform + async route swap). Rolling back in favour of a simple widened edge-swipe on a fresh branch.
Pull request closed