forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on c35a83aa3f65a20c8a2fdfd2dfdb3e35878741b5Filtered to src/lib/board-stroke-codec.tsClear filter

2026-08-01

feat: ✨ collaborative whiteboard + accent-color backend sync - boards API domain (src/api/boards): create/list/read, current-epoch strokes, full history + epoch index, patch (title/roster/lock), clear, close, delete — with mandatory domain tests - board-stroke-codec: Stroke <-> segmented wire payload in board-space, split under the 4096B cap, reassembled by sid; unit-tested - live canvas (whiteboard-canvas) reusing draw-stroke primitives: pen/eraser/colour/width + pan/zoom, onStroke emit + remote-apply controller - board room WS component modelled on exam-room-ws: join/resync, optimistic draw with resync-from-REST on reject, id dedupe, backoff reconnect - whiteboards list page (create side-panel + participant picker, parents excluded) and board room page (creator commands, roster, epoch replay via DrawingPlayback) - router routes /whiteboards and /whiteboards/$id, nav entry (minRole student), tr/en messages - accent-color sync: palette_color on User + PatchMyPreferences body; setPaletteColor persists to PATCH /users/me/preferences ("" clears), hydratePreferences seeds it on login; users API testsBurak Boduroğlu · 58593cc
feat: ✨ collaborative whiteboard + accent-color backend sync
- boards API domain (src/api/boards): create/list/read, current-epoch
  strokes, full history + epoch index, patch (title/roster/lock), clear,
  close, delete — with mandatory domain tests
- board-stroke-codec: Stroke <-> segmented wire payload in board-space,
  split under the 4096B cap, reassembled by sid; unit-tested
- live canvas (whiteboard-canvas) reusing draw-stroke primitives:
  pen/eraser/colour/width + pan/zoom, onStroke emit + remote-apply controller
- board room WS component modelled on exam-room-ws: join/resync, optimistic
  draw with resync-from-REST on reject, id dedupe, backoff reconnect
- whiteboards list page (create side-panel + participant picker, parents
  excluded) and board room page (creator commands, roster, epoch replay
  via DrawingPlayback)
- router routes /whiteboards and /whiteboards/$id, nav entry (minRole
  student), tr/en messages
- accent-color sync: palette_color on User + PatchMyPreferences body;
  setPaletteColor persists to PATCH /users/me/preferences ("" clears),
  hydratePreferences seeds it on login; users API tests