Commit Graph

47 Commits (d37755c207f20524839cedd1da4f9a8d0db8d3ce)

Author SHA1 Message Date
greg linton beac7900c4 fix(tests): update tests to use string ids 2020-01-31 14:35:39 -07:00
Timmy Luong dab3f8dca7
feat(ui): add query parameter for autofresh option in dashboards (#5348)
* feat(ui): add query parameters for autofresh option in dashboards

* fix(ui): fix tests, lint, and refresh functionality of components; update CHANGELOG

* fix(ui): update handler

* feat(ui): allow url parameter to update dashboard autorefresh rate

* fix(ui): improve reducer performance and other minor issues
2020-01-14 16:14:25 -08:00
Christopher Henn 110eed22e6 Fix inability to rename a dashboard cell
Also removes redundant query config building in CEO.
2018-10-02 13:11:13 -07:00
Iris Scholten 3d99060582 Move TimeMachine state to new state container
Co-authored-by: Iris Scholten <iris@influxdata.com>
Co-authored-by: Chris Henn <chris@chrishenn.net>
2018-09-27 13:12:19 -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 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
Iris Scholten 411094798e Add timeSelectorDropdown to timeMachine 2018-08-27 10:45:59 -07:00
Iris Scholten 735c19f0a3 Redesign and Refactor CEO for reuse in DE
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-08-16 16:54:59 -07:00
Alirie Gray c9b504f688 Coerce Cell type in updateAxes test and reducer for cellEditorOverlay 2018-08-10 10:56:29 -07:00
Alirie Gray dffe0b5c7e Move NewDefaultCell type to src/types directory 2018-08-10 10:56:29 -07:00
Christopher Henn 303121317a Accept single value in localSelected action 2018-07-06 15:04:49 -07:00
Christopher Henn 983550cb9e Support nested template variables 2018-07-06 15:04:49 -07:00
Delmer Reed 225f91e998 Rename TemplateValue picked to localSelected
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-07-02 17:01:03 -04:00
ebb-tide de546b7894 Fix replace tempvars to work with selected and picked template vars 2018-06-29 15:50:44 -07:00
ebb-tide 614d2c6e64 WIP pick instead of select tempvars
Co-authored-by: Delmer Reed <delmer814@gmail.com>
2018-06-28 11:27:52 -07:00
Delmer Reed b1932352c9 Rename default to selected and use picked as an ephemeral ui value
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-27 17:17:09 -04:00
Alirie Gray 8909b2e4a5 Enable selection of default values for tempvars
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-22 19:26:38 -07:00
Christopher Henn 2d3871e682
Introduce new template variables UI
PR: #3683
2018-06-18 07:16:08 -07:00
Andrew Watkins 643172c4ca CEO reducer and misc 2018-06-15 14:11:10 -07:00
Jared Scheib 5bf315c0ed Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query 2018-06-11 14:08:57 -07:00
Andrew Watkins b7a199be4d Add test for SET_ACTIVE_CELL 2018-06-08 15:34:59 -07:00
Andrew Watkins 4287c573e4 Type dashboard test 2018-06-08 15:11:16 -07:00
Andrew Watkins b9a22a14ab Convert dashboard test to ts 2018-06-08 13:51:11 -07:00
ebb-tide 6ce88f946d Set Dashboard time range from query string middleware
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-31 16:45:40 -07:00
Jared Scheib d4bfb89e96 Type cellEditorOverlay actions & cellTypes 2018-05-11 13:46:51 -07:00
Jared Scheib 6015711746 Convert test/dashboards/reducers/cellEditorOverlay.test.js to .ts 2018-05-11 12:15:00 -07:00
ebb-tide d60d34ab64 Change untitled cell to untitled graph 2018-05-04 09:18:44 -07:00
ebb-tide e0fbbe4998 Add timeFormat and fieldOptions to default new cell 2018-04-26 12:30:01 -07:00
Alex P 79b728d432 Organize code to prevent new dashboards from having an unnamed cell 2018-04-19 10:24:45 -07:00
Alex P a9590805ca Implement cell type constants across app 2018-04-18 12:09:00 -07:00
Alex P 88706be6dc Merge branch 'master' into moar-colors-n-stuff 2018-04-02 11:51:27 -07:00
Alex P ffc2fe255e Merge branch 'master' into feature/clone-dashboards 2018-03-30 16:11:02 -07:00
Alex P 192a63c856 Write test for deleting a dashboard 2018-03-30 15:52:41 -07:00
Andrew Watkins 7f3b991c0b Fix templateVariables not loading properly
Runtime error in the 'EDIT_TEMPLATE_VARIABLE_VALUES' reducer
was causing the list not to populate

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-30 13:38:00 -07:00
Alex P 3732fbaefd Write reducer test for updating line graph colors 2018-03-26 19:14:06 -07:00
Alex P 0ad9d15bc3 rename singleStatColors to thresholdsListColors 2018-03-14 22:08:26 -07:00
Alex P 7a583b1567 rename singleStatType to thresholdsListType
going for a more generic and future proof naming scheme
2018-03-14 21:13:20 -07:00
Alex P 9201bb1de4 Merge branch 'master' into feature/table-thresholds 2018-03-14 20:38:56 -07:00
Iris Scholten ae042b46f8 fix typo in import 2018-03-13 17:22:50 -07:00
Iris Scholten 57e1d473ec respond to reviews and add extra test 2018-03-13 16:58:25 -07:00
Alex P a63ce9f058 Rename "gaugeColors" constant to "thresholds" and move to shared 2018-03-12 17:17:26 -07:00
Iris Scholten 9420e206bc update cell editor overlay test with table options 2018-03-12 15:31:46 -07:00
Andrew Watkins d2cddc4816 Move old tests over to new jest format 2018-03-05 08:46:23 -08:00
Andrew Watkins d3b810a08e Add linter to tests 2018-03-01 11:16:29 -07:00
Andrew Watkins d586967615 Will pass all tests using jest 2018-03-01 11:16:02 -07:00
Andrew Watkins dc3cf7faf8 WIP Enable jest to resolve all modules 2018-03-01 11:16:02 -07:00
Andrew Watkins 8b304bb312 Rename spec dir to test 2018-03-01 11:16:02 -07:00