Commit Graph

4989 Commits (0f5a5d2ed74fab281274f28ea4f56e660000d629)

Author SHA1 Message Date
Andrew Watkins 179db102ab Cleanup 2017-08-24 15:59:44 -07:00
Andrew Watkins 169b1f8ee0 WIP Allow user to set prefix and suffix in y-axis 2017-08-24 15:59:44 -07:00
Andrew Watkins c510d1b832 Fix linter errors 2017-08-24 15:59:44 -07:00
Andrew Watkins 83594e7f8c WIP Import dygraphs number axis formatter 2017-08-24 15:59:44 -07:00
Alex P 4dd5e8c56a Remove obsolete changelog entry introduced in merge 2017-08-24 15:59:44 -07:00
Jared Scheib 1a37c9affa Update changelog 2017-08-24 15:59:44 -07:00
Tim Raymond c682cec727 Update CHANGELOG for layout cell axes 2017-08-24 15:59:44 -07:00
Alex P 7db369d826 Updoot changelog 2017-08-24 15:59:43 -07:00
Jared Scheib 909508e45a Clarify data corruption release note, clean up changelog 2017-08-24 15:59:43 -07:00
Andrew Watkins b42ce8d1b7 Update changelog 2017-08-24 15:59:43 -07:00
Tim Raymond b865000be3 Update CHANGELOG with data corruption notes 2017-08-24 15:59:43 -07:00
Tim Raymond adf4f5312c Update CHANGELOG and version for v1.3.6.1 2017-08-24 15:59:43 -07:00
Tim Raymond 098a3eccf2 Update CHANGELOG w/ fix for single stat 2017-08-24 15:59:43 -07:00
Andrew Watkins a398d4241e Update CHANGELOG.md 2017-08-24 15:59:43 -07:00
Andrew Watkins 49de19014a Move active query logic to container 2017-08-24 15:59:43 -07:00
Andrew Watkins d27c4fe3e5 Change height of table dynamically according to resizer 2017-08-24 15:59:42 -07:00
Tim Raymond 968375ca23 Add Axes to Cells on Layouts
This allows a creator of a layout to specify the visible extents of
graphs for individual cells. For example, a cell displaying a
percentage could be limited to values between 0 and 100.

Existing canned layouts need to updated as a separate step. However,
this adds support for Axes to appear in them as well.
2017-08-24 15:59:42 -07:00
Hunter Trujillo 1715ef2d7a Add SHOW DATABASES integration test with Nightwatch.js. 2017-08-24 15:59:42 -07:00
Jared Scheib 458d3c60a2 Pass default Y label into DisplayOptions
Refactor DisplayOptions into ES6 component
Rename buildYLabel to buildDefaultYLabel
2017-08-24 15:59:42 -07:00
Hunter Trujillo a01f2d9635 Update changelog in response to comments. 2017-08-24 15:59:42 -07:00
Hunter Trujillo 65b1dd3418 CHAMGELOG 2017-08-24 15:59:42 -07:00
Hunter Trujillo 5bfeec3f7c CHANGELOG 2017-08-24 15:59:42 -07:00
Hunter Trujillo 55a35406ce CHANGELOG. 2017-08-24 15:59:42 -07:00
Tim Raymond 98c116114c Add Scale attribute to Cell Axis
This allows clients to specify the magnitude of numbers found on a
particular axis.
2017-08-24 15:59:42 -07:00
Tim Raymond 4a34351b15 Add Prefix, Suffix, and Base to Axes
We would like to add additional user-configurable options to the display
of axes on Dashboards. This adds three fields to expand settings that
the frontend can persist through the API.

One field of interest here is the "Base" field which controls when and
how axes transition the display of values such as bytes, kilobytes,
megabytes, etc. By default, it's returned from the API as "10" to
indicate decimal, but can be set to anything the frontend wishes--the
immediate differing value will be "2" for the aforementioned use case.
2017-08-24 15:59:41 -07:00
Jared Scheib af814be05b Add and wire up action creator and reducer for fill in query config 2017-08-24 15:15:45 -07:00
Jared Scheib 7fa10fbe2d Add comment and import const for 'null' string value on default config 2017-08-24 15:14:49 -07:00
Jared Scheib 2d473cd261 Add query transition for fill 2017-08-24 15:11:39 -07:00
Jared Scheib 5f8c9d4102 Remove parens from queryFill options 2017-08-24 15:10:48 -07:00
Jared Scheib b81ba1687e Make query fill options syntax consistent 2017-08-24 14:38:59 -07: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
Jared Scheib ac3ca96df4 Remove copy in UI 2017-08-24 14:01:57 -07:00
Jared Scheib cc01f5a93b Make FillQuery only return a single string value 2017-08-24 14:01:42 -07:00
Jared Scheib 17ca51a319 Make 'none' the first value for fill 2017-08-24 14:01:05 -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
Tim Raymond 10497abb2c
Add nanosecond precision to :interval: calc
The UI for selecting time ranges produces nanosecond-precision times
for the template variables in the absolute time range. The regex for
absolute time ranges previously did not account for this precision,
which caused it to break.

This updates the regex to consider the nanosecond parts of an
RFC3339Nano timestamp and updates the associated tests. The Gobular link
has also been updated to a fresh playground used to debug this issue.
2017-08-24 11:37:25 -04: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