Skip to content

Conversation

@Shreyanshi210205
Copy link
Contributor

@Shreyanshi210205 Shreyanshi210205 commented Oct 21, 2025

Description

This update refactors the Canvas component to introduce a local-first workflow and on-demand collaboration mode.
Previously, users were prompted to join a room on page load ,now this prompt has been removed, and collaboration is now opted via a button.

  • Key Changes
  1. Default Local Mode
    -The app now starts in a fully local mode where users can draw immediately without connecting to the server.
    -No WebSocket events are emitted in this mode.
    2.Removed Initial Room Prompt
    -The “Join Room” modal no longer appears automatically on load.
    3.New “Collaborate” Button
  • Added a button in the toolbar to open the room-joining modal manually.
  • When clicked, the user can enter a Room ID to start collaborative mode.
  1. Dynamic Collaboration Activation
    -Once a user joins a room, socket communication is enabled.
    -All drawing actions are then synchronized in real-time via WebSockets.
image image

Semver Changes

  • Patch (bug fix, no new features)
  • Minor (new features, no breaking changes)
  • Major (breaking changes)

Issues

#26

Checklist

@Shreyanshi210205 Shreyanshi210205 deleted the shreyanshi_collab branch October 21, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant