refactor(swipe): split swipe screen modules

Move swipe screen logic into hooks/services and extract
state-specific UI components to keep files small while
preserving existing behavior.

Reference: US-002
This commit is contained in:
jjbrunton committed 2026-01-25 21:05:54 +00:00
1 parent 209dc652d2
commit 8d4d9d8750
55 files changed
+11127 -1681

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
#!/bin/bash
# Get the directory where this script is located
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Change to the script directory
cd "$SCRIPT_DIR"
# Parse command line arguments
HEADLESS=false
while [[ "$#" -gt 0 ]]; do
case $1 in
--headless) HEADLESS=true ;;
*) echo "Unknown parameter: $1"; exit 1 ;;
esac
shift
done
echo "Installing dependencies..."
npm install
echo "Starting dev-browser server..."
export HEADLESS=$HEADLESS
npx tsx scripts/start-server.ts