Alex P
5f80268191
Guard against missing colors
2017-12-05 12:07:40 -08:00
Alex P
12d1845395
Use destructuring and implicit return
...
Just a nicer pattern
2017-12-04 16:53:48 -08:00
Alex P
3adb6206e1
Use template string instead of String constructor
2017-12-04 16:49:39 -08:00
Alex P
ee82fd6c4d
Remove unused ref
2017-12-04 16:48:45 -08:00
Alex P
8e7e2bb266
Use PureComponent in favor of shouldComponentUpdate with shallow compare
2017-12-04 16:44:21 -08:00
Chris Goller
3a07920d4c
Merge branch 'master' into gauge-cell-type
...
Conflicts:
bolt/internal/internal.pb.go
bolt/internal/internal.proto
server/cells.go
2017-11-27 16:08:42 -06:00
Alex P
7f35f3d49c
Updoot changelog
2017-11-27 13:22:33 -08:00
Alex P
d381da7bfa
Use error state input from theme when gauge threshold has bad value
2017-11-27 13:07:19 -08:00
Alex P
4ab57b0c20
Revert "Set reasonable defaults when gauge is passed empty colors"
...
This reverts commit 89ceeec518
.
2017-11-27 11:41:53 -08:00
Alex P
3ea01d7a4d
Update version of bootstrap theme
...
This one has a new type of themed inputs
2017-11-27 11:37:20 -08:00
Alex P
89ceeec518
Set reasonable defaults when gauge is passed empty colors
2017-11-27 11:29:20 -08:00
Alex P
82217b7543
Add 2 shades of grey to gauge colors list
2017-11-27 11:15:48 -08:00
Andrew Watkins
60aa501379
Merge pull request #2408 from influxdata/bugfix/refresh-dashboard-names
...
Use props instead of state for Dashboard name list
2017-11-27 13:38:35 -05:00
Andrew Watkins
01c656e987
Update CHANGELOG
2017-11-27 10:51:58 -05:00
Andrew Watkins
10c06edba6
Use props instead of state for Dashboard name list
2017-11-27 10:37:38 -05:00
Andrew Watkins
da6218a1b0
Put Chrony back
2017-11-27 10:13:02 -05:00
Alex P
5c10b77087
Refactor gauge options interactions to feel more natural
...
Previously felt clunky because it would try to update onChange and when
it wasn’t allowed the input became unwieldy
Separated validation from updating, which lets you type whatever you
want in the input but it won’t actually update unless you’ve typed a
valid value. It also will turn the input red when you’ve typed an
invalid value. Input will revert to last valid value on blur
2017-11-22 17:21:33 -08:00
Alex P
bcb2b99abc
Ensure a unique value for newly added thresholds
2017-11-22 17:18:34 -08:00
Alex P
d5406ac749
Remove comments
2017-11-22 15:25:58 -08:00
Alex P
6fdba650ec
Make CEO gauge preview update as changes are made
2017-11-22 15:22:58 -08:00
Alex P
0d2b1a6cde
Ensure smooth resizing of gauges inside cells and the CEO
2017-11-22 15:20:11 -08:00
Alex P
5de3e08d80
Pass resizer top & bottom pixels into children
2017-11-22 15:08:37 -08:00
Alex P
0797eb188a
Prevent user from inputing inoperable gauge values
2017-11-22 14:14:16 -08:00
Alex P
ecfd0422e6
Refactor gauge drawing to accept any number of thresholds
...
Defaults to a gradient when there are only 2 thresholds
2017-11-22 13:42:52 -08:00
Alex P
0cc1a32ea3
WIP use actual min and max in display of gauge
2017-11-21 17:41:17 -08:00
Alex P
cbbb6412b3
Send colors with save action and pass down to GaugeChart
2017-11-21 17:40:38 -08:00
Alex Paxton
dc7a934d54
Merge pull request #2403 from influxdata/feature/store-colors
...
Add colors to storage of cells
2017-11-21 17:32:34 -08:00
Chris Goller
d74de4e6f6
Update indentation format of the proto file
2017-11-21 19:29:34 -06:00
Chris Goller
312fce1bc5
Add colors to storage of cells
2017-11-21 19:26:25 -06:00
Alex P
f1190121a7
Set value of new gauge thresholds to the average of the min and max values
2017-11-21 12:53:49 -08:00
Alex P
5228b1dfde
Add ability to delete a gauge threshold
2017-11-21 12:46:47 -08:00
Alex P
63618a7d10
Update CEO colors state from threshold value input
2017-11-21 12:43:32 -08:00
Alex P
ebcdf44269
Update CEO colors state from threshold color dropdown
2017-11-21 12:43:19 -08:00
Alex P
3d095b012d
Sort gauge thresholds by value before rendering
2017-11-21 12:11:56 -08:00
Andrew Watkins
284c7779ce
Merge pull request #2385 from influxdata/feature/time-cop
...
Feature/time cop
2017-11-21 11:44:21 -08:00
Andrew Watkins
82fecbd91c
Fix broken test due to stupid new line
2017-11-21 11:34:26 -08:00
Andrew Watkins
5280589505
Handle nil cell in validateDashboardRequest
2017-11-21 11:27:48 -08:00
Alex P
52775c040b
Remove console log
2017-11-21 11:24:55 -08:00
Alex P
34b2cf2649
Wire up add threshold function in CEO
2017-11-21 11:24:15 -08:00
Alex P
fef38281fb
Refactor gauge options to be a SFC and simplify into subcomponent
2017-11-21 11:00:17 -08:00
Chris Goller
032c4e1d85
Merge pull request #2397 from influxdata/feature/cell-colors
...
Add colors to all cells
2017-11-21 12:47:23 -06:00
Andrew Watkins
fc793e1fa1
Merge branch 'feature/time-cop' of github.com:influxdata/chronograf into feature/time-cop
2017-11-21 10:37:33 -08:00
Andrew Watkins
bde2e11cc1
Format TimeShift struct property descriptions
2017-11-21 10:37:07 -08:00
Andrew Watkins
afa926a5c7
Update proto TimeShift property descriptions
2017-11-21 10:33:21 -08:00
Chris Goller
efbc7e0853
Merge pull request #2386 from influxdata/feature/de-support-non-literals
...
Update queryConfig render to support wildcard, re, int, num
2017-11-21 12:33:09 -06:00
Andrew Watkins
6f6cde7179
Merge branch 'master' into feature/time-cop
2017-11-21 10:29:31 -08:00
Chris Goller
862c1fcade
Update invalid swagger information for cell hex color length
2017-11-21 12:22:02 -06:00
Chris Goller
8181e1eaf7
Add colors to all cells
2017-11-21 12:16:23 -06:00
Alex P
67e3470fe5
Refactor color dropdown to use key 'name' instead of 'text'
2017-11-21 10:11:06 -08:00
Alex P
5e071375a9
WIP Add gauge controls in display options
2017-11-20 21:51:22 -08:00