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

Editor Collaboration #22

Open
4 tasks
TheUltDev opened this issue Jun 14, 2023 · 3 comments
Open
4 tasks

Editor Collaboration #22

TheUltDev opened this issue Jun 14, 2023 · 3 comments
Assignees
Labels
collab Collaboration related issue enhancement New feature or request

Comments

@TheUltDev
Copy link
Contributor

TheUltDev commented Jun 14, 2023

  • Sync editors via Websockets and/or WebRTC Y.JS provider
  • Command to generate room using https://github.com/kat-tax/xkcd-936
  • Collaborator panel with either chosen or auto generated usernames, colors, and avatars.
  • Colored selections and cursors in editor

Example room url:

https://vslite.dev/#/fade_balcony_nimble_ribbon_mud

Initial work for this was completed in #21.

@TheUltDev TheUltDev added enhancement New feature or request collab Collaboration related issue labels Jun 14, 2023
@TheUltDev
Copy link
Contributor Author

Currently the editor models are cleared by the syncing, which clears the file on the Filesystem. Looking into that.

@TheUltDev TheUltDev self-assigned this Jun 16, 2023
@FossPrime
Copy link
Collaborator

This should be a setting, or have it load using a dynamic import when needed... Dynamic imports usually get chunked by Vite

Screenshot 2023-06-16 01 30 44
Screenshot 2023-06-16 01 30 54

@TheUltDev
Copy link
Contributor Author

TheUltDev commented Jun 17, 2023

@FossPrime yes it's currently in a separate chunk that's only loaded if you have a collaboration key (location.hash is populated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
collab Collaboration related issue enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants