Commit Graph

606 Commits (7bb5b1e5a1125f7d722d81183c80d13908ece95b)

Author SHA1 Message Date
nathan haugo feb9ef05b9 Revert unwanted changes from commit to new_apps.sh 2016-11-03 11:13:40 -07:00
nathan haugo fdd1dcf3fd Add name and cell to new_app.sh 2016-11-03 11:03:26 -07:00
Timothy J. Raymond 90f18007cb Merge pull request #317 from influxdata/feature/193-multiple-layouts
Feature/193 multiple layouts
2016-11-02 17:39:47 -04:00
Jade McGough 5250219a29 prevent grid layouts from overlapping 2016-11-02 12:47:33 -07:00
Timothy J. Raymond 694189333a Merge pull request #316 from influxdata/bugfix/tr-pin-eslint
Pin ESLint to 3.5.x
2016-11-02 13:55:36 -04:00
Tim Raymond 865890532a Pin ESLint to 3.5.x
In 3.9.x, ESLint changed how many spaces are expected on a trailing
parens following a return. Previously it expected:

```
01234567890
  return (
    <div>
    </div>
    );
01234567890
    ^~~~~~~~ It previously expected 5 spaces here

01234567890
  return (
    <div>
    </div>
  );
01234567890
  ^~~~~~~~~~ Now it wants 3
```

Until we're ready to explicitly make that change, we're going to pin to
3.5.x (which expects 5 spaces in the example above.
2016-11-02 13:43:59 -04:00
Jade McGough a4e27c02a7 render multiple layouts on separate rows 2016-11-02 02:00:56 -07:00
Jade McGough c9af7141a4 WIP work with multiple layouts 2016-11-02 01:47:55 -07:00
Todd Persen c65491c4e8 Merge pull request #303 from influxdata/feature/kapacitor-alert-settings
Feature/kapacitor alert settings
2016-11-01 16:39:57 -07:00
Chris Goller 76fce28eb6 Merge pull request #313 from influxdata/feature/tr-wire-up-mappings
Wire up /mappings endpoint to layouts
2016-11-01 17:05:43 -05:00
Chris Goller 03306db6d8 Merge pull request #314 from influxdata/feature/fix-kapa-err
Fix kapacitor error message on POST with invalid data.
2016-11-01 16:52:04 -05:00
Chris Goller 5158c492d0 Fix kapacitor error message on POST with invalid data. 2016-11-01 16:45:31 -05:00
Tim Raymond 5eabf6aa12 Wire up /mappings endpoint to layouts
This populates the /mappings with data found in the LayoutStore. It uses
the ID for the layout as the mappings Name and pulls the Measurement
from there as well.
2016-11-01 15:49:10 -04:00
Jade McGough 6308122f81 #263 - strip whitespace from connection string 2016-11-01 11:10:14 -07:00
Rachel McGough 0a8285b638 Merge pull request #306 from influxdata/feature/241-time-selector
Feature/241 time selector
2016-11-01 10:52:53 -07:00
Jade McGough 46b9567fa9 default to 15 minutes for queries 2016-10-31 22:47:52 -07:00
Jade McGough 0906261629 pass timerange into layoutrenderer 2016-10-31 22:38:18 -07:00
Chris Goller a6f42eb0c3 Merge pull request #302 from influxdata/feature/kapacitor-service
Add design about kapacitor tick script generation.
2016-11-01 00:17:02 -05:00
Jade McGough 113847f903 wire up TimeRangeDropdown in HostPage 2016-10-31 22:12:25 -07:00
Jade McGough 16177ccafd add time dropdown to host page 2016-10-31 16:55:36 -07:00
Jade McGough 45a046cb19 move timerange dropdown stuff to shared folder 2016-10-31 16:26:28 -07:00
Andrew Watkins 177d394e76 Add Sensu config 2016-10-31 11:11:34 -07:00
Andrew Watkins 2e26ee3e75 Add HipChat config 2016-10-31 11:03:45 -07:00
Will Piers b84e23eda8 Merge pull request #295 from influxdata/feature/216-add-edit-sources
Add / Edit Sources
2016-10-31 10:45:02 -07:00
Will Piers 6f6c437f8d Rebase, add user feedback 2016-10-31 10:33:32 -07:00
Andrew Watkins f957d7df52 Add PagerdutyConfig 2016-10-31 09:48:20 -07:00
Andrew Watkins 972debac8b Add Telegram configuration 2016-10-31 09:48:20 -07:00
Andrew Watkins 6aa5735171 Move get into helper function 2016-10-31 09:48:20 -07:00
Will Piers e9e8510c57 Wire up the default checkbox on source form 2016-10-31 09:42:48 -07:00
Will Piers 6ab29756ec Rename and refactor the source form 2016-10-31 09:42:48 -07:00
Kevin Fitzpatrick 8530c0c69d Fix issues with uncontrolled inputs. 2016-10-31 09:42:48 -07:00
Kevin Fitzpatrick c262470e7c New/Edit Source 2016-10-31 09:42:48 -07:00
Timothy J. Raymond d5cfcb5fa7 Merge pull request #297 from influxdata/feature/tr-layouts
Render layouts from API
2016-10-28 19:26:10 -04:00
Tim Raymond 433290a209 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
Chris Goller 5468602dc8 Add design about kapacitor tick script generation. 2016-10-28 17:12:02 -05:00
Tim Raymond 3dc2fa9592 Add I and Name to protobufs
I and Name were added to support react-grid-layout. They were added to
the chronograf types, but not to the protobuf definitions, so the only
layouts that could make use of them were the canned variety. This allows
layouts' I and Name to be persisted as well.
2016-10-28 18:03:34 -04:00
Tim Raymond 9aa83112c2 Satisfy build errors
Somehow an unused FlashMessages snuck in during the rebase. Also there
were places where Mappings was expecting a *string, but we were passing
a string. I believe this is because the autogenerated code creates
*string, and I modified it to use strings at one point. Everywhere
should use *string now.
2016-10-28 18:01:22 -04:00
Tim Raymond a4793bdefc 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
Tim Raymond 3b77189515 Wire up /mappings API to LayoutsStore
This makes the /mappings endpoint return real data based off of the
layouts seen within the LayoutsStore.
2016-10-28 18:00:44 -04:00
Gunnar 7ee9a10d30 Merge pull request #292 from influxdata/feature/tracking-simple
Add server reporting
2016-10-28 14:59:34 -07:00
gunnaraasen b85a5be094 Add usage stats reporting 2016-10-28 14:34:55 -07:00
Chris Goller 145eaf4379 Merge pull request #296 from influxdata/feature/remove-autogen
Refactor to remove autogenerated code.
2016-10-28 14:08:23 -05:00
Chris Goller dd9f110533 Fix mux paths to be hardcoded; clarify server start; fix golint 2016-10-28 11:27:06 -05:00
Will Piers de311214b4 Merge pull request #272 from influxdata/feature/update-manage-sources
Update the kapacitor column on manage sources page
2016-10-27 14:08:38 -07:00
Andrew Watkins ded85dd796 Merge pull request #294 from influxdata/feature/filter-by-app
allow users to filter by apps
2016-10-27 12:07:50 -07:00
Andrew Watkins b4f003766e Merge pull request #299 from influxdata/fix-de-side-nav
Fix double click DE bug
2016-10-27 11:37:53 -07:00
Andrew Watkins d458b5561a Update App.js 2016-10-27 11:24:11 -07:00
Andrew Watkins cdeb5dc6ab Rename tab title from InfluxEnterprise to Chronograf 2016-10-27 10:59:51 -07:00
Andrew Watkins 02ac1b0223 Fix double click DE bug 2016-10-27 09:49:24 -07:00
Chris Goller 12348d72cb Refactor to remove autogenerated code. 2016-10-26 22:10:52 -05:00