How danielsteele1/collab-board works
This React application supports creating and finding whiteboards, opening a board room, and collaborating on a canvas with drawing, shapes, text, notes, zoom, and live presence. The documented workflow also includes sharing and joining by code, guest access, and account-based workspaces; the README lists Supabase and Google OAuth, but the sampled code does not establish those service connections. Board lists are persisted in browser local storage, while Liveblocks provides the documented collaboration layer. Some component relationships are based on imports or README statements; unsampled behavior is not inferred.
Main entry points: App.tsx Application routes · dashboard.tsx Board dashboard · Canvas.tsx Collaborative canvas · whiteboard.tsx Whiteboard page
Components 24
Application and navigation
- Application routes
src/App.tsx - Homepage
src/components/homepage.tsx - Typing animation
src/react-bits/TextType.tsx - Not found
src/components/FourOFour.tsx - Navigation bar
src/components/navigation.tsx
Board discovery and management
- Board dashboard
src/components/dashboard.tsx - Board browser storage
src/components/dashboard.tsx - Create board dialog
src/components/create-board-modal.tsx - Board cards
src/components/WhiteboardCard.tsx - Board table
src/components/whiteboard-table.tsx - Quick-switch sidebar
src/components/Sidebar.tsx - Share-code dialog
src/components/share-code-modal.tsx
Collaborative whiteboard
- Whiteboard page
src/components/whiteboard.tsx - Board room
src/components/Room.tsx - Collaborative canvas
src/components/Canvas.tsx - Canvas tools
src/components/Toolbar.tsx - Text editing
src/components/InsertText.tsx - Sticky notes
src/components/StickyNote.tsx - Canvas zoom
src/components/ZoomWidget.tsx
Identity and account
- Login
src/components/login.tsx - Account view
src/components/Accounts.tsx - Session profile state
src/ZustandStore.tsx
Other components
- Visitor
- Liveblocks service
Connections 30
- Visitor → Application routes: opens app
- Application routes → Homepage: routes to
src/App.tsx - Application routes → Board dashboard: routes to
src/App.tsx - Application routes → Whiteboard page: routes to
src/App.tsx - Application routes → Login: routes to
src/App.tsx - Application routes → Account view: routes to
src/App.tsx - Application routes → Not found: routes to
src/App.tsx - Application routes → Navigation bar: renders
src/App.tsx - Homepage → Typing animation: uses animation
src/components/homepage.tsx - Board dashboard → Create board dialog: opens
src/components/dashboard.tsx - Board dashboard → Board cards: renders
src/components/dashboard.tsx - Board dashboard → Board table: renders
src/components/dashboard.tsx - Board dashboard → Board browser storage: reads and writes
src/components/dashboard.tsx - Board dashboard → Session profile state: reads profile
src/components/dashboard.tsx - Board dashboard → Share-code dialog: supports code sharing
README.md - Board cards → Whiteboard page: opens board
README.md - Board table → Whiteboard page: opens board
README.md - Quick-switch sidebar → Whiteboard page: links boards
src/components/Sidebar.tsx - Whiteboard page → Board room: renders room
src/components/whiteboard.tsx - Whiteboard page → Collaborative canvas: renders canvas
src/components/whiteboard.tsx - Board room → Liveblocks service: joins collaboration
README.md - Collaborative canvas → Liveblocks service: syncs shared state
README.md - Collaborative canvas → Canvas tools: renders tools
src/components/Canvas.tsx - Collaborative canvas → Quick-switch sidebar: renders sidebar
src/components/Canvas.tsx - Collaborative canvas → Canvas zoom: renders zoom
src/components/Canvas.tsx - Collaborative canvas → Text editing: renders editor
src/components/Canvas.tsx - Collaborative canvas → Sticky notes: renders notes
src/components/Canvas.tsx - Login → Session profile state: updates session
src/components/login.tsx - Account view → Session profile state: reads profile
src/components/Accounts.tsx - Navigation bar → Session profile state: reads session
src/components/navigation.tsx