Commit Graph

6438 Commits (9c9955539052a334d009fe3165ecdd1cf3838495)

Author SHA1 Message Date
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
Jared Scheib 50e2f4dcc9 Merge pull request #2401 from influxdata/multitenancy_rename_default_org-2202
Allow Default org to be renamed in UI; remove Default component
2017-11-27 12:48:32 -06: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
Hunter Trujillo 32f0838135 Linter. 2017-11-27 04:01:39 -07: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
Jared Scheib 139039fc0d Fix heartbeat
Use default obj value destructure syntax for shouldResetMe.
Rename startHeartbeat to performHeartbeat.
2017-11-22 14:42:07 -06:00
Michael Desa a455bac3ce Accept name,provider,scheme in UpdateUser if unchanged 2017-11-22 15:20:48 -05:00
Jared Scheib 0676b42d9c Merge remote-tracking branch 'origin/multitenancy' into multitenancy_reset_current_org 2017-11-22 14:10:15 -06:00
Michael Desa 942671b604 Ensure that organzation on role is valid org id 2017-11-22 15:03:15 -05:00
Michael Desa 5fa2e212fa Disallow empty organization id create/update user 2017-11-22 14:49:44 -05: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
Jared Scheib 17fbfdc020 Allow Default org to be renamed in UI; remove Default component 2017-11-21 17:57:16 -06:00
Michael Desa 688bdbd2a8 Change HTTP Status 401 to 403 in AuthorizedUser
This signals to the front end that a user must go through another ouath
flow.
2017-11-21 18:55:26 -05:00
Michael Desa 881bd11cf8 Return HTTP Status 403 if org not found in /me
Fix returning non-standard status from AuthorizedUser
2017-11-21 18:53:42 -05:00
Chris Goller 90fd1e8555 Update CHANGELOG to override generic oauth email JSON key 2017-11-21 17:09:24 -06:00
Chris Goller 0e72c0d16b Add GENERIC_API_KEY to override of oauth2 responses to support azure 2017-11-21 16:55:03 -06:00
Hunter Trujillo 0f325c629a Refactor to use feature detection instead of version detection. Add logs upgrade message. 2017-11-21 14:46:54 -07:00
Hunter Trujillo 9e8b08bc59 Changelog. 2017-11-21 13:56:02 -07: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
Hunter Trujillo 930f52bb04 Add null guard to tag parsing function to prevent parsing values that don't match tag RegEx. 2017-11-21 13:51:02 -07: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