Commit Graph

160 Commits (767778e46011df5b58bc0c8523f3ad3c3d273d8f)

Author SHA1 Message Date
Chris Goller dd6da581df Update to store alert information in boltdb 2016-11-03 19:52:13 -05:00
Chris Goller 60baf46fb7 Update kapacitor generator to match with frontend UI changes. 2016-11-03 19:52:13 -05:00
Chris Goller 0f737b21d2 Update kapacitor tick generation to validate with pipeline 2016-11-03 19:52:13 -05:00
Chris Goller 08c8ada14f Add kapacitor script generation 2016-11-03 19:52:13 -05:00
Chris Goller 476277f219 Add alert interface 2016-11-03 19:52:13 -05:00
Timothy J. Raymond b74b704820 Merge pull request #297 from influxdata/feature/tr-layouts
Render layouts from API
2016-10-28 19:26:10 -04:00
Tim Raymond 88f7815b65 Remove erroneous ,string struct tag
The JSON encoder was very upset with the ,string struct tag option. It
spat out the error:

json: invalid use of ,string struct tag, trying to unmarshal
"18aed9a7-dc83-406e-a4dc-40d53049541a" into string

The documentation appears to be incomplete on this struct tag option,
and removing it fixes this error.
2016-10-28 19:08:05 -04:00
Tim Raymond 1f4e813768 Add "I" and "Name" to cells on backend
React-grid-layout uses an "i" parameter in the JSON describing a layout
as an identifier. This is used to bind DOM elements' keys to Cells from
the API. Also, we need a "Name" to describe what each graph is to a
user.

Also, react-grid-layout specified widths and heights in terms of units
of the grid that it establishes. In order to have this properly
configured, the extents of this grid need to be spelled out when
creating a ReactGridLayout, hence the addition of "cols" and
"rowHeight" props to that component.

Finally, react-grid-layout incorporates some of its own styles. To
support this, some modifications needed to be made to the webpack config
to allow us to pull in includes from node_modules.
2016-10-28 18:01:14 -04:00
gunnaraasen 39d21014dc Add usage stats reporting 2016-10-28 14:34:55 -07:00
Chris Goller d1359c09b3 Refactor to remove autogenerated code. 2016-10-26 22:10:52 -05:00