Add PWA installability, system back button, swipe-to-queue/delete
Makes Stax installable via Add to Home Screen (manifest + service
worker, cobalt-themed icons incl. maskable variants), makes the
Android/browser back button close overlays one level at a time instead
of navigating away (useBackButtonClose, stack-based to handle nested
overlays correctly), and adds swipe gestures on Library rows: right to
queue (PlayerContext.addToQueue, appends without touching playback),
left to delete (confirm + calls the existing but previously
unwired DELETE /library/{file_id} endpoint).
Co-Authored-By:
Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
Showing
This diff is collapsed.
| ... | @@ -35,6 +35,7 @@ | ... | @@ -35,6 +35,7 @@ |
| "tailwindcss": "^4.3.3", | "tailwindcss": "^4.3.3", | ||
| "typescript": "~6.0.2", | "typescript": "~6.0.2", | ||
| "vite": "^8.2.0", | "vite": "^8.2.0", | ||
| "vite-plugin-pwa": "^1.3.0", | |||
| "vitest": "^4.1.10" | "vitest": "^4.1.10" | ||
| } | } | ||
| } | } |
public/apple-touch-icon.png
0 → 100644
3.07 KB
public/favicon-32.png
0 → 100644
504 Bytes
public/icon-192.png
0 → 100644
3.34 KB
public/icon-512.png
0 → 100644
13 KB
public/icon-maskable-192.png
0 → 100644
2.66 KB
public/icon-maskable-512.png
0 → 100644
10.7 KB
src/hooks/useSwipeAction.ts
0 → 100644