Commit Graph

11701 Commits (2b85390aa37c879651231635879ce6ebcc904dd9)

Author SHA1 Message Date
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
Christopher Henn aa29a03653 Rewrite Worker script paths according to basepath 2018-08-29 09:34:37 -07:00
Christopher Henn 5b37ab634f Add CSV export button to CEO 2018-08-28 17:22:10 -07:00
Alex Paxton e4faee5ca5
Improve Log Viewer Time Selection UX (#4301)
* Mention "histogram" in query results copy when placed inside Histogram

* Place time window dropdown inside histogram container

* Make histogram share space with controls

* Move point in time dropdown into search bar

* Guard against empty collection in extentBy

Co-Authored-By: Brandon Farmer <bthesorceror@gmail.com>
2018-08-28 12:24:26 -07:00
Daniel Campbell de404ffc18
Add generic dashboard selection icons (#4303)
* Decrease default gridSizer cell width

* Add customizable protoboard placeholder icon

* Simplify svg code

* Remove extra display attribute

* update snapshot
2018-08-28 11:57:17 -07:00
Christopher Henn 7d75ab1ea0 Fix kill query UI on clustered InfluxDB 2018-08-27 16:58:22 -07:00
Alex Paxton 74ce00ea65
Fix Floating Legend (#4296)
* Move dygraph legend styles into own stylesheet

* Refactor legend positioning to break outside threesizer

* Remove commented out code
2018-08-27 16:56:53 -07:00
Christopher Henn 9f168cacbe Make add annotation button always enabled 2018-08-27 15:56:30 -07:00
Alex Paxton 26373914da
Polish Graph Type Selection (#4290)
* Optionally pass division pixels to child

* Pass division pixels to graph type selector

* Convert component to typescript and refactor

* Simplify styles for display options

* Fix appearance of note svg graphic

* Yarny things

* Fix tests

* Use fixed size grid for graph type selection

* cleanup

* Fix weirdness
2018-08-27 15:40:10 -07:00
Alirie Gray 1bab6d44e1
Merge pull request #4292 from influxdata/bug/refresh-button
Add manualRefresh prop to TimeSeries component to fix refresh bug
2018-08-27 13:01:39 -07:00
Alirie Gray 7fc65698f6 Add manualRefresh prop to TimeSeries component to fix refresh bug
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-08-27 11:40:38 -07:00
Iris Scholten b7a09696e1
Merge pull request #4287 from influxdata/flux/time-selection-dropdown
Add timeSelectorDropdown to timeMachine
2018-08-27 11:03:59 -07:00
Iris Scholten 411094798e Add timeSelectorDropdown to timeMachine 2018-08-27 10:45:59 -07:00
Jared Scheib e555858e41 fix: typo 2018-08-24 15:31:54 -07:00
Alirie Gray 78f7aab127
Merge pull request #4283 from influxdata/bugfix/create-empty-cell-in-dashboard
Change addDashboardCall to use new default cell template
2018-08-24 15:03:58 -07:00
Alirie Gray bdaa1507c0 Change addDashboardCall to use empty cell template 2018-08-24 14:45:01 -07:00
Alex Paxton 313ca4d62d
Guard against nonexistant note (#4282) 2018-08-24 13:55:25 -07:00
Alex Paxton 2eb890f8d8
Don't force update when there are no time series (#4280) 2018-08-24 13:32:12 -07:00
Jared Scheib 05d392ddf1 fix: remove wayward log message 2018-08-24 11:17:32 -07:00
Alex Paxton afedec6690
Reusable Radio Buttons Refactor (#4273)
* Refactor radio buttons component to conform with UI kit patterns

* Update existing radio buttons to use new implementation

* Implement Radio Buttons in table vertical axis controls

* Implement radio buttons in Thresholds type toggle

* Implement radio buttons in logs severity options

* Implement Radio Buttons in tickscript type toggle

* Implement Radio Buttons in tickscript logs toggle

* WIP Implement Radio Buttons in axes options

* Prevent unintended form submission via Radio Buttons

* Implement radio buttons in axes options

* Remove obsolete component

* WIP Implement Radio Buttons in Rule Builder

* Refactor alert rule builder to use Radio Buttons instead of tabs component

* Remove concept of "kapacitor" from tabs component

* Implement Radio Buttons in flux filter builder

* Remove obsolete styles

* Attempt to fix test
2018-08-24 10:29:58 -07:00
Delmer a7544e17ed
Add query results spinner to table (#4236)
Add spinner for infinite scroll loading

* Add query results to table
* Update CHANGELOG 1.7.0 UI Improvements
* Update QueryResults contents

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-08-24 10:22:33 -04:00
Deniz Kusefoglu 4009743b09
Merge pull request #4264 from influxdata/feature/add-protoboards-to-wizard-step
Implement DashboardStep on both wizards
2018-08-23 17:41:10 -07:00
Deniz Kusefoglu afbfc90cbf Add typing to getProtoboards function 2018-08-23 17:08:52 -07:00
Brandon Farmer 1ebc646a87
Merge pull request #4275 from influxdata/bugfix/update-visualizations-in-ceo
Force timeseries update when visualization options change
2018-08-23 15:38:24 -07:00
Brandon Farmer 755bbb4fdd Force timeseries update when visualization options change 2018-08-23 15:28:56 -07:00
Alex Paxton fc9cd71939
Introduce Cell Notes & Note Cells (#4257)
* feat: add Note string field to dashboard cells

* wip feat: html escape cell note to help prevent XSS attack

Requires further input to make sure this is effective at its
purpose.

* Add ability to view a cell's note from the cell header

* Make styles less brittle

* Add "chat" icon for use in notes

* Position note using cell X & Y

Avoid overlap with associated cell whenever possible

* New notes are empty strings by default

* Overflow note when contents are large

* Add react-markdown package for displaying markdown

* Display markdown in cell note

* Add a cell note text editor into the CEO

* Improve cell note editor

* Use codemirror placeholder addon

* Add placeholder to note field & foundation of markdown theme

* Add Markdown Cell

* Add initial styles for markdown cell contents

* Add graphic for Note type cell

* feat: add NoteVisibility to DashboardCell

* Add basic markdown syntax highlighting in editor

* Remove comment

* Show note in cell when queries return no data

* Make exception for rule graph

* Update fixtures and resources to fix tests

* Update changelog

* feat: sanitize xss-vulnerable note html

* Polish appearance of code samples in notes and note cells

* Replace ascii with plaintext before passing to markdown renderers

* Move "display when no results toggle" above text field

Less likely to go undiscovered
2018-08-23 14:41:40 -07:00
Jared Scheib 9881719c5d
refactor: rename LogViewerHeader to LogsHeader for consistency (#4274) 2018-08-23 14:16:14 -07:00
Deniz Kusefoglu cdf29bf49e Correct the decleration of async componentDidMount 2018-08-23 13:48:31 -07:00
Deniz Kusefoglu dcaf18b811 Fix tests to add protoboards endpoint to resource links 2018-08-23 13:13:52 -07:00
Deniz Kusefoglu badfc4152a Add DashboardStep to onboarding wizard 2018-08-23 12:43:13 -07:00