Pavel Zavora
df526edf7a
chore(prettier): apply updated prettier
2021-03-08 12:54:50 +01:00
Pavel Zavora
96a095f6f3
chore(prettier): apply to test ts
2021-03-08 12:47:41 +01:00
Pavel Zavora
05dad39a04
chore(prettier): apply arrow parens rule to ts test files
2021-03-08 12:34:19 +01:00
Pavel Zavora
f3f3b6e27e
chore(prettier): require arrow parens in tests
2021-03-08 10:31:13 +01:00
Pavel Zavora
9bd4c82293
fix(ui/dashboard): repair import to remap sources in variables
2020-12-15 17:17:09 +01:00
greg linton
beac7900c4
fix(tests): update tests to use string ids
2020-01-31 14:35:39 -07:00
greg linton
b4e3792984
fix: update api to serve dashboard ids as a string
...
- state type of dashboard id as string in ui
- remove dangerous idNormalizer (converts numbers to strings and visa versa)
Thanks bucky (hoorayimhelping)
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
Christopher Henn
f81b63154c
Add option to use Unix time formatting in tables
2018-09-05 16:45:15 -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
Christopher Henn
3f5850ddec
Add test for DashboardsPage loading state
2018-09-04 16:12:12 -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
Iris Scholten
402f394ce3
Source switcher in CEO includes Flux options ( #4105 )
...
* Change the source dropdown in CEO to show source, flux services, and language in the options
* Only import necessary service types and from index
* Remove unnecessary if statement
* Change string concatenation to string interpolation
2018-08-06 11:06:16 -07:00
Alex P
2e1e10e401
Test new css import pattern on component in use
2018-08-03 16:48:53 -07:00
Jared Scheib
3e86640828
dev: add missing types to various new func inputs & outputs
...
Instantiate source id regex only once & use const name convention.
2018-08-01 15:07:56 -07:00
Iris Scholten
37cfc685b5
Add tests for utils
2018-07-31 17:50:13 -07:00
Iris Scholten
d41d252cf4
Add concept of Dynamic Source as dropdown option and replace No Source with Dynamic Source
2018-07-31 16:59:44 -07:00
Iris Scholten
7a0a050e2c
Handle cells with no source in their queries when importing
2018-07-30 17:50:43 -07:00
Iris Scholten
dd68df7de8
Create a second step in the importing dashboard process that allows users to map sources from imported dashboard to current sources
2018-07-30 15:52:52 -07:00
Delmer Reed
624b8fed60
Refactor switcher links updates into one method
2018-07-12 12:48:34 -04:00
Delmer Reed
a1b3927f73
Add test for updating dashboard name link
2018-07-12 11:21:39 -04:00
Delmer Reed
eb000303e1
Fix links switcher test file name
2018-07-10 19:00:06 -04:00
Delmer Reed
6ce71a3960
Update loadDashboardLinks util to live in apis
2018-07-10 18:59:07 -04:00
Delmer Reed
721d0ce266
Update dashboardNameLinks test extension
2018-07-10 15:38:58 -04:00
Delmer Reed
75c123323b
Add util for loading DashboardLinks
2018-07-09 12:32:50 -04: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
ebb-tide
7cd3e79904
Merge branch 'master' into feature/upload-template-var-csv
2018-06-26 11:25:09 -07: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
Delmer Reed
894be9b9dc
Update cell editor test to return null
2018-06-22 19:48:57 -04: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
c2532d06b6
Type dashboards/constants/index
2018-05-14 14:44:42 -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