You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the actual docmost version, v0.3.1 , live collab is limited to text , We could extend this further to excalidraw leveraging on the already integrated live collab feature that excalidraw contains.
How does it work for a normal user
In normal scenario inside excalidraw.com, a user wanting to live collab would do the following:
1.Click on the live collaboration menu option
2.Click on the start session button on the middle of the screen
3.Set your username
4.Copy the invite link
5.Invite some friends
6.Draw
8.End live collaboration
9.Exit
How could we implement it in docmost
It would be pretty conceptually simple:
START
the first user opens the excalidraw, this will initiate an excalidraw session
live collab would automatically be enabled, username would be set to the username in docmost
the excalidraw file presented in docmost would only point to the invite link of the live share, hence every user that tries to edit in their own session will join the live collab instead, username would also be set to the one in docmost.
After everyone leaves, stop live collab session and save changes.
return to start state
We could also make the server the one starting the sessiong, making the first user send a request that gets a response with an invite link.
What if 2 users click the same excalidraw canvas at the same time? We shall make it so there only can be 1 session of the same excalidraw canvas at the same time, based on periodic checking after start, the server should redirect the latest one to the invite link of the session that the first user started
Activity
Shadowfita commentedon Sep 17, 2024
It would be great if there was a form of in-line editing available within a page that could make collaboration more seamless as well.
Philipinho commentedon Oct 14, 2024
Live collaboration is not readily available on the Excalidraw react component we are using. No plans to implement this internally.
We will eventually introduce an Excalidraw iframe embed option which can serve as a workaround where you collaborate directly on their website.
feat(comment): db columns for comment suggestions (docmost#315 phase 1)
feat(collab): replaceYjsMarkedText — atomic check-and-replace of comm…
feat(collab): applyCommentSuggestion event + no-Redis local fallback (d…
feat(comment): store suggestedText + POST /comments/apply-suggestion (d…
feat(comment): suggestion diff block + Apply button + mutation (docmo…
feat(agent-tools): suggestedText on create_comment with strict anchor…
Merge pull request 'feat(comment): предложения правок агента + кнопка…
prompt(agents): forbid the copyeditor's blanket 'change everywhere' n…
prompt(agents): make the copyeditor exhaustive in one pass (docmost#315)
prompt(agents): drop the role-name label prefix from comments (docmos…
feat(client): intraline diff highlighting in the suggestion before→af…
feat(comment): ephemeral suggestion-edits — Apply/Dismiss remove the …