Commit Graph

429 Commits (2a79591556455ae2db321a38a5265a8a7feaa51e)

Author SHA1 Message Date
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
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
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
Chris Goller e40ea8a836 Merge pull request #293 from influxdata/fix-exploration-patch
Fix incorrect Links in Exploration
2016-10-26 14:47:56 -05:00
Andrew Watkins 6ffa8c55f4 Fix incorrect Links in Exploration 2016-10-26 12:44:26 -07:00
Will Piers 388fe280d4 Merge pull request #290 from influxdata/nav-highlight
Make link highlighting great again. also prefer dashes to underscores in routes
2016-10-25 21:50:39 -07:00
Will Piers d7fc8fe8ce Make link highlighting great again. also prefer dashes to underscores in routes 2016-10-25 15:05:42 -07:00
Will Piers d75e8969da Merge pull request #287 from influxdata/kapacitor-fix
Separate update/create of kapacitor records
2016-10-25 12:49:20 -07:00
Will Piers eeb2b892cd Merge pull request #278 from influxdata/dismiss-notifications
Dismiss notifications on route change
2016-10-25 12:44:15 -07:00
Will Piers e85b7b7ae6 Separate update/create of kapacitor records 2016-10-25 12:40:02 -07:00
Will Piers dab0527bfe Dismiss notifications on route change 2016-10-25 11:11:44 -07:00
Will Piers d9f36cbd6a Update the kapacitor column on manage sources page 2016-10-25 10:04:36 -07:00
Will Piers b879dbf968 Merge pull request #254 from influxdata/feature/pd-kapacitor
Add Kapacitor configuration screen
2016-10-24 16:33:29 -07:00
Will Piers bd993c4cb0 Conform to updated Kapacitor API 2016-10-24 16:26:09 -07:00
Will Piers 34b50c4057 More cleanup and fixes 2016-10-24 14:51:43 -07:00
Kevin Fitzpatrick b6d793590f Fix swagger descriptions 2016-10-24 13:40:15 -07:00
Will Piers fe2a1da551 Cleanup and adding more feedback for user interactions 2016-10-24 13:30:29 -07:00
Will Piers ceafabfeda Update side nav 2016-10-24 12:36:52 -07:00
Will Piers 400b8a4bfd Fix scroll issue 2016-10-24 12:36:52 -07:00
Will Piers 1ebd9173b0 Refactor to avoid URL construction 2016-10-24 12:36:52 -07:00
Will Piers 5813b793c2 Fix Paul's code - eslint 2016-10-24 12:36:52 -07:00
Paul Dix f2726cfe84 Fix remaining issues with Kapacitor config refactor 2016-10-24 12:36:52 -07:00
Paul Dix d839546dbf Fix rebase conflicts.
Update hosts page to use queries that don't specify "default" retention policy.
Remove import of OverviewPage.
2016-10-24 12:36:52 -07:00
Paul Dix 376535999d Update KapacitorPage components
Update KapacitorPage and API to work with new Kapacitor API on MrFusion. Pull SMTP and Slack configuration out to components.
2016-10-24 12:36:52 -07:00
Paul Dix 47c5d8c635 Remove extraneous output from handler/proxy.go 2016-10-24 12:36:52 -07:00
Paul Dix 45c365321b WIP: initial pages on Kapacitor config 2016-10-24 12:36:52 -07:00