Commit Graph

702 Commits (67fba0c56fbac9705fd80d75bbff189f5efe01d8)

Author SHA1 Message Date
Timothy J. Raymond 2f06c44da2 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 9a3b5e2db0 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 92080eeb64 render multiple layouts on separate rows 2016-11-02 02:00:56 -07:00
Jade McGough 4df707f1cd WIP work with multiple layouts 2016-11-02 01:47:55 -07:00
Todd Persen bfbd7b9f05 Merge pull request #303 from influxdata/feature/kapacitor-alert-settings
Feature/kapacitor alert settings
2016-11-01 16:39:57 -07:00
Chris Goller 9a64acc898 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 a83b1b9826 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 dea713465c Fix kapacitor error message on POST with invalid data. 2016-11-01 16:45:31 -05:00
Tim Raymond f4682c51d6 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 125d19eee8 #263 - strip whitespace from connection string 2016-11-01 11:10:14 -07:00
Rachel McGough 4d0a0fc55d Merge pull request #306 from influxdata/feature/241-time-selector
Feature/241 time selector
2016-11-01 10:52:53 -07:00
Jade McGough 7b252d3cdc default to 15 minutes for queries 2016-10-31 22:47:52 -07:00
Jade McGough 3891b0e24a pass timerange into layoutrenderer 2016-10-31 22:38:18 -07:00
Chris Goller 158f7ea19f 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 ab72fe3e53 wire up TimeRangeDropdown in HostPage 2016-10-31 22:12:25 -07:00
Jade McGough 9bd4539fcc add time dropdown to host page 2016-10-31 16:55:36 -07:00
Jade McGough 81c4662787 move timerange dropdown stuff to shared folder 2016-10-31 16:26:28 -07:00
Andrew Watkins ae476a5c75 Add Sensu config 2016-10-31 11:11:34 -07:00
Andrew Watkins 167c886d3b Add HipChat config 2016-10-31 11:03:45 -07:00
Will Piers 2a79591556 Merge pull request #295 from influxdata/feature/216-add-edit-sources
Add / Edit Sources
2016-10-31 10:45:02 -07:00
Will Piers 7d339c0bd6 Rebase, add user feedback 2016-10-31 10:33:32 -07:00
Andrew Watkins d331a51964 Add PagerdutyConfig 2016-10-31 09:48:20 -07:00
Andrew Watkins 3065898356 Add Telegram configuration 2016-10-31 09:48:20 -07:00
Andrew Watkins 79616ff8f7 Move get into helper function 2016-10-31 09:48:20 -07:00
Will Piers ba7a4b9752 Wire up the default checkbox on source form 2016-10-31 09:42:48 -07:00
Will Piers 00ee959d2e Rename and refactor the source form 2016-10-31 09:42:48 -07:00
Kevin Fitzpatrick 64cc51a218 Fix issues with uncontrolled inputs. 2016-10-31 09:42:48 -07:00
Kevin Fitzpatrick ab620f07a3 New/Edit Source 2016-10-31 09:42:48 -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 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
Chris Goller b1613d10d0 Add design about kapacitor tick script generation. 2016-10-28 17:12:02 -05:00
Tim Raymond faf2ac7685 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 9622eafff0 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 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
Tim Raymond a6300f25f0 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 204fc0385f Merge pull request #292 from influxdata/feature/tracking-simple
Add server reporting
2016-10-28 14:59:34 -07:00
gunnaraasen 39d21014dc Add usage stats reporting 2016-10-28 14:34:55 -07:00
Chris Goller e76785fc80 Merge pull request #296 from influxdata/feature/remove-autogen
Refactor to remove autogenerated code.
2016-10-28 14:08:23 -05:00
Chris Goller d6a067427b Fix mux paths to be hardcoded; clarify server start; fix golint 2016-10-28 11:27:06 -05:00
Will Piers 4f590f6e6e 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 dceb2216b5 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 16c25915a0 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 291f6ccabe Update App.js 2016-10-27 11:24:11 -07:00
Andrew Watkins 8e62d5f47c Rename tab title from InfluxEnterprise to Chronograf 2016-10-27 10:59:51 -07:00
Andrew Watkins 5a603a8e07 Fix double click DE bug 2016-10-27 09:49:24 -07:00
Chris Goller d1359c09b3 Refactor to remove autogenerated code. 2016-10-26 22:10:52 -05:00
Jade McGough 7f08bc8358 allow users to filter by apps 2016-10-26 17:04:02 -07:00
Andrew Watkins ef4e09d4d6 Fix copy 2016-10-26 16:28:16 -07:00
Andrew Watkins ec0ba3ba8c Add Alerta and VictorOps kapacitor configs to UI 2016-10-26 16:25:36 -07:00
Andrew Watkins 65babedac2 Count filtered hosts 2016-10-26 16:23:11 -07:00