trails/apps/planner/app/lib
Ullrich Schäfer 230094b956
Fix Yjs WebSocket in dev mode
- Add Vite plugin implementing y-protocols sync server for dev mode
- Fix useYjs hook: move provider creation into useEffect to survive
  React StrictMode remounts
- Fix WebSocket URL: use /sync as base (y-websocket appends room name)
- Verified in browser: Connected status, Host badge, awareness working

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-23 01:12:13 +01:00
..
brouter.ts Add BRouter proxy, rate limiting, and spec updates (tasks 5.1-5.2) (#11) 2026-03-22 22:43:47 +00:00
db.ts Add Drizzle ORM with shared db package (#10) 2026-03-22 22:35:50 +00:00
rate-limit.test.ts Add BRouter proxy, rate limiting, and spec updates (tasks 5.1-5.2) (#11) 2026-03-22 22:43:47 +00:00
rate-limit.ts Add BRouter proxy, rate limiting, and spec updates (tasks 5.1-5.2) (#11) 2026-03-22 22:43:47 +00:00
sessions.ts Add Drizzle ORM with shared db package (#10) 2026-03-22 22:35:50 +00:00
use-routing.ts Fix: recompute route on profile change 2026-03-23 00:58:31 +01:00
use-yjs.ts Fix Yjs WebSocket in dev mode 2026-03-23 01:12:13 +01:00
vite-yjs-plugin.ts Fix Yjs WebSocket in dev mode 2026-03-23 01:12:13 +01:00
yjs-server.ts Complete Planner session management (tasks 4.2, 4.6, 4.7) (#9) 2026-03-22 22:18:36 +00:00