Commit Graph

4988 Commits (5676d54fed76bddbf0121375df7dddd13bd19ba2)

Author SHA1 Message Date
Andrew Watkins 47e05de99a WIP Allow user to set prefix and suffix in y-axis 2017-08-24 15:59:44 -07:00
Andrew Watkins 9fcc0df313 Fix linter errors 2017-08-24 15:59:44 -07:00
Andrew Watkins be268ba689 WIP Import dygraphs number axis formatter 2017-08-24 15:59:44 -07:00
Alex P e9cd14697b Remove obsolete changelog entry introduced in merge 2017-08-24 15:59:44 -07:00
Jared Scheib 1001fee9d0 Update changelog 2017-08-24 15:59:44 -07:00
Tim Raymond 13e4caa9e2 Update CHANGELOG for layout cell axes 2017-08-24 15:59:44 -07:00
Alex P 9aa0bffb8e Updoot changelog 2017-08-24 15:59:43 -07:00
Jared Scheib 8de5c18d4a Clarify data corruption release note, clean up changelog 2017-08-24 15:59:43 -07:00
Andrew Watkins 887b5f1376 Update changelog 2017-08-24 15:59:43 -07:00
Tim Raymond f99d5017c9 Update CHANGELOG with data corruption notes 2017-08-24 15:59:43 -07:00
Tim Raymond c9c163a455 Update CHANGELOG and version for v1.3.6.1 2017-08-24 15:59:43 -07:00
Tim Raymond 8609aa0ec1 Update CHANGELOG w/ fix for single stat 2017-08-24 15:59:43 -07:00
Andrew Watkins 47a27ed7a2 Update CHANGELOG.md 2017-08-24 15:59:43 -07:00
Andrew Watkins 8498da697e Move active query logic to container 2017-08-24 15:59:43 -07:00
Andrew Watkins 581afe2b17 Change height of table dynamically according to resizer 2017-08-24 15:59:42 -07:00
Tim Raymond 17b51259b6 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 300d67c318 Add SHOW DATABASES integration test with Nightwatch.js. 2017-08-24 15:59:42 -07:00
Jared Scheib 3d4662389b 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 bbe5c49820 Update changelog in response to comments. 2017-08-24 15:59:42 -07:00
Hunter Trujillo 9c1303ce0e CHAMGELOG 2017-08-24 15:59:42 -07:00
Hunter Trujillo 8a419ea0f7 CHANGELOG 2017-08-24 15:59:42 -07:00
Hunter Trujillo 66f3f08bb6 CHANGELOG. 2017-08-24 15:59:42 -07:00
Tim Raymond b08aa236bb 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 a0555cf9fe 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 ce327d59c7 Add and wire up action creator and reducer for fill in query config 2017-08-24 15:15:45 -07:00
Jared Scheib 463ae5dbd6 Add comment and import const for 'null' string value on default config 2017-08-24 15:14:49 -07:00
Jared Scheib ea88b35ef5 Add query transition for fill 2017-08-24 15:11:39 -07:00
Jared Scheib 4b3dd53010 Remove parens from queryFill options 2017-08-24 15:10:48 -07:00
Jared Scheib 2aa2d09250 Make query fill options syntax consistent 2017-08-24 14:38:59 -07:00
Andrew Watkins 1f7f8e02c4 Merge branch 'master' into bugfix/same-range 2017-08-24 14:26:38 -07:00
Andrew Watkins 3c9c0e07cc 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 2137268516 Remove copy in UI 2017-08-24 14:01:57 -07:00
Jared Scheib 0b85991cb5 Make FillQuery only return a single string value 2017-08-24 14:01:42 -07:00
Jared Scheib c5471455c5 Make 'none' the first value for fill 2017-08-24 14:01:05 -07:00
Andrew Watkins 554c6688fd Add default value prop 2017-08-24 12:59:54 -07:00
Andrew Watkins 94522ff70e Fix spelling 2017-08-24 12:59:54 -07:00
Tim Raymond f8580d907e 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 c24db57385 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 63087a1bb8 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 57ee4b8068 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 5c9598f553 Update CHANGELOG.md 2017-08-24 10:11:50 -07:00
Andrew Watkins a97afd5a43 Fix equal min max bug 2017-08-24 10:06:09 -07:00
Joxit 30d68061de Use line stacked in mem.json (#1892) 2017-08-24 18:36:21 +02:00
Andrew Watkins 1a472b5ac8 Remove dup script 2017-08-24 09:25:46 -07:00
Andrew Watkins fac768c142 Update tests for scale to default to linear 2017-08-24 09:23:22 -07:00
Tim Raymond 8c1a091f62 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 7bac8d7655 Merge branch 'master' into feature/tr-aw-axis-display-opts 2017-08-23 21:23:03 -07:00
Andrew Watkins c845f4a8da Update CHANGELOG.md 2017-08-23 21:13:19 -07:00
Andrew Watkins 0149a32355 Fix graphs not resizing properly in cells 2017-08-23 21:08:18 -07:00
Andrew Watkins c20f5cc09a Add a tooltip to value format toggle 2017-08-23 21:08:18 -07:00