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 List Component #68

Open niclash opened 1 year ago

niclash commented 1 year ago

Script List Component should list System, Organization and Project scripts in a intuitive way. Not sure if "sections" are better than a column with a selector or not.

The number of System scripts could eventually be so large that they clutter the List, so that needs to be considered. System scripts are not editable (unless organization = 1), but I think it should be possible to view/review them by everyone.

"Add" could possibly ask whether it is a "System" or "Custom" script that is requested, which would give a natural way to limit the view of too many system scripts, and inclusion will mean that a system script is visible in the List.

Scripts have a "language" (one of "js", "python" or "ruby") and a "name", which is combined with a colon, e.g. "js:IsSummer", and otherwise the name can use same characters as other identifiers.

Upon Add or Edit of custom script, one will be taken to "Script Edit Page".

grzegorekb commented 9 months ago
  1. What exaclty "component" mean? Should it be a Grafana panel that can be added to some dashboards?

  2. What "Add" means here?

    "Add" could possibly ask whether it is a "System" or "Custom" script that is requested