Commit Graph

4806 Commits (822415f4982bdc765cbf942ead429ce1738b9296)

Author SHA1 Message Date
Alex P 822415f498 Use invisible triangle to prevent accidental hovers when mousing to a subnav item 2017-08-29 18:54:31 -07:00
Alex P afc911c1ce Highlight logo square when viewing status page 2017-08-29 18:34:39 -07:00
Alex Paxton 8aaa374c80 Merge pull request #1940 from influxdata/fix-duration-cell-width
Fix Sizing of Table in Admin > Databases
2017-08-29 18:04:15 -07:00
Alex Paxton 2ddcabdc2b Merge branch 'master' into fix-duration-cell-width 2017-08-29 16:30:09 -07:00
Alex Paxton 267216cd7a Merge pull request #1942 from influxdata/polish-kapacitor-optional-styles
Polish Optional Alert Parameters
2017-08-29 16:29:32 -07:00
Andrew Watkins 16ab7f2598 Update placeholder 2017-08-29 16:25:28 -07:00
Alex P 19e902cf08 Updoot the log of change 2017-08-29 12:48:09 -07:00
Alex P 0445d4722f Polish optional alert rules 2017-08-29 12:44:32 -07:00
Alex P 2cfd9de398 Updoot log of changes 2017-08-29 11:15:28 -07:00
Alex P 07e096ee78 Fix for 1932 2017-08-29 11:12:33 -07:00
Andrew Watkins 404b151db5 Merge pull request #1930 from influxdata/bugfix/same-range
Fix equal min max bug
2017-08-29 10:01:47 -07:00
Andrew Watkins 059a9f19fb Fix js rounding errors 2017-08-28 12:39:49 -07:00
Chris Goller 7ef09dd271 Update CHANGELOG about line-stacked for memory graphs 2017-08-25 17:28:23 -05:00
Chris Goller 351347ec63 Merge pull request #1933 from Joxit/master
Use line stacked in mem.json (#1892)
2017-08-25 17:25:42 -05:00
Andrew Watkins 73db221798 Merge branch 'master' into bugfix/same-range 2017-08-24 14:26:38 -07:00
Andrew Watkins ebefee2711 Merge pull request #1928 from influxdata/feature/tr-aw-axis-display-opts
Moar Y-Axis Options
2017-08-24 14:25:01 -07:00
Andrew Watkins 2c72a7b68b Add default value prop 2017-08-24 12:59:54 -07:00
Andrew Watkins cfd8bac7b8 Fix spelling 2017-08-24 12:59:54 -07:00
Tim Raymond d559acc0e0
Refactor set membership validation
The pattern of using a select with a list of options and a default that
returns an error isn't bad for a one-off validation:

select myProp {
  case "validOption1", "validOption2":
    // no-op
  default:
    panic("invalid!")
}

However, we're doing this multiple times in this method, so it makes
sense to pull this out into a new method to make it clearer what's
happening.

This adds a `oneOf` function that takes some property and a variadic
list of valid options and reports whether or not that property is among
that list.
2017-08-24 15:45:51 -04:00
Tim Raymond e421bf83d4
Add validation around Base and Scale
The Base and Scale options on axes can only be one of two parameters. We
weren't validating that this was the case. This patch ensures that Base
can only ever be "10" or "2", and Scale must be either "linear" or
"log".

Associated test coverage was also added.
2017-08-24 15:37:19 -04:00
Tim Raymond 3b51cb8339
Update Swagger for new axes options
New options were introduced to control things like scale, base, etc. on
axes and these were previously not documented. This adds documentation
of the newly supported parameters by the API.
2017-08-24 14:50:12 -04:00
Tim Raymond 69cd695dff
Update commenting on new axis options
Existing comments were deemed unclear or inconsistent with convention.
2017-08-24 14:42:14 -04:00
Andrew Watkins 22f966c6e0 Update CHANGELOG.md 2017-08-24 10:11:50 -07:00
Andrew Watkins accd502b06 Fix equal min max bug 2017-08-24 10:06:09 -07:00
Joxit 87e87ca286 Use line stacked in mem.json (#1892) 2017-08-24 18:36:21 +02:00
Andrew Watkins 7cf47a12f2 Remove dup script 2017-08-24 09:25:46 -07:00
Andrew Watkins 1ab6e55965 Update tests for scale to default to linear 2017-08-24 09:23:22 -07:00
Andrew Watkins 5685b8fb13 Merge branch 'master' into feature/tr-aw-axis-display-opts 2017-08-23 21:23:03 -07:00
Andrew Watkins 2990014f02 Update CHANGELOG.md 2017-08-23 21:13:19 -07:00
Andrew Watkins 21288e308f Fix graphs not resizing properly in cells 2017-08-23 21:08:18 -07:00
Andrew Watkins 39bf08acaf Add a tooltip to value format toggle 2017-08-23 21:08:18 -07:00
Andrew Watkins 87b9e0417b Remove magic numbers 2017-08-23 21:08:18 -07:00
Andrew Watkins ba442c2556 Move DisplayOptionsInput into /dashboard dir 2017-08-23 21:08:18 -07:00
Andrew Watkins be4ca9fcda Add ability to toggle between linear and logarithmic scale 2017-08-23 21:08:18 -07:00
Andrew Watkins 72cba23a44 Default scale to 'linear' 2017-08-23 21:08:17 -07:00
Andrew Watkins f2ef91053f Make input SFC 2017-08-23 21:08:17 -07:00
Andrew Watkins 5e46f7150a Use defaultProps instead of _.get() 2017-08-23 21:08:17 -07:00
Andrew Watkins a4ecc243d9 Update dygraph based on user selected base 2017-08-23 21:08:17 -07:00
Andrew Watkins 80e383a152 Allow set base state on cell 2017-08-23 21:08:17 -07:00
Andrew Watkins e04c7191a0 Fix incorrect empty y2 bound 2017-08-23 21:07:36 -07:00
Andrew Watkins 1287500931 Fix incorrect positioning of labels on initial render 2017-08-23 21:07:36 -07:00
Andrew Watkins 430bc4ee55 Actually resize Dygraph on component update 2017-08-23 21:07:36 -07:00
Andrew Watkins 6eb828b4db Cleanup 2017-08-23 21:07:36 -07:00
Andrew Watkins 25bcb1c372 WIP Allow user to set prefix and suffix in y-axis 2017-08-23 21:07:36 -07:00
Andrew Watkins edd9fa41df Fix linter errors 2017-08-23 21:06:27 -07:00
Andrew Watkins b6b2fb0655 WIP Import dygraphs number axis formatter 2017-08-23 21:06:27 -07:00
Jared Scheib 5710b116c8 Fix changelog update for Pull #1886 to be excluded from 1.3.7.0 2017-08-23 16:20:37 -07:00
Alex P 4188bc9676 Remove obsolete changelog entry introduced in merge 2017-08-23 16:15:42 -07:00
Jared Scheib e0f397f8dd Update changelog 2017-08-23 16:15:42 -07:00
Tim Raymond 8cae0863ae Update CHANGELOG for layout cell axes 2017-08-23 16:15:42 -07:00