Skip to content

feat: Add CRDT-powered real-time collaborative system design whiteboard (#1746) - #1751

Open
desireddymohithreddy0925 wants to merge 1 commit into
Canopus-Labs:mainfrom
desireddymohithreddy0925:feat/1746-crdt-whiteboard
Open

feat: Add CRDT-powered real-time collaborative system design whiteboard (#1746)#1751
desireddymohithreddy0925 wants to merge 1 commit into
Canopus-Labs:mainfrom
desireddymohithreddy0925:feat/1746-crdt-whiteboard

Conversation

@desireddymohithreddy0925

Copy link
Copy Markdown

Fixes #1746

Description

This PR introduces a real-time collaborative system design whiteboard. It solves the limitation of users having to leave PrepPilot to practice system design interviews with peers on external tools.

Changes Made

  • Created SystemDesignWhiteboard.jsx in frontend/src/components/.
  • Integrated yjs (CRDT) for lock-free, zero-latency state management.
  • Integrated y-webrtc to synchronize canvas strokes directly peer-to-peer using WebRTC signaling.
  • Built a custom React canvas integration that observes the shared Yjs array and re-renders strokes seamlessly.

Checklist

  • Code compiles without errors
  • Tested locally
  • P2P functionality reduces server load compared to WebSocket relay servers

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@desireddymohithreddy0925, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 52 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f5587905-79cb-4b77-aedc-0d28810dde4a

📥 Commits

Reviewing files that changed from the base of the PR and between fd811d3 and 0177213.

⛔ Files ignored due to path filters (1)
  • frontend/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • frontend/package.json
  • frontend/src/components/SystemDesignWhiteboard.jsx

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the merge ready PR is mergeable and has no conflicts label Aug 10, 2026
@KaranUnique

Copy link
Copy Markdown
Contributor

@desireddymohithreddy0925 Could you please integrate SystemDesignWhiteboard.jsx with the existing frontend? Currently, the component appears to be added but I couldn't find where it is imported/rendered or exposed through the application's routing/UI. Please add the required integration so the feature is actually accessible from the application

@KaranUnique

Copy link
Copy Markdown
Contributor

@desireddymohithreddy0925 Share Screen Shot of UI as well

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

Labels

merge ready PR is mergeable and has no conflicts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: CRDT-Powered Real-time Collaborative System Design Whiteboard

2 participants