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
ed0192104c
refactor: Merge PanelChrome and DataPanel, do query execution in PanelQueryRunner ( #16632 )
...
Moves query execution logic to PanelQueryRunner and structures PanelChrome so it subscribes to the query results rather than necessarily controlling their execution.
2019-04-17 10:51:50 -07: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
Torkel Ödegaard
0d55141a2d
Panels: Refactoring how panel plugins sets hooks and components, #16166
2019-03-24 15:56:32 +01:00
ryan
6da2f132c7
keep plugin versions
2019-03-22 13:45:09 -07:00
ryan
82be27a42a
remove panel plugin setters
2019-03-22 13:12:35 -07:00
ryan
d8595e9f4e
moved migration hook to its own function
2019-03-22 10:22:25 -07:00
ryan
78a9243721
remove logging
2019-03-22 00:21:04 -07:00
ryan
658f419cab
add stat picker to single stat
2019-03-22 00:14:50 -07:00
ryan
68f7e046ab
check types better
2019-03-13 13:11:49 -07:00
ryan
75022ebd63
single hook
2019-03-13 12:46:04 -07:00
ryan
b933c57c62
merge master
2019-03-13 08:36:51 -07:00
ryan
8cca611727
comment cleanup
2019-03-12 21:25:35 -07:00
ryan
09ba8cd5d3
make sure the validator is called before setState
2019-03-12 16:35:22 -07:00
ryan
7311b14da1
API to fix/update properties before load
2019-03-12 16:10:14 -07:00
Peter Holmberg
89883c2cf6
copying options between visualizations
2019-02-21 13:43:36 +01:00
Torkel Ödegaard
26d02180e5
Merge branch 'bar-gauge-poc' of github.com:grafana/grafana into bar-gauge-poc
2019-02-18 12:01:15 +01:00
Torkel Ödegaard
abddb442a1
Changed how react panels store their options ( #15468 )
...
Changed how react panels store their options
* Added a ReactPanelPlugin as the interface that react panels export, this way react panels have clearer api, and gives us hooks to handle migrations and a way for panel to handle panel changes in the future
* Moved gauge value options into a sub oject and made editor more generic, will be moved out of gauge pane later and shared between singlestat, gauge, bargauge, honecomb
* Also remove nested options prop that was there due to bug
* Added missing Gauge props
* Fixed gauge issue that will require migration later and also value options editor did not handle null decimals or 0 decimals
* Fixed unit tests
* More fixes for react panels
2019-02-18 11:41:14 +01:00
Torkel Ödegaard
89ad525986
Fixed issue with PanelHeader and grid-drag-handle class still being applied in fullscreen, fixes #15480
2019-02-17 08:11:57 +01:00
Torkel Ödegaard
dede40d459
Began work on handling panel type switching and keep setting
2019-02-17 07:03:42 +01:00
Torkel Ödegaard
074073787d
Added a ReactPanelPlugin as the interface that react panels export, this way react panels have clearer api, and gives us hooks to handle migrations and a way for panel to handle panel changes in the future
2019-02-16 15:46:30 +01:00
Dominik Prokop
9485c67827
Fix plugin loading failure message not being displayed
2019-02-11 11:47:12 +01:00
Torkel Ödegaard
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Torkel Ödegaard
474185c977
Moved a few things around
2019-01-31 08:37:15 +01:00
Torkel Ödegaard
e713b0f029
Moved add panel panel and renamed it to add panel widget
2019-01-24 09:23:48 +01:00
Torkel Ödegaard
827a292777
Moved panel editing components to it's own folder
2019-01-14 15:17:48 +01:00
Torkel Ödegaard
9aef3f4fb1
Fixed issues with panel size in edit mode, fixes #14703
2019-01-02 10:54:57 +01:00
Johannes Schill
a007730f5d
Another take on resizing the panel, now using react-draggable
2018-12-18 17:22:30 +01:00
Torkel Ödegaard
42ee81a97c
fixed issue with switching panels
2018-12-14 10:47:18 +01:00
Torkel Ödegaard
9c13520e97
updated styles
2018-12-13 21:24:41 +01:00
Torkel Ödegaard
226e55b188
fixed ordering changing panel types, fixes issues with loading panel options
2018-12-13 11:35:07 +01:00
Peter Holmberg
f77c354341
Merge remote-tracking branch 'origin/develop' into gauge-value-options
2018-12-04 12:56:54 +01:00
Peter Holmberg
6084275119
started on thresholds
2018-11-20 17:01:58 +01:00
Torkel Ödegaard
5ea34844ba
fixes to view mode for panels, can now go back as before
2018-11-20 16:00:19 +01:00
Torkel Ödegaard
57de2475b0
various fixes to angular loading
2018-11-16 15:09:14 +01:00
Torkel Ödegaard
f21fe65bb1
fixed issues when changing type, need to remove event listeners and cleanup props
2018-11-16 10:00:13 +01:00
Torkel Ödegaard
911646f913
poc: handling panel edit mode in react even for angular panels poc
2018-11-15 09:46:21 +01:00
Torkel Ödegaard
888eb9d94c
fixed panel focus for react panels
2018-11-14 13:31:40 +01:00
Torkel Ödegaard
7b805bdb81
minor react panels refafactor
2018-11-13 08:40:42 +01:00
Torkel Ödegaard
9dbb0db684
completed work on panel not found view
2018-11-13 07:54:02 +01:00
Torkel Ödegaard
119e94f745
wip: panel plugin not found
2018-11-12 17:54:44 +01:00
Torkel Ödegaard
964a21b091
Merge branch 'master' into panel-edit-ux
2018-11-08 11:46:04 +01:00
Torkel Ödegaard
93b4cb562d
Fixed issues introduced by changing to PureComponent
2018-11-07 16:03:33 +01:00
Torkel Ödegaard
a24f6998f2
refactorings and some clean-up / removal of things not used
2018-11-07 13:36:35 +01:00
Torkel Ödegaard
5975c4a737
ux: changed panel selection ux
2018-11-06 18:34:37 +01:00
Johannes Schill
49550ccedf
wip: panel-header: More merge conflicts during cherry pick
2018-11-06 16:12:04 +01:00
Johannes Schill
dbf7f3fb61
wip: panel-header: More merge conflicts during cherry pick
2018-11-06 16:05:34 +01:00
Johannes Schill
6c0c1254fe
wip: panel-header: More merge conflicts
2018-11-06 15:44:04 +01:00
Johannes Schill
ca4612af26
wip: panel-header: Merge conflicts
2018-11-06 15:35:15 +01:00