When editing a graph with multiple KairosDB queries, the entry fields for adding tags, group by values, and aggregators are enabled for every query for that graph when I press the "+" button rather than just for that specific query. See attached image for example:
Looking at the plugin code it seems like this is caused by the fact that most of the Angular model is stored in ctrl.panel instead of ctrl.target, which would make these settings panel-specific rather than query-specific. Replacing all instances of panel with target in query_ctrl.js and partials/query.editor.html seems to fix this issue.
When editing a graph with multiple KairosDB queries, the entry fields for adding tags, group by values, and aggregators are enabled for every query for that graph when I press the "+" button rather than just for that specific query. See attached image for example:
Looking at the plugin code it seems like this is caused by the fact that most of the Angular model is stored in
ctrl.panel
instead ofctrl.target
, which would make these settings panel-specific rather than query-specific. Replacing all instances ofpanel
withtarget
inquery_ctrl.js
andpartials/query.editor.html
seems to fix this issue.