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

Collaborative simultaneous editing #74

Open
dtkaplan opened this issue May 18, 2017 · 3 comments
Open

Collaborative simultaneous editing #74

dtkaplan opened this issue May 18, 2017 · 3 comments

Comments

@dtkaplan
Copy link

It would be nice in a classroom setting to be able to edit the contents of an exercise chunk in collaboration with other people. The isolation of chunks from each other would prevent this from becoming too complex for the users. Maybe this could be setup via the URL query string, e.g.

https://dtkaplan.shinyapps.io/Workshop_wrangling?share=d4a78

The instructor, or whoever, could post the URL on, say, the course syllabus for that day. I'm imagining that this behavior would be tied to the use of a particular server, e.g. shinyapps.io or rcloud.

@jjallaire
Copy link
Member

This is technically possible via Ace integration with Firepad (https://firepad.io/docs/#getting_started_with_ace). @kevinushey and @jmcphers Would this be pretty straightforward assuming public Firebase is used as the backing store?

@jmcphers
Copy link
Member

It's straightforward, but session management is going to be finicky. Firepad (at least when we integrated it with RSP) has to start with an empty editor surface. So some process needs to be in charge of (a) creating the appropriate Firebase instance for each chunk, and (b) populating it with its initial contents (in RSP we do this by synthesizing a text insertion atom that includes the entire doc). This is better done explicitly somewhere for security/cost reasons but could all be done implicitly depending on your appetite for risk. :-)

Once you've got a warm Firebase instance it's all downhill (just a matter of a little JS glue to start with empty editors and inject the Firepads in).

@jjallaire
Copy link
Member

jjallaire commented May 18, 2017 via email

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

No branches or pull requests

3 participants