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
a6cae5b2b8
Merge pull request #15494 from grafana/minor-tweaks-panel-edit
...
Removed primary class from Add Query button, and changed name of panel options tab
2019-02-18 11:36:19 +01:00
Dominik Prokop
75dd7d0036
Fix typo in view mode cykle button
2019-02-18 11:08:42 +01:00
Torkel Ödegaard
bf826d7c81
Removed primary class from Add Query button, and changed name of Panel Options tab o General Options
2019-02-18 10:49: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
2d5fd7fdfd
Fixed prettier issue ( #15471 )
...
Fixed prettier CI issue that caused build failures
2019-02-16 15:45:19 +01:00
Torkel Ödegaard
7699706e65
fixed handling of alert urls with true flags, fixes #15454
2019-02-15 11:23:31 +01:00
Torkel Ödegaard
7fd89ff77a
Merge pull request #15424 from grafana/move-error-boundry
...
Move error boundry from DataPanel to PanelChrome
2019-02-14 18:27:03 +01:00
David
2c92365969
Merge pull request #15305 from avaly/feature/ansi-colors
...
Support ANSI colors codes in Loki logs
2019-02-14 18:01:23 +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
124b3486eb
Merge branch 'master' into 15330-vizpicker-red-when-0-hits
2019-02-13 14:49:11 +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
Johannes Schill
27bbadce1d
feat: Add EmptySearchResult ui component and use it in VizTypePicker
2019-02-13 09:22:09 +01:00
Torkel Ödegaard
3b0ae4bd0a
Merge pull request #15368 from grafana/15217-panels-without-queries
...
POC: Panels without queries can skip DataPanel
2019-02-13 08:06:25 +01:00
Torkel Ödegaard
6be50c952c
Merge pull request #15400 from grafana/removed-icons-in-buttons
...
Removed some icons in action button
2019-02-13 08:05:11 +01:00
Johannes Schill
44eaa3eaa8
Revert "feat: Highlight vizpicker input when there are no panels matching the search query"
...
This reverts commit 11db48e76e
.
2019-02-13 07:46:14 +01:00
Torkel Ödegaard
88ef2e1d32
Fixed a minor plugin json lingering issue
2019-02-12 18:31:35 +01:00
Torkel Ödegaard
f195459b01
Removed some icons in action button
...
Trying to align some title case issues
2019-02-12 17:51:08 +01:00
Peter Holmberg
1c5118748a
implement show error in panelcorner
2019-02-12 17:01:07 +01:00
Hugo Häggmark
90d162e608
Merge with master
2019-02-12 16:47:57 +01:00
Hugo Häggmark
222482b6be
Forgot about the snapshots
2019-02-12 16:31:11 +01:00
Torkel Ödegaard
ef7236439a
Merge pull request #15391 from grafana/fixed-double-datasource-edit-page
...
Fixed issues with double page body and husky pre-commit hook
2019-02-12 16:28:07 +01:00
Hugo Häggmark
4c74b09a9d
Renamed to FilterInput and added label and search icon
2019-02-12 16:22:57 +01:00
Johannes Schill
11db48e76e
feat: Highlight vizpicker input when there are no panels matching the search query
2019-02-12 16:19:23 +01:00
Torkel Ödegaard
5708660893
Updated a few plugin json files with dataFormats
2019-02-12 16:15:05 +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
Torkel Ödegaard
bde9e9d5a5
Merge pull request #15394 from grafana/13066-save-as-dashboard
...
fix: No need to have edit permissions to be able to "Save as"
2019-02-12 15:57:41 +01:00
Torkel Ödegaard
8bd7e5a5f4
Merge pull request #15374 from grafana/explore/dedup-selector
...
Move deduplication calculation from Logs component to reselect selector
2019-02-12 14:57:06 +01:00
Torkel Ödegaard
2c4cb03cd3
Fixed issues with double page body and husky pre-commit hook
2019-02-12 14:41:12 +01:00
Johannes Schill
335042b2d0
fix: No need to have edit permissions to be able to "Save as" a dashboard
2019-02-12 14:29:27 +01:00
Dominik Prokop
dd19ec3b22
Move explore selectors to a separate file
2019-02-12 12:36:46 +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
b7b1a79405
chore: Only show Queries tab for panel plugins with isDataPanel set to true
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
Johannes Schill
3f64d61fd2
feat: Add util to convert snapshotData to PanelData
2019-02-12 12:28:53 +01:00
Johannes Schill
c4b2dcefbe
feat: Introduce IsDataPanel attribute to plugin.json
2019-02-12 12:28:53 +01:00