Commit Graph

683 Commits (9641e557c0f6c3166bb66a090419bd35b395b84e)

Author SHA1 Message Date
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
Alirie Gray 0f393b8bf3 Flux/connections page (#4026)
* Load services on manages sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Flux dropdown on manage sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add flux connection dropdown with create, select, and update

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Prevent creation of Flux connection with duplicate name

Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add ability to delete a FluxService from the fluxservice dropdown

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Change FluxPage to use the active flux connection set by FluxConnectionPage

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Ensure that only flux services are loaded into redux services

* Polish styles for Flux Connection Page

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add pingflux as a part of adding and updating a flux service

Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Swagger routes and definitions for Service endpoints

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace flux overlay with redirect to flux connections pages

* Add test for FluxConnectionPage

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace hard-coded string with enum

* Use active from metadata instead of service object in ServiceDropdown

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add generic for getDeep on service metadata property

* Capitalize enum constant values in FluxFormMode

* Show error notification when user reaches edit route for nonexistant flux

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add tests for FluxDropdown

* Update types for async functions
2018-07-26 18:16:02 -07:00
Christopher Henn c4684151b0 Fix all existing type errors 2018-07-25 12:37:30 -07:00
Andrew Watkins 96295d300a
Merge pull request #4003 from influxdata/bugfix/flux-response
Change #partition to #group
2018-07-24 10:06:43 -07:00
Andrew Watkins 89009c88af Change partition to group 2018-07-24 08:40:00 -07:00
Andrew Watkins 787bf6df73 Change #partition to #group 2018-07-24 08:29:03 -07:00
Christopher Henn 85f222b62e Fix template variable replacement within regexes
Template variables used within regexes would not replace when the query
contained a '/' before the regex in the query (see test).

This commit rewrites the logic for replacing template variables within
regexes.
2018-07-23 10:08:45 -07:00
Christopher Henn cf7f44715b Add tests for Text template value resolution 2018-07-20 15:16:20 -07:00
Christopher Henn eb258cf314 Refactor template variable resolution
Now handles the `Text` case properly.
2018-07-20 15:16:20 -07:00
Christopher Henn 25b3a3d89c Ensure Map templates track selections 2018-07-18 16:55:20 -07:00
Christopher Henn 7e20617d17 Fix failing replacement tests
Since all tests shared the same `emptyTemplate` fixture, the `id` used
for each template in the graph construction was being clobbered.
2018-07-17 15:53:36 -07:00
Christopher Henn a02712942a Rename module 2018-07-17 15:53:36 -07:00
Christopher Henn 6a413070f9 Render templates in topologically sorted order 2018-07-17 15:53:36 -07:00
Christopher Henn 366b345641 Use template values when constructing dependency graph 2018-07-17 15:53:36 -07:00
Andrew Watkins 902acb33e8
Merge pull request #3944 from influxdata/chore/delete-auto-refresh-component
Chore/delete auto refresh component
2018-07-17 11:08:09 -07:00
Andrew Watkins 4c80ab0894 Delete AutoRefresh component 2018-07-17 10:57:43 -07:00
Andrew Watkins b937f012ed Fix link tests 2018-07-16 17:05:25 -07:00
Andrew Watkins 8ac70d0bc0 Fix buildInflux tests 2018-07-16 16:38:54 -07:00
Iris Scholten b196af3012 Convert influxql.test to typescript 2018-07-16 16:11:13 -07:00
Iris Scholten cf2da0a245 Convert auth reducer, action and test to ts 2018-07-16 16:03:26 -07:00
Iris Scholten 431de42d66 Convert app.test reducer and reducer test to ts 2018-07-16 15:13:31 -07:00
Iris Scholten f3ef13a54c Convert ui.test.js to typescript 2018-07-16 14:35:37 -07:00
Andrew Watkins 5e3a625e44
Merge pull request #3904 from influxdata/refactor/auto-refresh
Refactor AutoRefresh as singleton
2018-07-16 12:33:50 -07:00
Christopher Henn a022147177 Add tests 2018-07-16 12:24:31 -07:00
Christopher Henn cc2de563dd Support multi-level template dependencies 2018-07-16 12:24:31 -07:00
Andrew Watkins e17105151c Update Layout to TS 2018-07-16 10:01:34 -07:00
Andrew Watkins 8dea28e690 Update timeSeriesTransformers test to ts 2018-07-16 10:01:34 -07:00
Christopher Henn 6b1e38e377 Use sorted templates in query template replacement
This ensures that CSV and Map templates whose values contain other
templates are rendered approriately in the replaced query. For more
context, see #3853.
2018-07-13 17:38:54 -07:00
Alex Paxton 519ece6c58
Merge pull request #3892 from influxdata/bugfix/rule-select
Bugfix kapacitor rule enable / disable
2018-07-13 17:28:27 -07:00
Iris Scholten 6b85d7e936 Fix viewers getting logged out when changing text temp var 2018-07-13 17:00:07 -07:00
Christopher Henn 5333397c0e Yield histogram plot data to children 2018-07-13 14:02:38 -07:00
Iris Scholten 9403635036 Rename onSortChartBars to sortBarGroups 2018-07-12 15:26:56 -07:00
Iris Scholten b5926c0ef1 Sort histogram bars and tooltip in the order of severity 2018-07-12 15:21:43 -07:00
Alex P bd454b4a0e Update Test Snapshots 2018-07-12 13:26:49 -07:00
Alex Paxton ee59ea9188
Merge branch 'master' into logs-histogram-window 2018-07-12 12:55:41 -07:00
Daniel Campbell de855ac9a3
Merge pull request #3891 from influxdata/fix/stale-dashboard-switcher
Fix stale dashboard switcher
2018-07-12 11:51:49 -07:00
Alex P 56dbaf536c Update test snapshots 2018-07-12 11:44:43 -07:00
Alex P dd4e3b3d83 undo 2018-07-12 11:31:45 -07:00
Alirie Gray 7d52997630 Switched value and color properties of log config in tests 2018-07-12 11:28:22 -07:00
Alex P bfc9ed0c81 Update time range in proper format when either window or time are changed
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:49:44 -07:00
Alex P 3fa83d04ff Introduce time window dropdown and actions
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-07-12 10:43:35 -07:00
Delmer Reed 624b8fed60 Refactor switcher links updates into one method 2018-07-12 12:48:34 -04:00
Andrew Watkins 5da4cf9e4c Add test for bug 2018-07-12 09:05:02 -07:00
Delmer Reed a1b3927f73 Add test for updating dashboard name link 2018-07-12 11:21:39 -04:00
Andrew Watkins 3d9fbece04
Merge pull request #3884 from influxdata/chore/single-stat
Add precision to gauge and fix single stat bugs
2018-07-11 15:18:40 -07:00
Christopher Henn 4aa30e92b1 Add tests 2018-07-11 15:10:56 -07:00
Christopher Henn 22ee0e911f Rename TemplateControlDropdown to TemplateControl 2018-07-11 15:10:56 -07:00
Andrew Watkins 1a2ae2b3ab Add precision to gauge and fix single stat bugs 2018-07-11 14:34:01 -07:00
Delmer 4a526b96e3
Merge pull request #3866 from influxdata/fix/hosts-dashboard-header
Fix hosts links rendering
2018-07-11 14:56:55 -04:00
Iris Scholten e389b3343a
Merge pull request #3873 from influxdata/logs-viewer/severity-colors
Logs viewer Configs - severity colors
2018-07-11 10:21:25 -07:00
Iris Scholten 4389d8d7a9 Use severityLevelColors in logs table and histogram 2018-07-10 16:12:43 -07: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 4d53b053ae Add loadHostLinks test 2018-07-10 18:06:05 -04:00
Delmer Reed e0a8046a22 Refactor switcher links utils 2018-07-10 17:45:32 -04:00
Iris Scholten fc09dfa9cd Add severityColorOptions to logConfig
Update transformation utils and tests
Update constants and components to use new type structure
2018-07-10 14:07:38 -07:00
Delmer Reed 69667257ba Add hosts switcher links test 2018-07-10 15:41:13 -04:00
Delmer Reed 721d0ce266 Update dashboardNameLinks test extension 2018-07-10 15:38:58 -04:00
Andrew Watkins acfa7b311c
Merge pull request #3844 from influxdata/enterprise/fe-ldap
Frontend LDAP integration
2018-07-09 16:35:49 -07:00
Andrew Watkins dc43e09e9e Do not display Roles or Users page if connected to LDAP source 2018-07-09 14:56:27 -07: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
Iris Scholten 45791889c9 Connect UI and Server for Log Viewer table configs 2018-07-02 18:09:21 -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
Delmer Reed 1c7ad016fa Merge remote-tracking branch 'origin' into tempvars/select-default 2018-06-29 13:03:19 -04:00
Christopher Henn 5fbb096c09
Update test snapshot 2018-06-28 16:55:36 -07:00
Chris Henn baf0e3e1da
Merge pull request #3791 from influxdata/log-viewer/histogram-loading-state
Unify log viewer loading state
2018-06-28 15:15:34 -07:00
Chris Henn 9a5799d646
Merge pull request #3785 from influxdata/log-viewer/histogram-tweaks
Log viewer histogram tweaks
2018-06-28 15:13:49 -07:00
Andrew Watkins 104a04316c
Merge pull request #3782 from influxdata/chore/fe-templating
Move template replacement to the frontend
2018-06-28 14:47:07 -07:00
Andrew Watkins 36bda0b0f8 Fix spelling errors 2018-06-28 13:44:49 -07:00
Christopher Henn 1681a29f43
Remove HistogramChart loading test 2018-06-28 13:23:06 -07:00
Christopher Henn daffb4a8b1
Show entire bar group in HistogramChartTooltip 2018-06-28 13:22:12 -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
Alex P 722d75a2a0 Move PageHeader and associated components into reusable UI directory 2018-06-28 10:34:41 -07:00
Andrew Watkins 6c4f74cbcf First pass at tempVar frontent plumbing 2018-06-27 17:06:18 -07:00
Andrew Watkins e82539d88c Refine replacement of Regex 2018-06-27 17:05:35 -07:00
Andrew Watkins 7db0ae74b9 Move replate replacement functions to the frontend 2018-06-27 17:05:35 -07:00
Andrew Watkins 905dce7140 Calc auto group by on the frontend 2018-06-27 17:05:35 -07:00
Andrew Watkins 5cc0ef0050 WIP template variable replacement frontend 2018-06-27 17:05:35 -07:00
ebb-tide 169a4dbf46 Merge branch 'master' into tempvars/select-default 2018-06-27 15:30:12 -07:00
Chris Henn 120f77c90e
Merge pull request #3781 from influxdata/log-viewer/histogram
Show stacked histogram in log viewer
2018-06-27 14:56:09 -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
Christopher Henn fc1183f901
Add parseHistogramQueryResponse test 2018-06-27 13:36:01 -07:00
Christopher Henn 817e2307c2
Add HistogramChart snapshot tests 2018-06-27 13:15:06 -07:00
Alex P ddc0781a9f Move overlay related components to new "Reusable UI" directory 2018-06-26 17:45:52 -07:00
Alex P 8c8fcbb3b3 Fix failing test 2018-06-26 17:36:20 -07:00
Christopher Henn 80b3f84b16
Tweak OverlayTechnology lifecycle and fix test 2018-06-26 16:53:05 -07:00
ebb-tide f2a12fa915 Fix tests relating to template variables. 2018-06-26 15:31:54 -07:00
Delmer Reed 67c0cc470b Merge remote-tracking branch 'origin/feature/upload-template-var-csv' into tempvars/select-default 2018-06-26 16:34:42 -04:00
ebb-tide 7cd3e79904 Merge branch 'master' into feature/upload-template-var-csv 2018-06-26 11:25:09 -07:00
Jared Scheib 5d4c65049f Merge duplicate imports in test fixtures file 2018-06-25 15:49:58 -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
Jared Scheib 3e7ac9c221 Rename types/dashboard.ts to plural for consistency 2018-06-22 18:08:57 -07:00
Jared Scheib f43f504bc1 Merge remote-tracking branch 'origin/master' into fun/dashboard_page 2018-06-22 17:53:44 -07:00
Delmer Reed 894be9b9dc Update cell editor test to return null 2018-06-22 19:48:57 -04:00
Alirie Gray db3cca42fd Replace separate CSV manual and file entry dropdowns with one builder type that accepts both
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-22 12:50:16 -07:00
Delmer Reed d493b46fd1 Fix types for presentation mode dispatcher
Cleaned up dashboard types and introduced the auth reducers types.

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-21 19:17:22 -04:00
Christopher Henn b7099c5b97
Add test verifiying PageHeader dev assertion 2018-06-21 11:05:53 -07:00
Christopher Henn 732e7cea3f
Add failing test for missing title on admin page 2018-06-21 10:59:31 -07:00
Christopher Henn 9b04d10c45
Fix missing title on hosts page 2018-06-21 10:59:30 -07:00
Chris Henn 9af679e09f
Merge pull request #3738 from influxdata/tempVars/tests
Add two tests for template variables
2018-06-21 09:58:49 -07:00
ebb-tide c86904f071 Convert CSV TemplateType to CSVManual
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-20 17:15:40 -07:00
Christopher Henn e365966d4c
Add TemplateControlBar test 2018-06-20 12:48:20 -07:00
Christopher Henn 5a30e4a202
Add TemplateControlDropdown test 2018-06-20 12:47:46 -07:00
Christopher Henn 2a2d172ed3
Refactor TemplateControlBar test 2018-06-20 11:26:51 -07:00
Alex P 6e220c1672 Provide mock context in test to prevent fail 2018-06-19 15:06:21 -07:00
Alex P aa4a6461b6 Remove only from test 2018-06-19 13:47:00 -07:00
Alex P a3c3fc6e1e fix nesting issue in test 2018-06-19 11:29:56 -07:00
Alex P 913239bf7c Fix nesting issue in test 2018-06-19 11:29:45 -07:00
Alex P 9798f0ef0c Merge branch 'master' into presentational-page-components 2018-06-19 10:32:27 -07:00
Alex Paxton 34df386102
Merge branch 'master' into flux/deletion 2018-06-18 19:50:47 -07:00
Alex P a84390311c Merge branch 'master' into presentational-page-components 2018-06-18 10:32:49 -07:00
Christopher Henn 2d3871e682
Introduce new template variables UI
PR: #3683
2018-06-18 07:16:08 -07:00
Andrew Watkins 5601553524
Merge pull request #3701 from influxdata/fun/misc
Source Page & Form
2018-06-15 18:11:26 -07:00
Andrew Watkins 068cd64268 Source form and page 2018-06-15 17:22:21 -07:00
Deniz Kusefoglu 09d9cbf8a5
Merge pull request #3689 from influxdata/bugfix/annotations-render-on-zoom
Bugfix/annotations render on zoom
2018-06-15 17:13:31 -07:00
ebb-tide e90ab6433e Convert Annotation action and reducer to TS 2018-06-15 15:20:24 -07:00
Andrew Watkins 707877f57e Convert formatting test to ts 2018-06-15 14:36:58 -07:00
Andrew Watkins 643172c4ca CEO reducer and misc 2018-06-15 14:11:10 -07:00
Andrew Watkins 868fcc6746 Type notification actions / reducers / tests 2018-06-15 12:41:00 -07:00
Andrew Watkins bea2548124 Introduce delete body 2018-06-15 09:18:52 -07:00
Alex P fae8d1f845 Fix failing test 2018-06-14 17:18:48 -07:00
Alex P 9fbe4944aa Rename 'Analyze' to 'Validate' 2018-06-14 10:27:46 -07:00
Alex P f563a2c014 Fix failing test
Might have to find a better way to ensure these subcomponents exist now
that they are being passed in as render props
2018-06-13 14:34:59 -07:00
Jared Scheib aa5c0a6817
Merge pull request #3556 from influxdata/fix/tempvars_url_query
Add ability to override template variables and time ranges via URL query
2018-06-11 17:08:34 -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 79ac6095fb Dygraph to TypeScript 2018-06-11 14:03:56 -07:00
Deniz Kusefoglu 61d2645c59
Merge pull request #3614 from influxdata/bugfix/multiple-legends
Bugfix/multiple legends
2018-06-11 12:52:35 -07:00
lukevmorris 94980fa0e3
Provide a builder UI for a Flux Filter Node (#3615)
* Introduce FilterArgs as a seam

* Selecting a value adds to Script and Preview

* Hydrate FilterArgs dropdown from function body

* Functional operator selector

* Style polish

* Rename Filter/FilterPreview components

* Pull types into flux type file

* Derive Flux Filter UI state directly from AST

* Default func body

* Remove flicker when updating conditions

* Render a div when filter body isn't supported

* Base condition (true) is parseable

* Remove a test file if it doesn't have any tests

* Enable tslint and resolve errors

* Address other PR feedback

* Tests and improved parsing logic

* Add helper text when filter ui falls back to a textarea
2018-06-08 18:36:50 -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
Jared Scheib 969c21d776 Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query 2018-06-07 18:05:13 -07:00
Christopher Henn 0739c2f2ce
Only parse first 2MB of Flux query responses 2018-06-07 14:32:54 -07:00
Christopher Henn 815597c069
Improve function specific autocomplete
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:24 -07:00
Christopher Henn 7a30b6fab8
Reorganize Flux apis and parsing 2018-06-05 10:57:20 -07:00
Andrew Watkins ed4a6f24e5
Change IFQL to Flux 2018-06-05 10:57:19 -07:00
Chris Henn 2add416531
Merge pull request #3565 from influxdata/ifql/table
Introduce line graph visualization to Flux page
2018-06-04 16:12:10 -07:00
Christopher Henn 4cabb78e3e
Introduce Line Graph to Time Machine
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 14:10:48 -07:00
ebb-tide d27036c825 Merge branch 'master' into ifql/join 2018-06-01 16:09:35 -07:00
Andrew Watkins d2154aa194
Fix Flux CSV response parsing
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-01 15:49:50 -07:00
Andrew Watkins e3196a6d2d
Add in browser debugger for testing 2018-06-01 15:49:50 -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
Andrew Watkins 9ac84263a1 Fix tests
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:31:50 -07:00
Andrew Watkins ed11ed865d Get actual databases for From component 2018-05-31 15:20:53 -07:00
Christopher Henn 2c56ee1ce3 WIP
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn f1d583407a WIP
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn b1240ad156 WIP schema explorer
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
ebb-tide 94b8501ef9 Refactor walker.test to create explicit expected variables 2018-05-30 18:14:54 -07:00
ebb-tide 46c30ed92f Merge branch 'master' into ifql/join 2018-05-29 12:36:57 -07:00
ebb-tide 05fc0efb50 Return objects and array values from ast 2018-05-25 15:23:33 -07:00
Andrew Watkins 2d0fb26ae1 Handle script edge cases
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-24 13:06:46 -07:00
Andrew Watkins 85598e5588 WIP add table vis to TimeMachine 2018-05-23 15:55:59 -07:00
Andrew Watkins 2b29db6a2d Enable sidebar selection of IFQL script results
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-23 14:15:16 -07:00
Andrew Watkins 2b37494dcb Add IFQL script response parser
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-23 11:30:52 -07:00
Andrew Watkins aca34ccb49 WIP introduce tables 2018-05-22 16:44:45 -07:00
Andrew Watkins c12ea3d9b3
Merge pull request #3507 from influxdata/ifql/save-service
Persist ifql script
2018-05-22 15:22:00 -07:00
Andrew Watkins 4ee391f55c Update action type to use enum 2018-05-22 15:06:13 -07:00
Andrew Watkins 4326855844 Persist ifql script
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-22 14:50:07 -07:00
Iris Scholten 6e8a67035e Rename getNested to getDeep 2018-05-22 10:13:56 -07:00
Iris Scholten 0b0d7524b2 Merge remote-tracking branch 'origin/master' into fix/ceo_source_change 2018-05-21 17:20:53 -07:00
Iris Scholten bef6b99e59 Rename nested lodash get wrapper to getNested for idiomatic in-place clarity 2018-05-21 16:22:38 -07:00
Iris Scholten 82ba619ff5 Fix source selection & CEO initialSource to always be Source type
Refactor lodash get usage in CEO to use wrapped get that
requires generics. Nested generics were at the root of
not being able to determine that initialSource() was not
always returning a Source, and was instead returning a string.

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-21 15:58:19 -07:00
Andrew Watkins 2dc26ad81a Fix type errors 2018-05-21 10:45:28 -07:00
Andrew Watkins 484a05319c Give services their own namespace in app state 2018-05-21 10:45:28 -07:00
Andrew Watkins d249fd6d9b WIP Introduce LOAD_SERVICES 2018-05-21 10:45:28 -07:00
ebb-tide b9e270692c Add append handlers for join function 2018-05-21 10:45:28 -07:00
Andrew Watkins afccff1086 Introduce appendFrom funtionality 2018-05-21 10:45:28 -07:00
Andrew Watkins d97366ec62 Fix broken tests 2018-05-21 10:45:28 -07:00
Andrew Watkins 316308df2b Introduce foundation for forking 2018-05-21 10:45:27 -07:00
Andrew Watkins 3618c1a8e8 Introduce getting actual data 2018-05-21 10:45:27 -07:00
ebb-tide bbebbb2dc4 Merge branch 'master' into chore/tables-to-TS 2018-05-16 20:02:54 -07:00
Iris Scholten 19af0e2d60
Merge pull request #3474 from influxdata/polish/order-tickscript-names
Order tickscript names
2018-05-16 14:58:30 -07:00
Iris Scholten 268a6df500 Add test for tasktable sorting 2018-05-16 14:38:23 -07:00
Jared Scheib d1acdcf5e5
Merge pull request #3446 from influxdata/ts_dashboards
Convert CEO actions, cell types, & more dashboards hootenanny to TypeScript
2018-05-16 14:14:36 -07:00
Jared Scheib c2532d06b6 Type dashboards/constants/index 2018-05-14 14:44:42 -07:00
ebb-tide 0f5bd2de54 Merge master 2018-05-14 13:08:51 -07:00
Brandon Farmer 56fe1ad4d4 Add typescript wrapper for lodash get 2018-05-14 10:57:54 -07:00
Andrew Watkins fb18033501 Convert MOAR to TS 2018-05-12 22:21:19 -07:00
Andrew Watkins 1705a975b4 Convert data_explorer/actions/index to ts 2018-05-12 22:21:19 -07:00
Andrew Watkins ab4b2ad0ac Add back editRawText transition 2018-05-12 22:21:19 -07:00
Jared Scheib c728cf240f Type dashboards/graphics/graph & move cell types to types/dashboard 2018-05-11 14:51:47 -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
Jared Scheib 15cef57e53
Merge pull request #3386 from influxdata/feature/kapa_kafka_alert_node
Feature/kapa kafka alert node
2018-05-11 11:09:17 -07:00
Iris Scholten 9b91fb66d1 Revert "WIP Test FieldList"
This reverts commit 9c2cb8cfdf.
2018-05-10 11:41:05 -07:00
ebb-tide beca4d3c44 Place table options in dashboard types 2018-05-10 11:36:50 -07:00
Andrew Watkins 2d1ff2cf46 Fix up type errors 2018-05-10 10:48:36 -07:00
Iris Scholten 9c2cb8cfdf WIP Test FieldList 2018-05-09 18:31:15 -07:00
Jared Scheib b116e79bfa
Merge branch 'master' into feature/kapa_kafka_alert_node 2018-05-09 13:53:22 -07:00
Brandon Farmer 73fd67ee85 Fix, clean up, and stronger-type CEO actions & reducer
Convert queryActions & queryTransitions to TS
Fix tests
2018-05-09 13:00:21 -07:00
Andrew Watkins 4988f0932b Populate Filter funciton from ast 2018-05-09 11:06:44 -07:00
Andrew Watkins a944364967 Flatten binary expressions into ordered list 2018-05-08 11:18:28 -07:00
Andrew Watkins b318452741 WIP introduce in order traversal 2018-05-08 09:57:35 -07:00
ebb-tide 1feb86dfa9 Removed unused functions, rename files, and add tests 2018-05-04 16:50:34 -07:00
ebb-tide d60d34ab64 Change untitled cell to untitled graph 2018-05-04 09:18:44 -07:00
ebb-tide b025f4f226 Remove untitled cell names other than "Untitled graph" 2018-05-03 16:41:37 -07:00
Iris Scholten 95e1c6abf5 Simplify syntax in fixtures files 2018-05-02 14:57:49 -07:00
Iris Scholten d56623f8db Update fixtures for tests 2018-05-02 14:57:49 -07:00
Brandon Farmer d18f307120 Use isUserAuthorized helper 2018-05-02 12:35:53 -07:00
Iris Scholten 99d32ed521 Fix missed conflic and update types and fixtures based on type changes from master 2018-05-01 15:53:18 -07:00
Iris Scholten d1f99bde8f Add test for cell editor overlay to check that isQuerySupportedByExplorer is getting passed down when a user-defined tempvar is getting used in query 2018-05-01 15:33:55 -07:00
Iris Scholten 0efaaa96bb Disable parts of SchemaExplorer in CEO if user-defined temp vars in query
Use constants for :dashboardTime:, :upperDashboardTime:, & :interval:.
Clarify some fn names.

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-05-01 15:30:36 -07:00
ebb-tide c6d4db9f4c Fix tests and address PR review items 2018-04-30 15:38:38 -07:00
ebb-tide 9cbfb58fde Merge branch 'master' into table/field-options 2018-04-30 15:15:02 -07:00
ebb-tide 2cf1e1af4d Implement Decimal Place Setting 2018-04-30 11:59:14 -07:00
Brandon Farmer 351fd0cbeb Add tests for missing 'No Results' 2018-04-29 20:34:50 -07:00
ebb-tide e0fbbe4998 Add timeFormat and fieldOptions to default new cell 2018-04-26 12:30:01 -07:00
ebb-tide 76666d98a9 Front end work for taking fieldOptions out of tableOptions on to cell 2018-04-24 23:31:16 -07:00
Andrew Watkins b3593469d6
Merge pull request #3303 from influxdata/ifql/join
Introduce ability to use variable assignment in Time Machine
2018-04-24 15:55:34 -07:00
Andrew Watkins a3c97ae234 Fix tests 2018-04-24 15:02:19 -07:00
Andrew Watkins a375cbe453 Repair adding a func node 2018-04-24 14:34:42 -07:00
ebb-tide 6ecd527f01 Merge branch 'master' into table/field-options 2018-04-24 14:31:27 -07:00
Andrew Watkins f8211117df Fix function argument editing 2018-04-24 13:36:59 -07:00
ebb-tide bb277189b1 Use timeSeriesTransform for dygraphs. 2018-04-24 13:31:30 -07:00
Andrew Watkins 58cf2c200e Change expressionID to bodyID 2018-04-24 09:13:08 -07:00
ebb-tide 70b7d73040 Rename default time format 2018-04-23 23:09:36 -07:00
ebb-tide f691ba430a Merge branch 'master' into table/group-by 2018-04-23 21:39:03 -07:00
Andrew Watkins 8bab54d394
Merge pull request #3294 from influxdata/ifql/variables
Ifql/variables
2018-04-23 19:57:26 -07:00
ebb-tide de46a81d5f Fix breaking tests 2018-04-23 19:50:33 -07:00
Andrew Watkins 1e3a036cd9 Fix errors and warnings 2018-04-23 19:45:50 -07:00
ebb-tide 0c7ae2cca4 Move transformTableData to utils/tableGraph and rename it from processedTableData, Also combine sort field and direction 2018-04-23 18:32:19 -07:00
ebb-tide 6128fd434e Merge branch 'master' into table/group-by 2018-04-23 15:43:47 -07:00
Andrew Watkins c217560afe WIP move / change shape of body function 2018-04-23 15:27:27 -07:00
Andrew Watkins eddcac95a4 Add ability to handle literal and expression variables 2018-04-23 09:54:43 -07:00
Andrew Watkins ae80e1beec WIP introduce handling of variables 2018-04-23 09:54:43 -07:00
Alex P 8dc05b55ae Write render tests for component 2018-04-20 20:34:55 -07:00
ebb-tide ac97228d8c Merge branch 'master' into table/group-by 2018-04-20 16:10:10 -07:00
ebb-tide 5ca7265447 Make tests pass 2018-04-20 16:08:13 -07:00
Alex Paxton 7b85202d35
Merge pull request #3266 from influxdata/bugfix/notify-new-cell-name
Show New Cell's Name in Notification
2018-04-20 10:08:46 -07:00
Iris Scholten dc0a7601e7 WIP Move timeFormat and fieldNames/fieldOptions outside of tableOptions in the client 2018-04-19 18:57:22 -07:00
Andrew Watkins acb5680be4
Merge pull request #3238 from influxdata/ifql/from
Ifql/from
2018-04-19 10:56:25 -07:00
Alex P 79b728d432 Organize code to prevent new dashboards from having an unnamed cell 2018-04-19 10:24:45 -07:00
Andrew Watkins bbd0c2fda3 Fix test 2018-04-19 09:54:35 -07:00
Andrew Watkins 86b076826b Update addNode for use with multiple expressions 2018-04-18 17:27:57 -07:00
Andrew Watkins aea9d7c9b9 Remove type / lint errors 2018-04-18 16:04:49 -07:00
Andrew Watkins 82e6a733f1 WIP updated walker to return expression source 2018-04-18 14:37:27 -07:00
Alex Paxton b83fbc03f5
Merge pull request #3240 from influxdata/ux/dashboard-empty-state
Improve Dashboard Empty State
2018-04-18 14:24:22 -07:00
Andrew Watkins f54362f10c WIP Introduce expressions 2018-04-18 14:12:56 -07:00
Alex P e8ec841902 Merge branch 'master' into ux/dashboard-empty-state 2018-04-18 13:11:48 -07:00
Jared Scheib a98b23d6af
Merge pull request #3233 from influxdata/bugfix/hostlist-customdb
Allow for use of custom Retention Policy when querying for hosts from Host List page & Host pages
2018-04-18 13:04:26 -07:00
Andrew Watkins efa5e25611 Add test for from component 2018-04-18 12:32:19 -07:00
Alex P a9590805ca Implement cell type constants across app 2018-04-18 12:09:00 -07:00
Andrew Watkins 063f9c9bf7 Add prop for funcArg test 2018-04-18 12:08:43 -07:00
Jared Scheib a34b0fa6cc Move & rename generateTempVarsForHosts from constants to utils
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-04-18 11:56:17 -07:00
Brandon Farmer 61facc9321 Fixes now() time parsing when requesting annotations 2018-04-18 11:29:14 -07:00