Commit Graph

4245 Commits (562729b6b5bc97de32497394a6a8cc7c3b74a8e5)

Author SHA1 Message Date
Hunter Trujillo 562729b6b5 Fix visualization selection functionality. 2017-07-24 10:52:57 -07:00
Hunter Trujillo c336805943 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 ead7c103ba
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 7e6ddaaa9f
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 b5f2bea66f
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 bab28c7271
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 e513e61481
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 05e712546f Merge pull request #1725 from influxdata/feature/update-dep
Update dep and kapacitor
2017-07-17 16:08:03 -05:00
Chris Goller c7ffac61a6 Update kapacitor alerts and ast to 1.3.1 features. 2017-07-14 21:09:39 -05:00
Chris Goller 3aaaaf44e9 Update vendored kapacitor to 1.3.1 2017-07-14 21:07:05 -05:00
Chris Goller 748ed123f4 Update dep files to stable format 2017-07-14 20:14:35 -05:00
Andrew Watkins 7200f08fe0 Merge pull request #1717 from influxdata/feature/read-only-tickscript
View server generated TICKscripts
2017-07-13 13:15:36 -07:00
Andrew Watkins 373d66c2f4 Merge branch 'master' into feature/read-only-tickscript 2017-07-13 12:51:54 -07:00
Andrew Watkins 3ea5df9aa6 Update CHANGELOG 2017-07-13 12:47:32 -07:00
Hunter Trujillo 73b465bef3 rockin es6 2017-07-12 19:02:34 -06:00
Andrew Watkins beb04bd3f6 Be the async await change 2017-07-12 16:14:06 -07:00
Andrew Watkins 3f0e78e256 Use arrow functions 2017-07-12 15:05:32 -07:00
Andrew Watkins 634adede41 Deconstruct PropTypes 2017-07-12 15:04:19 -07:00
Andrew Watkins 5bbab5012c Convert Rule Page to class syntax 2017-07-12 15:02:13 -07:00
Andrew Watkins cabbc2d635 Prettier 2017-07-12 12:50:51 -07:00
Andrew Watkins 6e33fe2e0d Improve Loading styles 2017-07-12 12:50:38 -07:00
Andrew Watkins 858a9a7441 Make loading on the rules page actually work 2017-07-12 12:38:23 -07:00
Andrew Watkins 043d3dbd71 Update silly linter rule 2017-07-12 12:38:23 -07:00
Alex P 38b278a18c Sort alert rules table by rules name a-z 2017-07-12 11:49:09 -07:00
Alex P 2f2021e9ae Style view tick script overlay 2017-07-12 11:41:33 -07:00
Alex P 3ca528bbb1 Polish alert rules table 2017-07-12 11:20:31 -07:00
Andrew Watkins b7450324ff Tweak styles a bit 2017-07-11 14:48:29 -07:00
Andrew Watkins 40634528fc Display TICKscript on rules index 2017-07-11 14:38:24 -07:00
Hunter Trujillo 33eece406c Merge pull request #1681 from influxdata/feature/1482-custom-time-range
Custom Time Ranges
2017-07-11 14:05:27 -06:00
Alex Paxton d064876d16 Merge pull request #1707 from influxdata/alerts-table-tweaks
Fine Tune Alerts Table Column Sizing
2017-07-10 15:49:41 -07:00
Hunter Trujillo d27ab2e4ce Update CHANGELOG. Feature was in wrong release. 2017-07-10 16:22:56 -06:00
Hunter Trujillo 44181d540e I think this goes here in the swagger doc... 2017-07-10 16:18:05 -06:00
Hunter Trujillo 479bc5c80a 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 9e967ae882 womp womp 2017-07-10 15:54:54 -06:00
Hunter Trujillo 6f572c7504 Fix quoting around timeStamps. Affects server code. 2017-07-10 15:33:48 -06:00
Alex P 3b3810f8da Update changelog 2017-07-10 13:21:40 -07:00
Alex P 7edd10b541 Merge branch 'master' into alerts-table-tweaks 2017-07-10 13:20:20 -07:00
Jared Scheib 8a67996465 Merge pull request #1709 from influxdata/fix/he_dep_package_json/1693
Move dependency to correct package.json and yarn.lock
2017-07-10 13:15:08 -07:00
Alex P 4bce195a1f Change level column to dot instead of text, truncate long hostnames with ellipsis
Browser displays full hostname when mouse hovers over link
2017-07-10 13:14:30 -07:00
Alex Paxton 735fd97705 Merge pull request #1708 from AbleLincoln/zindex
Fix z-index for options context menu
2017-07-10 13:06:37 -07:00
Alex P afbf11b7ae Fix accidental changelog mixup from merge 2017-07-10 13:01:41 -07:00
Alex P 4d63e9f954 Make changelog update more descriptive
Sorry to nitpick
2017-07-10 12:59:07 -07:00
Alex P 2ba5ec952c Move changelog update into correct version header 2017-07-10 12:56:41 -07:00
Alex Paxton fef6d7c545 Merge branch 'master' into zindex 2017-07-10 12:52:08 -07:00
Andrew Maney 0e177b162a Update CHANGELOG message to present tense 2017-07-10 15:44:36 -04:00
Jared Scheib 54a6bfe529 Move he dep to correct package.json and yarn.lock 2017-07-10 12:38:36 -07:00
Alex P 4bbe59da00 Prioritize alert name over host 2017-07-10 12:22:40 -07:00
Luke Morris 2f98f97c31 Bump version, update changelog 2017-07-10 11:52:12 -07:00
Andrew Maney aff4c7840d CHANGELOG updated 2017-07-10 13:38:35 -04:00
Andrew Maney f1bc44dfee Z-index for options menu fixed 2017-07-10 13:14:50 -04:00