2594d5f7

By: Michael Lynch <git@mtlynch.io>

Extract swipe gestures into shared helper

Move the media page's touch tracking into a reusable browser helper that
emits swipeLeft and swipeRight events from any element marked with the
shared data attribute.

Add node:test coverage for the helper and run those tests from
check-frontend so the behavior stays covered in the normal frontend
validation path.

Suite timing

Time to Start Worker time Duration Time to finish
Config 0s 1s 1s 1s
Eval 1s 33s 33s 35s
Build 2s 2m27s 55s 58s
Test - - - -
Deploy - - - -
Suite 0s 3m02s 57s 58s

Timeline

0s10s20s30s40s50s