Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support YRoom forking #383

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

davidbrochart
Copy link
Collaborator

@davidbrochart davidbrochart commented Jan 25, 2024

See jupyterlab/jupyterlab#15862.

This PR adds two new endpoints:

  • PUT /api/collaboration/fork_room: fork a room with the given root room ID, replies with the fork ID.
  • PUT /api/collaboration/merge_room: merge a forked document back into a root document.

When forking a room, a new room is created with a clone of the root document, which is continuously updated with the updates from the root document. But the forked document's updates are not applied to the root document until the forked document is merged back into the root document.

@davidbrochart davidbrochart force-pushed the fork-yroom branch 3 times, most recently from 4bb72ce to 4a7b983 Compare January 26, 2024 09:02
@davidbrochart davidbrochart force-pushed the fork-yroom branch 3 times, most recently from 7d48b6b to e1e7651 Compare March 11, 2024 10:31
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