Skip to content

LocalJam v2026.09.062

Choose a tag to compare

@github-actions github-actions released this 16 Sep 04:30
Immutable release. Only release title and notes can be modified.

LocalJam v2026.09.062

Live Deployment & App Access

Commit Details

Subject: feat(gestures): add pointer gesture classifier and DOM binder
Date: 2026-09-15 21:30:24 -0700

Commit Message

Implement pure gesture recognition (tap, double-tap, horizontal/vertical
swipe, and long-press) and Pointer Events DOM binder for the minimalist UI:

  • src/ui/gestures.js: export thresholds (TAP_MAX_PX=10, TAP_MAX_MS=500,
    DOUBLE_TAP_MS=300, DOUBLE_TAP_MAX_PX=24, SWIPE_MIN_PX=48, SWIPE_MAX_MS=800,
    SWIPE_AXIS_RATIO=1.5, LONG_PRESS_MS=500), classifyPointerGesture,
    isLongPress, and attachGestures with timer cleanup and pointer capture
  • test/ui/gestures.test.js: 14 unit tests covering gesture classification,
    boundary thresholds, long-press cancellation, double-tap deferral,
    four-direction swipe dispatch, unbind timer/listener cleanup, and cancel