Supervisor showcase #101

Open
opened 1 year ago by utopiah · 5 comments
utopiah commented 1 year ago
Owner
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
Poster
Owner

In practice it means

  • EventSource() on SSE endpoint
  • SSE endpoint
In practice it means * `EventSource()` on SSE endpoint * SSE endpoint
Poster
Owner

Consider existing events, e.g ondrop to send back live feedback to supervising user.

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.

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.
Poster
Owner

cf example on component events based https://twitter.com/utopiah/status/1737785265538662489

cf example on component events based https://twitter.com/utopiah/status/1737785265538662489
Poster
Owner

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.
Poster
Owner

As this lead to security issues, consider https://git.benetou.fr/utopiah/offline-octopus/src/branch/master/index.js#L110 a bearer token.

As this lead to security issues, consider https://git.benetou.fr/utopiah/offline-octopus/src/branch/master/index.js#L110 a bearer token.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: utopiah/text-code-xr-engine#101
Loading…
There is no content yet.