Commit Graph

11539 Commits (5f6cb054aecf650a8094ab95e9a9b39ad1e64282)

Author SHA1 Message Date
Alex Paxton 5f6cb054ae
Improve Log Messages UX (#4363)
* Refactor ExpandableMessage to use React Portals

* Display "Clear Filters" button when more than 3 filters are present

* Move logs truncation toggle from options overlay to filter bar

* Simplify styles and markup

Ensure that the ... truncation happens
Showing a "zoom in" cursor when log messages can be clicked

* Update changelog

* Remove rogue file

* Type props in constructor and remove unecessary condition

* Remove spaces
2018-09-06 11:07:40 -07:00
Brandon Farmer 7201521b35
Merge pull request #4365 from influxdata/fix/local-storage-logs
No longer store tableInfiniteData in local storage
2018-09-05 18:22:55 -07:00
Alirie Gray d842622160
Save flux query in CEO (#4364)
* Add isSaveable condition for flux query in CEO

* Save flux query to cell in CEO

* Use flux query in Dashboard cell

* Move script state to cellEditorOverlay reducer

* Update Changelog

* Remove feature flag for allowFlux
2018-09-05 17:30:42 -07:00
Brandon Farmer cde986cf66 No longer store tableInfiniteData in local storage 2018-09-05 16:46:43 -07:00
Christopher Henn f81b63154c Add option to use Unix time formatting in tables 2018-09-05 16:45:15 -07:00
Christopher Henn 1eb0875f64 Size Dropdown dynamically by default 2018-09-05 16:05:16 -07:00
Iris Scholten bba49e9061
Add Visualization Options to DE (#4353)
* Update Children components of DisplayOptions to use props instead of individually connecting to redux and CEO visualization actions updated in prep for DE Vis

* Update DataExplorer to have visualization options

* Update timeSeriesToDygraph to not treat data explorer differently from ceo

* Remove featureflag from vis options in DE

* Update failing tests and rename cellNote to Note

* Update columns for table graph if in ceo or de, but not in dashboard

* Update Changelog

* Remove unnecessary getters from DisplayOptions
2018-09-05 11:49:10 -07:00
Iris Scholten 43afa38b0a
Remove check for flux ping when adding and updating flux service (#4361) 2018-09-05 11:01:20 -07:00
Michael Desa 819c554533
Merge pull request #4360 from influxdata/fix/pprof
fix(server): pass pprof enabled option down to NewMux properly
2018-09-05 13:50:31 -04:00
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