Commit Graph

11548 Commits (fac2951d83a4f03f71982c8070e13761ce02b3c6)

Author SHA1 Message Date
Alirie Gray fac2951d83 Replace raw data toggle in layout with option in pencil menu 2018-09-07 10:18:56 -07:00
Alirie Gray 2c2d23c031 Move raw data slide toggle from TimeMachineVis to parent components 2018-09-06 15:45:29 -07:00
Alirie Gray eeeba66259
Merge pull request #4378 from influxdata/flux/save-source-influxql-ceo
Fix InfluxQL source saving
2018-09-06 14:52:11 -07:00
Alirie Gray 7046bb5139 Use source from query instead of queryConfig when saving in ceo 2018-09-06 13:58:36 -07:00
Alex Paxton db5304b307
Prevent page contents from exploding (#4370) 2018-09-06 12:12:34 -07:00
Alirie Gray f10f1382ea Add default empty string to querySource 2018-09-06 12:10:14 -07:00
Iris Scholten f6279c0534
Merge pull request #4371 from influxdata/fix/dash-where
Fix adding additional where clauses on queries not supported by schema explorer
2018-09-06 12:06:06 -07:00
Alex Paxton ebce9aabdb
Fix Hidden Notifications (#4373)
* Consolidate overlay styles

* Cleanup theme variables and centralize z-index variables

* Cleanup style resets

* Change base font sizes to match existing styles in UI
2018-09-06 11:43:30 -07:00
Iris Scholten 589566471b Change the check in buildQueriesForLayouts to check for queryConfig instead of empty db in the queryConfig
Co-authored-by: Alirie Grey <alirie.gray@gmail.com>
2018-09-06 11:31:58 -07:00
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