microsoft / pxt

Microsoft MakeCode (PXT - Programming eXperience Toolkit)
https://makecode.com
MIT License
2.06k stars 567 forks source link

Feature Request: Blockly Realtime Collaboration Coding #8825

Open Amerlander opened 2 years ago

Amerlander commented 2 years ago

Is your feature request related to a problem? Please describe. When working in groups online, it would be great to have some kind of real time collaboration feature.

Describe the solution you'd like Blocky already has a working RTC solution: https://github.com/google/blockly-samples/tree/master/examples/blockly-rtc I would really love to see this integrated in PXT.

Describe alternatives you've considered I tried a pretty basic implementation using Yjs and syncing the project from outside trough the iFrame change and import events: https://go.calliope.cc/beta/rtc/#room1 (anything after # defines a own room)

That is working as long as the changes are not simultaneous. Since it is reloading the whole project for each update, the sidebar gets closed, the viewport resets and any focus is lost. If it will be possible to just update parts of a project that might be solvable things. But I think a better approach is a direct integration into pxt using blockly-rtc.

Jaqster commented 2 years ago

FYI @eanders-ms