Skip to content

βœŽπ“‚ƒ Add Interactive Whiteboard Support to NotesΒ #254

Description

@HarshYadav152

Enhance the existing note system by adding interactive whiteboard support inside notes. Currently, notes contain a title and description. This feature will allow users to also attach and edit a drawable whiteboard canvas within a note.

The whiteboard editor should be accessible through:

/notes/whiteboard

Each whiteboard note will contain:

  • Title
  • Description
  • Drawable canvas data

This feature will help users create visual notes, diagrams, mind maps, and brainstorming sketches directly inside SaveBook.


Features to Implement

  • Add drawable whiteboard support to notes

  • Create/edit whiteboard notes

  • Save canvas data with note model

  • Autosave whiteboard changes

  • Drawing tools:

    • Pen
    • Shapes
    • Arrows
    • Text
  • Zoom and pan support

  • Responsive UI

  • Dark/light theme compatibility


Suggested Libraries

Recommended

Docs


Model Changes

Update the existing note model to support whiteboard data.

Example:

{
  title: String,
  description: String,
  whiteboardData: Object,
  isWhiteboard: Boolean
}

Routes

/notes/whiteboard
/notes/whiteboard/[id]

Suggested Components

components/
└── whiteboard/
    β”œβ”€β”€ WhiteboardCanvas.js
    β”œβ”€β”€ WhiteboardToolbar.js
    └── WhiteboardPreview.js

Expected Outcome

Users should be able to:

  • Create notes with drawings
  • Save visual brainstorming ideas
  • Reopen and continue editing whiteboards
  • Use whiteboards seamlessly with existing notes

Acceptance Criteria

  • Whiteboard data saves correctly
  • Existing notes remain unaffected
  • Notes support title + description + drawing
  • Canvas restores after refresh
  • UI matches SaveBook theme
  • Works on desktop and mobile

Metadata

Metadata

Assignees

Labels

UI-enhancementenhancementNew feature or requesthardRequire deep understanding of the developmentlevel3Level 3 issue for NSoC26 with 10 pointsnsoc26Tells us this project is associated with Nexus Spring of Codesavebook

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions