Commit Graph

11 Commits (b99c721fa306a0e37b8f91510adaadab2a73e3c3)

Author SHA1 Message Date
nathan haugo 770bb0ef6e Revert unwanted changes from commit to new_apps.sh 2016-11-03 11:13:40 -07:00
nathan haugo a212660084 Add name and cell to new_app.sh 2016-11-03 11:03:26 -07: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 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
Chris Goller 91eec23099 Update name to chronograf 2016-10-20 09:39:40 -05:00
Chris Goller afff138d3c Add example pre-canned layout 2016-10-11 14:08:40 -05:00
Chris Goller 1db3b1a005 Update naming of pre-canned layouts.
Layouts now are served from only a directory and are named
MEAUREMENT_UUID.json.
2016-10-11 13:12:19 -05:00
Chris Goller c2fa11c28c Update layouts to use ID generation. 2016-10-10 21:00:49 -05:00
Chris Goller 8bfc405027 Add pre-canned application layout store. 2016-10-10 20:40:16 -05:00