Sensetif / sensetif-app-plugin

The Grafana Application Plugin for the Sensetif platform.
Apache License 2.0
0 stars 0 forks source link

Script UI - Script Edit Page #69

Open niclash opened 1 year ago

niclash commented 1 year ago

The Script Edit Page is a simple editor for the script. Check if there is language highlighter available for javascript, ruby and python, which would be awesome.

So the following fields are required;

Ideally, the Execution/Debug support should be integrated into this page directly, rather than totally separate. That could simply be a button to push, which asks for which topic it should be bound to. Backend will pick up the latest value from that topic and run the script simulated on the backend, and report back values/keys sent to other topics.

grzegorekb commented 9 months ago

Add Script page was already added. @niclash , how should test button work? I understand it should be possible to test script before it is added = stored in cassandra. Is there a separate topic where I can send script for test? Do you have any particular pattern in mind on how to handle that async communication, where the value should be reported back to the frontend?