Ryan McKinley
96ba32d0c8
Add a @grafana/runtime package with backendSrv interface ( #16533 )
...
grafana-runtime/tsconfig.json imports query to avoid a build error ¯\_(ツ)_/¯
2019-06-03 17:55:59 +02:00
Ryan McKinley
b9ff1923e7
QueryEditors: pass PanelData and filtered PanelData to each editor ( #16692 )
2019-04-20 12:26:49 -07:00
Ryan McKinley
0643dff2f6
QueryRunner: Move queryRunner to panelModel ( #16656 )
...
* move queryRunner to panelModel
* remove isEditing from PanelChrome
* move listener to QueriesTab
* Fixed issue with isFirstLoad set to false before loading state is Done
* QueryRunner: Fixed issue with error and delayed loading state indication
* Anoter fix to issues with multiple setState calls in observable callbacks
2019-04-18 08:22:14 +02:00
Ryan McKinley
5bc936d2da
DataSourceApi: add getCollapsedText(query) to DataSourceApi ( #16482 )
...
Add getQueryDisplayText() to DataSourceApi
2019-04-10 09:31:32 -07:00
Sean Lafferty
c2d399b059
Fix: Query editor toggle edit mode fix ( #16394 )
...
Increase timeout when waiting for datasource toggleEditorMode check
Fixes #16393
2019-04-05 07:36:32 +02:00
Torkel Ödegaard
47e51cb6b3
Refactor: Plugin exports & data source / panel types ( #16364 )
...
* wip: began work off removing meta and pluginExports from DataSourceApi interface
* WIP: changing how plugins are exports and loaded
* Down the refactoring rabit hole that keeps expanding
* TestData now returns DataSourcePlugin
* Refactoring: fixed app config page loading, type renamings and more typings
* Refactor: Correct casing on DatasourceStatus => DataSourceStatus
2019-04-04 18:30:15 +02:00
Ryan McKinley
ede2d54849
Refactor: React Panels to only use SeriesData[] ( #16306 )
...
* only use SeriesData[] in react panels
* update target
* Refactor: Added refId filtering for queryResponse and queryError
2019-04-02 07:22:52 +02:00
Daniel Lee
c5a70e9b97
Pass dashboardModel to PanelCtrl class. Fixes #15541
2019-02-19 18:53:07 +01:00
Torkel Ödegaard
2bc26a01f9
Fixes to error handling and clearing, also publishing of legacy events so old query editors work with react panels fully
2019-02-14 15:18:55 +01:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Torkel Ödegaard
a0729b9b50
provide time range to angular query controllers
2019-02-10 17:05:58 +01:00
Torkel Ödegaard
6e0b873739
Merge branch 'master' into loki-query-editor
2019-02-01 11:17:22 +01:00
Torkel Ödegaard
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Torkel Ödegaard
0de861a3a8
Minor progress on react query editor support, solving updating query persisted state
2019-01-29 09:39:23 +01:00
Torkel Ödegaard
e4244d8bf8
Merge branch 'master' into loki-query-editor
2019-01-29 07:10:06 +01:00
Torkel Ödegaard
b1ef3c43f9
Disable query should trigger refresh
2019-01-23 19:34:56 +01:00
Torkel Ödegaard
02083d71c8
Loki query editor is starting to work, had to make changes to explore query field in order to update query from the outside without unmount between
2019-01-23 17:44:22 +01:00
Torkel Ödegaard
db2a15daf0
Fixed loading of default query editor
2019-01-21 18:54:57 +01:00
Torkel Ödegaard
4cbed807d6
toggle collapse when clicking on collapse state text
2019-01-19 08:22:56 +01:00
Torkel Ödegaard
f2498645d0
Fixed issue with explore angular query editor support introduced by recent angular query editor changes
2019-01-18 11:20:55 +01:00
Torkel Ödegaard
20c8b9c4a0
began work on react query editor props and integration
2019-01-17 20:02:43 +01:00
Torkel Ödegaard
febb9e7168
Moved data source and data query types
2019-01-17 17:59:47 +01:00
Torkel Ödegaard
3047579cdd
removed unused props from angular query component interface
2019-01-17 13:27:01 +01:00
Torkel Ödegaard
f041928e58
Additional query editor row tweaks
2019-01-17 13:15:25 +01:00
Torkel Ödegaard
cc4564cf8b
Query editor row in react is working
2019-01-17 13:08:20 +01:00
Torkel Ödegaard
bc956057c3
Query editor row react progress, buttons working
2019-01-17 10:26:08 +01:00
Torkel Ödegaard
6a66d462aa
Toggle edit mode works
2019-01-16 17:53:40 +01:00
Torkel Ödegaard
166e5edebd
wip: testing new query editor row design
2019-01-16 14:00:29 +01:00
Torkel Ödegaard
33feb26fb5
WIP: good progress on react query editor support
2019-01-15 11:40:12 +01:00
Torkel Ödegaard
0260c779e8
wip: another wip commit
2019-01-14 15:44:58 +01:00