Adapt https://glitch.com/edit/#!/biggu-backend-collab?path=views%2Fsupervision.html to https://git.benetou.fr/utopiah/text-code-xr-engine/issues/40#issuecomment-501
Consider existing events, e.g `ondrop` to send back live feedback to supervising user.
```javascript
function shareLiveEvent(eventName, server='https://jxr-permanence.benetou.fr/'){
if (eventName.length > 0) fetch(server+'/newevent/'+eventName)
}
```
Note that https://jxr-permanence.benetou.fr/ does not currently support SSEs.
Which in turn can be used to complete live jxr snippets, e.g https://jxr-permanence.glitch.me/events/jxradd?data=jxr%20location.reload()
It could also be used with a canvas or HTML Drag and Drop API to move code snippets around on mobile, having a remote block-based interface to an on-going experience.
Which in turn can be used to complete live jxr snippets, e.g `https://jxr-permanence.glitch.me/events/jxradd?data=jxr%20location.reload()`
It could also be used with a canvas or HTML Drag and Drop API to move code snippets around on mobile, having a remote block-based interface to an on-going experience.
Adapt https://glitch.com/edit/#!/biggu-backend-collab?path=views%2Fsupervision.html to #40
In practice it means
EventSource()
on SSE endpointConsider existing events, e.g
ondrop
to send back live feedback to supervising user.Note that https://jxr-permanence.benetou.fr/ does not currently support SSEs.
cf example on component events based https://twitter.com/utopiah/status/1737785265538662489
Which in turn can be used to complete live jxr snippets, e.g
https://jxr-permanence.glitch.me/events/jxradd?data=jxr%20location.reload()
It could also be used with a canvas or HTML Drag and Drop API to move code snippets around on mobile, having a remote block-based interface to an on-going experience.
As this lead to security issues, consider https://git.benetou.fr/utopiah/offline-octopus/src/branch/master/index.js#L110 a bearer token.