Skip to content

v0.3.7 — Canvas: Visual Study Board

Choose a tag to compare

@AXEUS5346 AXEUS5346 released this 30 Jun 10:11
· 25 commits to main since this release

Canvas: Visual Study Board

AI now generates visual canvases — colored, connected concept cards — alongside notes and chat.

![Canvas Feature]image

What's New

  • Canvas Tool — Ask the AI to "create a canvas", "visualize this", or "draw a flowchart" and it generates a visual board with colored element cards
  • 6 Element Types — Definitions (blue), Formulas (green), Flowcharts (orange), Notes (purple), Examples (pink), Headings (gray)
  • Connected Elements — Flowchart arrows connect related concepts automatically
  • Notes & Canvas Tabs — Side panel now switches between Notes and Canvas views
  • Lazy Loading — Messages load 7 at a time with scroll-to-load-more; notes and canvases load content on demand for faster session startup
  • Canvas CRUD — Create, rename, and delete canvases from the UI

Performance

  • Session loading optimized: only last 7 messages fetched initially, older messages loaded on scroll
  • Notes and canvases list endpoints return metadata only; full content fetched when a tab is selected
  • Reduces initial session payload by ~60-80% for sessions with long chat history

Bug Fixes

  • Fixed voice mode not reflecting canvas changes in the side panel
  • Fixed scroll position jumping when loading older messages

Backend

  • New canvases table with JSON elements storage
  • New /api/canvases CRUD endpoints
  • New /api/sessions/{id}/messages paginated endpoint
  • Canvas tool call parsing in chat and voice endpoints
  • CORS updated for localhost:3008

Dependencies

  • Added @xyflow/react@^12.11.1 for React Flow canvas rendering