Dominik Prokop
d19616a16b
Merge branch 'master' into cli/watch-sass-var
2019-02-19 17:27:25 +01:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +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
Dominik Prokop
6da57d4c08
Make clear that variable scss files are generated from templates
2019-02-18 11:03:52 +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
19a080a4d4
Restored loading spinner to DataPanel
2019-02-14 15:29:36 +01:00
Torkel Ödegaard
79008a7acd
added another error message scenario
2019-02-14 15:23:34 +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
cc61d9c5cc
Merge branch 'master' into move-error-boundry
2019-02-14 13:10:49 +01:00
Peter Holmberg
0c72fb3be1
Merge branch 'master' into move-error-boundry
2019-02-13 16:52:52 +01:00
Torkel Ödegaard
ef9e74fabb
Fixed issue with sass variables used from typescript, the prettier lowercases export variables
2019-02-13 16:36:59 +01:00
Peter Holmberg
aad558ce9c
using error callback from datapanel instead
2019-02-13 15:54:10 +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
Peter Holmberg
1c5118748a
implement show error in panelcorner
2019-02-12 17:01:07 +01:00
Peter Holmberg
9f88a22b4c
remove comments
2019-02-12 16:14:26 +01:00
Peter Holmberg
f52aa4de4e
Merge branch '15217-panels-without-queries' into move-error-boundry
2019-02-12 16:13:15 +01:00
Peter Holmberg
f0565684c7
Merge branch '15217-panels-without-queries' of https://github.com/grafana/grafana into 15217-panels-without-queries
2019-02-12 16:11:04 +01:00
Peter Holmberg
530a370379
bubble error from datapanel to panelchrome
2019-02-12 16:06:02 +01:00
Torkel Ödegaard
a1453607a9
Changed noQueries to a dataFormats array that will allow a panel to define supported formats and prefered (first in array)
2019-02-12 16:05:29 +01:00
Johannes Schill
c3965e332d
chore: Rename renderPanel to renderPanelBody
2019-02-12 12:28:53 +01:00
Johannes Schill
d5918498da
chore: Rename renderDataPanel to renderPanel
2019-02-12 12:28:53 +01:00
Johannes Schill
01208ccd68
chore: Rename renderHelper > renderDataPanel and move logic to smaller functions
2019-02-12 12:28:53 +01:00
Johannes Schill
b5dbf26dc4
chore: PR feedback, shorten boolean check
2019-02-12 12:28:53 +01:00
Johannes Schill
075fb8e91c
chore: Rename isDataPanel to noQueries
2019-02-12 12:28:53 +01:00
Johannes Schill
d3115325a9
feat: Only use the DataPanel component when panel plugin has isDataPanel set to true in plugin.json. And fix PanelData when using snapshots
2019-02-12 12:28:53 +01:00
Peter Holmberg
1db5d86b12
Merge branch '15217-panels-without-queries' into move-error-boundry
2019-02-12 10:54:55 +01:00
Peter Holmberg
7d0edb285d
Revert "hard move"
...
This reverts commit a2dad6157a
.
2019-02-12 10:53:05 +01:00
Johannes Schill
be58e275a5
chore: PR feedback, shorten boolean check
2019-02-12 09:55:09 +01:00
Johannes Schill
2db9cb3d93
chore: Rename isDataPanel to noQueries
2019-02-12 09:48:46 +01:00
Torkel Ödegaard
fc91e1cf57
Fixed issue with gauge requests being cancelled
2019-02-11 17:47:47 +01:00
Peter Holmberg
a2dad6157a
hard move
2019-02-11 16:44:09 +01:00
Dominik Prokop
9485c67827
Fix plugin loading failure message not being displayed
2019-02-11 11:47:12 +01:00
Johannes Schill
ec02ddd27b
feat: Only use the DataPanel component when panel plugin has isDataPanel set to true in plugin.json. And fix PanelData when using snapshots
2019-02-07 21:34:50 +01:00
Torkel Ödegaard
cba2ca5531
Url state -> dashboard model state sync starting to work
2019-02-03 12:29:47 +01:00
Torkel Ödegaard
d1d5bbf697
Merge pull request #15188 from grafana/fix/table-data-to-component
...
React panel table data fix
2019-02-01 13:57:26 +01:00
Peter Holmberg
57596462a4
sending paneldata to component, gauge can handle table data
2019-02-01 10:53:58 +01:00
Torkel Ödegaard
aeaac7480b
New solo panel route working in all scenarios I can test
2019-02-01 08:15:21 +01:00
Peter Holmberg
ed0f5b71c7
Merge branch 'master' into table-data-support
2019-01-31 14:16:06 +01:00
Peter Holmberg
7def403018
typing data
2019-01-31 13:59:25 +01:00
Peter Holmberg
88cb38adde
creating table data type
2019-01-31 09:59:21 +01:00
Torkel Ödegaard
aafd4a339a
Moved dashboard state components to state folder
2019-01-31 08:56:17 +01:00
Torkel Ödegaard
6663b2fab9
Moved time_srv to services folder, this should not belong to dashboard feature but it is too dependant on dashboard to move it out now, needs a bigger refactoring to isolate from dashboard
2019-01-31 08:44:46 +01:00
Torkel Ödegaard
474185c977
Moved a few things around
2019-01-31 08:37:15 +01:00
Torkel Ödegaard
36a2b9c015
Merge pull request #15136 from grafana/react-snapshots
...
React snapshots
2019-01-31 07:24:25 +01:00
Johannes Schill
1afc590c70
fix: Don't open panel menu when dragging (react-)panel in dashboard #14946
2019-01-30 15:38:59 +01:00
Johannes Schill
ef4611eb56
chore: Add missing typings in PanelResizer
2019-01-30 15:32:29 +01:00
Johannes Schill
1230f3e48d
chore: Fix typings and remove bindings for arrow functions in DashboardGrid
2019-01-30 15:28:41 +01:00
Peter Holmberg
4b47e857f2
adjusting types to match
2019-01-30 13:43:17 +01:00
Peter Holmberg
ae0b9692be
first implementation
2019-01-30 10:39:42 +01:00
Torkel Ödegaard
71d0fae3a9
Progress on tooltip style update
2019-01-29 13:42:29 +01:00