Picolab / pico-engine

An implementation of the pico-engine hosted on node.js
http://picolabs.io/
MIT License
43 stars 8 forks source link

Developer UI doesn't show newly created (or deleted) child picos in About tab without a refresh #552

Open b1conrad opened 3 years ago

b1conrad commented 3 years ago

Don't know if anything can be done about this, but it is a bit disconcerting when your code creates (deletes) a child pico but when you visit the About tab the list of children is the same as it was before. Until you refresh the page.

farskipper commented 3 years ago

To properly fix this, the engine should make some events available to the UI over websockets. This way the UI can listen for those events and update when picos are modified or deleted.

b1conrad commented 3 years ago

Agreed. Will put this back in the backlog, and link it to an issue about websockets.