Commit Graph

11730 Commits (bugfix-error-ast)

Author SHA1 Message Date
Alex Paxton 595665df4b
Cleanup Old Styles (#4359)
* Remove obsolete tempvar manager styles

* Remove obsolete cell editor overlay styles

* Organize imports

* Flatten style imports

* Change class to extend

Print less stuff in the final stylesheet
2018-09-05 10:16:48 -07:00
Michael Desa 8201a0d55c fix(server): pass pprof enabled option down to NewMux properly 2018-09-05 13:04:31 -04:00
Christopher Henn 3f5850ddec Add test for DashboardsPage loading state 2018-09-04 16:12:12 -07:00
Christopher Henn b99f231483 Add loading and error states to DashboardsPage 2018-09-04 16:12:12 -07:00
Brandon Farmer 0b92883989
Merge pull request #4348 from influxdata/fix/use-buckets
Use bucket instead of db for flux queries
2018-09-04 15:03:04 -07:00
Christopher Henn 933b8117d4 Refactor Dygraph component 2018-09-04 13:59:03 -07:00
Alex Paxton f290d61d25
Fix subpixel height in radio buttons (#4347) 2018-09-04 13:35:08 -07:00
Alex Paxton cd9981a312
Scroll when deceo bottom is small (#4344) 2018-09-04 13:34:56 -07:00
Brandon Farmer 42e6b8a086 Use bucket instead of db for flux queries 2018-09-04 13:09:31 -07:00
Alex Paxton 6387eceba3
Polish DE/CEO (#4345)
* Shrink horizontal handle in DE/CEO

* Shrink query maker tabs

* Make visualization background distinct from editor background
2018-09-04 11:32:03 -07:00
Christopher Henn 7ff7c504db Fix annotation filter control undefined bug
These changes fix the following bug:

1. Type text into an `AnnotationFilterControlInput` that does not match
   any suggestions in the dropdown
2. Press enter
3. The string "undefined" gets selected

The fix is to fallback to exactly what text the user entered when
selecting if no suggestion is available.
2018-09-04 10:12:22 -07:00
Alex Paxton 2d082e322f
Improve Cell Cloning UX (#4330)
* Clone cells as close as possible to source cell

* Remove comments

* Cleaner way to handle cell cloning

* WIP

* Increment clone number by 1 when cloning

* Update changelog

* Make linter happy

* Pass array of cell names into function instead of dashboard object

* Improve legibility of math expression
2018-09-04 10:08:46 -07:00
Alex Paxton da495a2045
Introduce Reusable Page Component Family (#4339)
* Introduce Page as primary component with subcomponents

* Implement page components in dashboards page

* Introduce Left/Center/Right page header subcomponents

* Refactor PageHeader into full fledged Page component set

* Roll out Page component family across app

* Cleanup

* Refactor test to omit beforeEach()

* Fix and Improve unit test
2018-09-04 09:57:10 -07:00
Brandon Farmer ff21fc0c12
Merge pull request #4327 from influxdata/enhancement/fill-dropdown
Allow CEO dropdowns to change queries
2018-08-31 15:51:55 -07:00
Christopher Henn c5ff500748 Fix leaking sockets in Kapacitor client
Every Kapacitor client (`github.com/influxdata/kapacitor/client/v1`)
instantiates its own `http.Transport`, unless one is provided. A
`http.Transport` will cache socket connections for future use, which
leaves connections open.

Chronograf creates a new Kapacitor client upon every request for several
endpoints. Thus each time these endpoints were hit, new connections
would be opened but never closed until Chronograf is shut down.

These changes pass a singleton `http.Transport` when creating new
Kapacitor clients, so that connections are reused while Chronograf is
running.
2018-08-31 14:11:13 -07:00
Brandon Farmer a12e49a2f8 Allow CEO dropdowns to change queries 2018-08-31 14:09:34 -07:00
Deniz Kusefoglu 409cfd3aa1
Merge pull request #4314 from influxdata/feature/protoboards-instantiate-dashboards
Add protoboard instantiation / dashboard creation to wizard.
2018-08-31 10:59:50 -07:00
Deniz Kusefoglu 50f38b985d Remove unused layoutsToProtoboards 2018-08-31 10:50:21 -07:00
Deniz Kusefoglu 47fe23b2da Add type to dashboard 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 896fd692fd Use getdeep for nested get 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 214146a2df Change name of collision to indicate it returns boolean 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 1fd3e296dd Sync onboarding wizard to connection wizard 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 9630476089 Update snapshots 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu b03a8de0b1 Add template var with query to protoboards at instantiationn 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu f5710dc1fd Create PBCell datatype for protoboard cells 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu ac023ba15f Update Protoboard queries 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 7f2f480a21 Replace db rp with values from source and add host template var to PB queries 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu c4dbb6f156 Fix event listener bug on gridsizer 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 2d9d241345 Add defaultChecked prop to input component 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 81b55f7cb6 Do not change dashboardscreated field if there is an error in creating dashboards 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu bce2340cef Block deselection of created protoboards 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 21668a6dbe Add dashboard step next notifications 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu 7fa26dc97f Add next function to dashboardStep that instantiates selected dashboards 2018-08-31 10:38:06 -07:00
Deniz Kusefoglu d5fa99d7ed Set step error with payload return instead of success 2018-08-31 10:36:29 -07:00
Iris Scholten bd1bd95f54
Add default for data explorer script in local storage (#4328) 2018-08-30 16:55:14 -07:00
Iris Scholten eaa481d502
Update data explorer to Look like CEO (#4319)
* Update Visualization to get props from parent and not redux
* Update DataExplorer to use TimeMachine component and function like CEO
* Change dataExplorer to use time range from under dataExplorer in redux
* Change order of template variables
* Move shared actions/thunks between CEO and DE into one shared actions file
* Update tests with new reducers
* Fix types for editQueryStatus
* Remove unused components
* Fix typo
* Add Flux script to dataExplorer
* Update dataexplorer to persist what type of source its using
* Fix failing tests
* Change DE to use autorefresh dropdown from TimeMachineControls
* Update ChangeLog
* Fix failing test
* Remove unnecessary comment
* Provide default data explorer state for flux features
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-08-30 16:10:56 -07:00
Christopher Henn 1af25d2809 Fix RuleGraphDygraph 2018-08-30 13:42:29 -07:00
Christopher Henn ff49dada94 Remove redundant button from empty queries state 2018-08-30 10:34:26 -07:00
Alex P 2f9b31090c Enable adding annotation tag filters via clicking
See #4297.

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-08-30 10:15:16 -07:00
Christopher Henn cf120add5a Add auto refresh dropdown to CEO 2018-08-30 10:03:32 -07:00
Christopher Henn 1e8088d60d Rename AutoRefresh util to AutoRefresher
So as not to be confused with `autoRefresh` props, which are of type
number.
2018-08-30 10:03:32 -07:00
Christopher Henn ef9fc85654 Enable optional usage of AutoRefresh as multiton 2018-08-30 10:03:32 -07:00
Christopher Henn 07b5043497 Remove unused autoRefresh prop
Removes the unused `autoRefresh` prop in the `RefreshingGraph`
component, as well as every instance of the `autoRefresh` prop being
passed down solely for provisioning a `RefreshingGraph`.
2018-08-30 10:03:32 -07:00
Deniz Kusefoglu 3e620a429c
Merge pull request #4317 from influxdata/feature/filter-protoboards-by-name
Add ability to filter protoboards by name in dashboard step
2018-08-29 19:11:49 -07:00
Alex Paxton 9fef97b92e
Take into acount graph x & y when positioning legend (#4316) 2018-08-29 14:53:02 -07:00
Deniz Kusefoglu 2bc23982bb Add searchBar to dashboardStep in connectionWizard.
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-08-29 13:41:11 -07:00
Alirie Gray b781d2ece3
View flux editor in the CEO (#4311)
* Add FluxQueryEditor to CEO and move funcs to utils

* Use util functions in FluxPage

* Rename links to fluxLinks in TimeMachine

* Update Changelog

* Replace props with fluxContext
2018-08-29 13:32:59 -07:00
Deniz Kusefoglu d350d2c9e7 Converst SearchBar to TS
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-08-29 13:03:54 -07:00
Alex Paxton 6383511123
Prevent markdown images from exceeding width of cells (#4307) 2018-08-29 10:21:34 -07:00
Alex Paxton 6b15f0d562
Shrink CEO mask (#4308) 2018-08-29 10:21:20 -07:00