Skip to content

Feature: View-Only Mode #39

Description

@Pranav00076

Description:
We need a way to share a room code with people who are only allowed to view the board, not edit it.

How to Implement:

  1. Room State: When creating or joining a room, pass a role (e.g., editor vs viewer). This could be handled by different URL parameters or server-side logic.
  2. Fabric Constraints: If the user is a viewer, set canvas.selection = false, disable drawing tools (isDrawingMode = false), and iterate through all objects setting selectable: false and evented: false.
  3. UI Constraints: Hide the left toolbar and top properties bar for viewer roles.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions