trails/apps/planner/app/lib
Ullrich Schäfer 9b4f4c6759
Add multiplayer awareness: participant list, name editing, cursor styling, join/leave toasts
Implement the planner-multiplayer-awareness OpenSpec change:

- Add setUserName to use-yjs.ts that persists to localStorage and syncs via awareness
- Create ParticipantList component showing all session participants with color dots,
  host badge, and inline name editing for the local user
- Replace plain text cursor labels with SVG pointer arrows and styled name tags
  (colored background, drop shadow, rounded corners, z-index below map controls)
- Track awareness add/remove events and display auto-dismissing toasts (3s)
  when participants join or leave the session
- Add i18n keys for participant UI in English and German

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 08:40:35 +01:00
..
brouter.test.ts Fix waypoint drag, host election, segment routing, debug panel 2026-03-23 08:52:52 +01:00
brouter.ts Fix waypoint drag, host election, segment routing, debug panel 2026-03-23 08:52:52 +01:00
db.ts Add Drizzle ORM with shared db package (#10) 2026-03-22 22:35:50 +00:00
host-election.test.ts Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
host-election.ts Fix waypoint drag, host election, segment routing, debug panel 2026-03-23 08:52:52 +01:00
rate-limit.test.ts Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01: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 Use explicit .ts extensions for Node-compatible imports 2026-03-25 01:34:16 +01:00
use-routing.ts Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
use-yjs.ts Add multiplayer awareness: participant list, name editing, cursor styling, join/leave toasts 2026-03-25 08:40:35 +01:00
vite-yjs-plugin.ts Fix waypoint drag, host election, segment routing, debug panel 2026-03-23 08:52:52 +01:00
yjs-server.ts Fix Yjs WebSocket server to use sync protocol 2026-03-25 02:24:13 +01:00