[FIX] Replace TlDraw with ExcaliDraw#8
Merged
nazarli-shabnam merged 1 commit intomainfrom Mar 14, 2026
Merged
Conversation
nazarli-shabnam
approved these changes
Mar 14, 2026
|
The preview deployment for Loomy UI failed. 🔴 Open Build Logs | Open Application Logs Last updated at: 2026-03-14 15:11:43 CET |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request migrates the collaborative whiteboard feature from tldraw to Excalidraw, updating both the frontend and backend to support Excalidraw's scene format, cursor overlays, and real-time collaboration. It includes changes to dependencies, data models, API handling, and UI integration, ensuring a seamless transition for users and developers.
Migration to Excalidraw:
Swapped out tldraw for Excalidraw in the frontend, updating all relevant code, dependencies (
package.json), and documentation (README.md). The frontend now uses the@excalidraw/excalidrawpackage, and references to tldraw have been replaced throughout. [1] [2] [3] [4]Updated backend and data model to use
excalidraw_snapshotinstead oftldraw_snapshot, including the element type validation and the Alembic migration file for database consistency. [1] [2] [3] [4]Frontend integration and state management:
Refactored the board page to use Excalidraw's API, including scene loading, state normalization, real-time updates, and UI options. Added logic to handle Excalidraw's expected scene and appState formats, and ensured proper saving and loading of board content. [1] [2] [3] F6bdf550L1, [4] [5] [6] [7] [8]
Updated the cursor overlay to use Excalidraw's viewport and coordinate system, ensuring remote cursors are positioned correctly for all collaborators.
Real-time collaboration and WebSocket handling:
These changes collectively ensure the whiteboard experience is now powered by Excalidraw, with full support for real-time collaboration, persistence, and a modernized frontend stack.
Closes #7