Commit Graph

4258 Commits (15e41284e3d9d637b8cac9b12ee1e79540f64760)

Author SHA1 Message Date
Andrew Watkins 15e41284e3 Handle user submitted zero 2017-07-24 11:31:32 -07:00
Alex P 41d175e980 Uncross the wires 2017-07-24 10:52:59 -07:00
Alex P 131ddd2c91 Style CEO Display Options
Using inline SVGs for visualization type selection, moved the whole
graphTypes object into a different location and file structure
2017-07-24 10:52:59 -07:00
Andrew Watkins 6490a6efbd Prettier 2017-07-24 10:52:59 -07:00
Andrew Watkins a15366febb Wire up ranges to the rest of dashboard 2017-07-24 10:52:58 -07:00
Andrew Watkins 549ad92d9c Mock persistence of ranges 2017-07-24 10:52:58 -07:00
Andrew Watkins edebfa2cbf Save range with entire cell 2017-07-24 10:52:58 -07:00
Andrew Watkins dba8359cd1 Prettier 2017-07-24 10:52:58 -07:00
Andrew Watkins ee7ae66a23 Hook up ranges to CEO 2017-07-24 10:52:58 -07:00
Andrew Watkins 30ee24fe09 Add temporary styles 2017-07-24 10:52:58 -07:00
Andrew Watkins b575e9af85 Add reducer for cell range 2017-07-24 10:52:58 -07:00
Hunter Trujillo 0ba94497e0 Ranger improvements. 2017-07-24 10:52:58 -07:00
Hunter Trujillo 3ffe599400 Add Ranger component. Add yRange prop. Add min / max inputs. 2017-07-24 10:52:57 -07:00
Hunter Trujillo 64ba00804f Fix visualization selection functionality. 2017-07-24 10:52:57 -07:00
Hunter Trujillo f3c1eb1649 Refactor Overlay Controls into a separate component for later. Add Display Options component. Replace Overlay Controls with Display Options. 2017-07-24 10:52:57 -07:00
Tim Raymond ee6a2fa54b Enforce only "x", "y", and "y2" axes
For the forseeable future, we will only be using the "x", "y", and "y2"
axes, even though the underlying serialization can support arbitrary
axes (for the future).

This ensures that only "x", "y", and "y2" axes are present and updates
the Swagger docs to reflect that fact
2017-07-21 12:09:49 -04:00
Tim Raymond d1443b1dbd Add tests for Dashboard protobuf & misc renaming
There were previously no tests around Dashboard serialization to
protobuf, so this patch adds coverage for that. Also, the `go-cmp`
package has been introduced to replace our usage of `reflect.DeepEqual`
going forward because it has better comparison features that make it
more stable across Go versions and produces nice diffs in tests when
they fail, reducing the need for debug lines and manual inspection.
2017-07-21 11:11:30 -04:00
Tim Raymond 617fc38b14 s/DashboardRange/Axis, format protobufs, 64-bit
"Axis" is a more consistent and appropriate name. Also, the formatting
the protobufs was all over the place, so this has been made consistent
using a first-column \t. Furthermore, a vim modeline was added to the
bottom to make it easier for editors to autoconfigure themselves to the
right format, since protobufs are not something that we edit everyday.

Also, 32-bit values have been substituted for 64-bit values in Protobuf
definitions.
2017-07-20 14:42:51 -04:00
Tim Raymond a423a98d36 Update Swagger with Cell Axes
Cells now have axes which represent their visualization's viewport. This
updates the Swagger documentation to reflect this.

Things to be aware of
=====================

The form of "axes" is that of a map<string,object>, which is represented
in Swagger by an "additionalProperties" key (search for "string to model
mapping" here: https://swagger.io/specification/).
2017-07-19 11:18:01 -04:00
Tim Raymond f05c1d0774 Add Axes to Dashboard Cells
The frontend would like to store viewport information for each cell so
that visualizations are zoomed to the proper extents upon rendering.
This adds a property to cells called "axes" which takes the following
shape:

```
{
   "axes" : {
      "y" : {
         "bounds" : [
            0,
            2
         ]
      },
      "y2" : {
         "bounds" : [
            1,
            3
         ]
      }
   }
}
```

Bounds specify the visible range for the axis, and are a 2-tuple of the
form [lower, upper]. Bounds are not implicitly inclusive or
exclusive--that determination is left for clients to make. Also, there
are no restrictions on the naming of axes.
2017-07-19 10:46:32 -04:00
Chris Goller fa9e118686 Merge pull request from influxdata/feature/update-dep
Update dep and kapacitor
2017-07-17 16:08:03 -05:00
Chris Goller 4432a8227e Update kapacitor alerts and ast to 1.3.1 features. 2017-07-14 21:09:39 -05:00
Chris Goller 8e9d3ee98b Update vendored kapacitor to 1.3.1 2017-07-14 21:07:05 -05:00
Chris Goller e256131c92 Update dep files to stable format 2017-07-14 20:14:35 -05:00
Andrew Watkins 5e7644c4fa Merge pull request from influxdata/feature/read-only-tickscript
View server generated TICKscripts
2017-07-13 13:15:36 -07:00
Andrew Watkins 47d5272489 Merge branch 'master' into feature/read-only-tickscript 2017-07-13 12:51:54 -07:00
Andrew Watkins 6134b91ec7 Update CHANGELOG 2017-07-13 12:47:32 -07:00
Hunter Trujillo f729a77e78 rockin es6 2017-07-12 19:02:34 -06:00
Andrew Watkins d38bf4de70 Be the async await change 2017-07-12 16:14:06 -07:00
Andrew Watkins 39b455aba5 Use arrow functions 2017-07-12 15:05:32 -07:00
Andrew Watkins bd0fd0b6a7 Deconstruct PropTypes 2017-07-12 15:04:19 -07:00
Andrew Watkins 71167d9b6a Convert Rule Page to class syntax 2017-07-12 15:02:13 -07:00
Andrew Watkins ad0e410e82 Prettier 2017-07-12 12:50:51 -07:00
Andrew Watkins cece93ca01 Improve Loading styles 2017-07-12 12:50:38 -07:00
Andrew Watkins c5cc63093e Make loading on the rules page actually work 2017-07-12 12:38:23 -07:00
Andrew Watkins 6540624779 Update silly linter rule 2017-07-12 12:38:23 -07:00
Alex P 5a27dfebb4 Sort alert rules table by rules name a-z 2017-07-12 11:49:09 -07:00
Alex P 4a37565e59 Style view tick script overlay 2017-07-12 11:41:33 -07:00
Alex P 15feae2184 Polish alert rules table 2017-07-12 11:20:31 -07:00
Andrew Watkins 94f24c1fcb Tweak styles a bit 2017-07-11 14:48:29 -07:00
Andrew Watkins a8ac8bb9c6 Display TICKscript on rules index 2017-07-11 14:38:24 -07:00
Hunter Trujillo 2a3ad3ac9a Merge pull request from influxdata/feature/1482-custom-time-range
Custom Time Ranges
2017-07-11 14:05:27 -06:00
Alex Paxton 879a16f9fb Merge pull request from influxdata/alerts-table-tweaks
Fine Tune Alerts Table Column Sizing
2017-07-10 15:49:41 -07:00
Hunter Trujillo dfa769d7c3 Update CHANGELOG. Feature was in wrong release. 2017-07-10 16:22:56 -06:00
Hunter Trujillo 8307a3b336 I think this goes here in the swagger doc... 2017-07-10 16:18:05 -06:00
Hunter Trujillo 025af5c1ca Merge branch 'master' into feature/1482-custom-time-range
# Conflicts:
#	ui/src/style/pages/dashboards.scss
2017-07-10 16:09:14 -06:00
Hunter Trujillo a82936a2e7 womp womp 2017-07-10 15:54:54 -06:00
Hunter Trujillo 7846beff3f Fix quoting around timeStamps. Affects server code. 2017-07-10 15:33:48 -06:00
Alex P d7e6ddcc4d Update changelog 2017-07-10 13:21:40 -07:00
Alex P 4bbdf0a3c3 Merge branch 'master' into alerts-table-tweaks 2017-07-10 13:20:20 -07:00