forge
Explore
Log in

Don't you dare go Hollow

Commits

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

2026-09-26

feat: 🎨 Excalidraw-style whiteboards - board page fills the content column edge to edge: board menu top-left (back, history, edit, lock, clear, close, delete), roster avatars with a popover, one-click lock and invite top-right, status banner under the tools; the old header and roster aside are gone - tool island top-centre with H/P/R/D/O/A/L/E shortcuts; style island with Excalidraw's palette, three widths, solid/dashed/dotted and architect/artist/cartoonist sloppiness; zoom and grid bottom-left - rectangle, diamond, ellipse, line and arrow are baked into ordinary strokes (lib/board-shapes), Shift squares boxes and snaps lines to 45° - object eraser: swept strokes fade and are removed whole on release, logged as an append-only marker listing the removed sids; live clients and history replay drop them - optional `dash` field on strokes and segments; solid payloads unchanged - wheel pans, Ctrl+wheel/pinch zooms to the pointer, Space-drag pans, Ctrl +/-/0 zoom; the dark theme inverts the canvas like Excalidraw - closing is final by backend design, so the close confirmation says so and points to lock for a pauseBurak Boduroğlu · 6f21fd4
feat: 🎨 Excalidraw-style whiteboards
- board page fills the content column edge to edge: board menu top-left
  (back, history, edit, lock, clear, close, delete), roster avatars with
  a popover, one-click lock and invite top-right, status banner under
  the tools; the old header and roster aside are gone
- tool island top-centre with H/P/R/D/O/A/L/E shortcuts; style island
  with Excalidraw's palette, three widths, solid/dashed/dotted and
  architect/artist/cartoonist sloppiness; zoom and grid bottom-left
- rectangle, diamond, ellipse, line and arrow are baked into ordinary
  strokes (lib/board-shapes), Shift squares boxes and snaps lines to 45°
- object eraser: swept strokes fade and are removed whole on release,
  logged as an append-only marker listing the removed sids; live
  clients and history replay drop them
- optional `dash` field on strokes and segments; solid payloads unchanged
- wheel pans, Ctrl+wheel/pinch zooms to the pointer, Space-drag pans,
  Ctrl +/-/0 zoom; the dark theme inverts the canvas like Excalidraw
- closing is final by backend design, so the close confirmation says so
  and points to lock for a pause

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