Skip to content

Conversation

@artem-harbour
Copy link
Contributor

@artem-harbour artem-harbour commented Feb 5, 2026

Linear: SD-1686, SD-1687.

  1. Implemented the core whiteboard functionality for PDF docs.
  • Data Model (Per-page JSON structure).
  • Per-Page Canvas layers (with division of scenes).
  • API & Events (Registry + Core API).
  • Konva for rendering.
  • Low coupling to PDF.

Core classes and functionality:
packages/superdoc/src/core/whiteboard

Components and UI logic:
packages/superdoc/src/components/Whiteboard

Features:

  • Whiteboard modes (select, text, draw/erase, on/off).
  • Freehand drawing and erasing.
  • Text annotations.
  • Drag & drop of stickers/images and comments (prepared text annotations).
  • Editing, moving, and deleting annotations and stickers/images on a page.
  • Import/export.
  1. Ported "Grading Papers" demo to react.
  • Ported demo to react.
  • Connected UI with whiteboard API and events.
  • Fixed and polished the layout.
  1. Fixed comments/selection for PDF docs.

@artem-harbour artem-harbour self-assigned this Feb 5, 2026
@artem-harbour artem-harbour added the don't merge Don't merge yet label Feb 5, 2026
@artem-harbour artem-harbour force-pushed the artem/whiteboard-poc branch 2 times, most recently from 424ebe6 to a763262 Compare February 6, 2026 14:11
@artem-harbour artem-harbour changed the title [WIP] feat: whiteboard feat: whiteboard Feb 6, 2026
@artem-harbour artem-harbour added ready for review and removed don't merge Don't merge yet labels Feb 6, 2026
@artem-harbour artem-harbour marked this pull request as ready for review February 6, 2026 16:36
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a763262198

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@harbournick
Copy link
Collaborator

@artem-harbour please address codex comments (if relevant) and resolve. thank you!

@artem-harbour artem-harbour marked this pull request as draft February 9, 2026 10:34
@artem-harbour
Copy link
Contributor Author

@artem-harbour please address codex comments (if relevant) and resolve. thank you!

Done + added README file.

@artem-harbour artem-harbour marked this pull request as ready for review February 9, 2026 12:25
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f6cca5fc01

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Copy link
Collaborator

@harbournick harbournick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harbournick harbournick merged commit c9d1484 into main Feb 10, 2026
14 checks passed
@harbournick harbournick deleted the artem/whiteboard-poc branch February 10, 2026 16:06
@superdoc-bot
Copy link

superdoc-bot bot commented Feb 10, 2026

🎉 This PR is included in superdoc v1.12.0-next.8

The release is available on GitHub release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants