Torkel Ödegaard
597c380ead
Gauge: tweaks to background color and height usage ( #17019 )
2019-05-13 13:18:14 +02:00
Torkel Ödegaard
575fe7ad5a
Gauge: Better handling of gauge repeat title ( #16886 )
...
* Gauge: began looking at gauge title
* Gauge: title improvements
* Minor progres
* Gauge: title improvements, still needs more tweaking
* Gauge: title is starting to work ok
* Use selectThemeVariant
* Remove unused type
2019-05-06 13:50:17 +02:00
Ryan McKinley
5e7f7e658d
Singlestat-v2/Gauge: Show title when repeating ( #16477 )
...
* show title in singlestat2
* show title in gauge
* use CSS class for emotion
* use emotion not scss
2019-04-10 10:19:44 +02:00
Ryan McKinley
e5c8375ec2
only call onPanelMigration when the version actually changes ( #16186 )
...
* set the plugin version if there is a migration handler
* only call panel migration if the version changes
* set the version after change also
* avoid NPE... check that we have options
* destroy is based on the previous panel type, not the next one
* Panels: Minor refactoring on panel plugin version code, #16186
2019-03-25 14:10:23 +01:00
Peter Holmberg
08a4c9f6fa
move typings to types,
2019-03-22 10:42:17 +01:00
ryan
c38000d445
merge
2019-03-13 13:27:08 -07:00
ryan
1bc8e7a8d1
merge master, works with bar gauge now
2019-03-13 11:12:11 -07:00
Torkel Ödegaard
71159fb606
Merge remote-tracking branch 'origin/master' into bar-gauge-poc
2019-03-13 08:26:06 +01:00
ryan
4e5e548902
merge master
2019-03-12 16:57:30 -07:00
Torkel Ödegaard
25b1bec250
Typescript noAny fixes, start of a long journey
2019-03-12 15:14:45 +01:00
ryan
6ae0d8e062
rename to displayValues
2019-03-11 22:17:37 -07:00
ryan
94799f568e
fix tests
2019-03-11 17:52:46 -07:00
ryan
8cd54c94e9
make value processing reusable
2019-03-11 14:47:54 -07:00
Dominik Prokop
d4c40e4360
Imports updates
2019-02-21 15:12:22 +01:00
Peter Holmberg
362829d7ad
Merge branch 'master' into bar-gauge-poc
2019-02-21 15:08:49 +01:00
Torkel Ödegaard
b4627ec302
Minor fix/polish to gauge panel and threshold editor
2019-02-21 13:44:05 +01:00
Peter Holmberg
58f194b483
Merge branch 'master' into bar-gauge-poc
2019-02-21 10:38:26 +01:00
Peter Holmberg
8c5c953521
minor touch ups
2019-02-20 17:07:36 +01:00
Peter Holmberg
0de9c03879
Merge branch 'gauge-multi-series' into bar-gauge-poc
2019-02-19 15:53:05 +01:00
Peter Holmberg
5f56a07a23
Merge branch 'master' into bar-gauge-poc
2019-02-19 15:43:08 +01:00
Dominik Prokop
88a46e6dd4
Bump Prettier version ( #15532 )
...
* Fix prettier version to 1.16.4
2019-02-19 15:41:35 +01:00
Peter Holmberg
93e8edfddd
Fixing array direction, adding simple render test, fixes #15478
...
Fixed unit test and updated gauge
Added migration for threshold order
2019-02-18 16:46:32 +01:00
Torkel Ödegaard
711e4e926b
Merge branch 'master' into bar-gauge-poc
2019-02-18 11:55:37 +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
b34f2665fd
bar-gauge storybook
2019-02-15 15:23:16 +01:00
Torkel Ödegaard
2284175638
Merge branch 'master' into gauge-multi-series
2019-02-11 11:45:02 +01:00
Dominik Prokop
6b1390b972
Update types and themes usage in components
2019-02-05 17:04:48 +01:00
Peter Holmberg
9fc87e4174
first working draft
2019-02-05 15:12:04 +01:00
Peter Holmberg
57596462a4
sending paneldata to component, gauge can handle table data
2019-02-01 10:53:58 +01:00
Peter Holmberg
b0984cd503
Merge branch 'master' into 15053/gauge-value-font-size
2019-01-29 11:20:16 +01:00
Peter Holmberg
462bdb6d13
increasing font size on longer strings
2019-01-29 11:01:35 +01:00
Peter Holmberg
4b0df606d5
magic number solution
2019-01-29 10:35:42 +01:00
Dominik Prokop
44a7bd68be
Import fix
2019-01-28 17:46:42 +01:00
Dominik Prokop
7a8eb8c115
Merge branch 'master' into tooling/storybook-poc
2019-01-28 17:36:41 +01:00
Peter Holmberg
142ebc7546
some working solution, needs refactor
2019-01-25 16:38:51 +01:00
Dominik Prokop
e5f74fdf93
Rename colorsPalette util to namedColorsPalette
2019-01-23 15:31:41 +01:00
Dominik Prokop
93bb30a561
Enable new color picker in Gauge and Thresholds editor, use ThemeProvider instead of ContextSrv
2019-01-22 09:14:30 +01:00
Hugo Häggmark
a9c33ab658
Moved ValueMapping logic and tests to separate files
2019-01-22 06:40:04 +01:00
Hugo Häggmark
bbb7596113
Changed null logic for range value mappings after PR comments
2019-01-21 17:30:47 +01:00
Hugo Häggmark
38ea11d110
Added check for null value in ValueMappings and added tests
2019-01-21 16:07:55 +01:00
Torkel Ödegaard
f16101101d
Minor refactoring and name changes
2019-01-18 11:58:29 +01:00
Hugo Häggmark
4cc0be2568
Redid logic for fontcolor and thresholds in Gauge and added tests
2019-01-18 09:54:25 +01:00
Hugo Häggmark
8ccf212f34
Added tests for formatted value
2019-01-18 06:40:30 +01:00
Hugo Häggmark
4f6e87bbbf
Small refactor of Gauge and tests
2019-01-18 06:40:30 +01:00
Hugo Häggmark
a6e2be862c
Added typings and refactored valuemappings code
2019-01-18 06:40:30 +01:00
Hugo Häggmark
9a01f3e517
Moved Gauge to ui/components
2019-01-18 06:40:30 +01:00