Commit Graph

683 Commits (9641e557c0f6c3166bb66a090419bd35b395b84e)

Author SHA1 Message Date
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
Jared Scheib 609fd56b9a Merge branch 'master' into bugfix/hostlist-customdb 2018-04-18 10:47:52 -07:00
Brandon Farmer 73e6b791fe Upgrade to react 16 2018-04-18 00:02:00 -07:00
Jared Scheib 7e05835b9c Test HostsPage render all components & hosts
Update Source & SourceLinks types to be current with all fields.
Properly mocked hosts & env mock api fns for spying.
Add note about kapacitors field on Source type differing
between client and server.

Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-17 17:41:41 -07:00
Andrew Watkins 51250ddfd1 Add test 2018-04-17 15:08:05 -07:00
Alex Paxton 3cedef6faa
Merge pull request #3215 from influxdata/polish/sticky-tempvar-controls
Attach Template Controls Bar to top of page
2018-04-17 11:08:31 -07:00
Andrew Watkins 78f581a292 Add FundArgInput test 2018-04-17 09:47:45 -07:00
Andrew Watkins 48e43e56a1 Introduce FuncArg test 2018-04-17 09:30:50 -07:00
ebb-tide 28cea41a6f Constrain TableGraph updating 2018-04-16 19:13:23 -07:00
Iris Scholten 9ab401625b WIP test hostsPage async proxy request calls
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-16 18:29:16 -07:00
Alex P e1897a807a Write component test 2018-04-16 18:07:12 -07:00
Andrew Watkins 2f96ecc55a Add initial ability to handle string argument types 2018-04-16 16:56:38 -07:00
Andrew Watkins 7363cc7d5d Add inputs for various argument types 2018-04-16 14:53:54 -07:00
Andrew Watkins 4a9fefa1a2 Fix test 2018-04-16 10:56:53 -07:00
Andrew Watkins 479ec98d6e Add source string to func node object 2018-04-16 10:56:53 -07:00
Andrew Watkins 4a09df65ad Add text editor to builder 2018-04-16 10:56:53 -07:00
Deniz Kusefoglu ea2cff99bc
Merge pull request #3180 from influxdata/table/reorder-columns
Table/reorder columns
2018-04-15 00:43:52 -04:00
ebb-tide 2906a461f3 Implement PR review suggestions 2018-04-14 21:29:17 -07:00
Brandon Farmer 9418b7c6ce Ensure that values are displayed on gauges 2018-04-12 13:29:27 -07:00
Brandon Farmer 7d7319ecf5 Default to zero for gauges 2018-04-12 00:33:34 -07:00
Brandon Farmer fce176be63 Update changelog and add more tests around time range 2018-04-12 00:16:03 -07:00
Brandon Farmer b7d42df182 Show valid time in custom time range when now is selected 2018-04-12 00:06:31 -07:00
Iris Scholten 61914a6431 Add test for defaultRP in the UI on SourceForm
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-11 17:12:49 -07:00
ebb-tide 2f2b7737ed Fix failing tests 2018-04-11 16:12:36 -07:00
ebb-tide e8f360a9bf Implement dragging from drag handle rather than whole component 2018-04-10 21:08:33 -07:00
Andrew Watkins 7ba263953e
Merge pull request #3169 from influxdata/bugfix/tickscript-save
Bugfix/tickscript save
2018-04-10 14:40:30 -07:00
Andrew Watkins db98e429a6 Update tests and bugfix 2018-04-10 14:26:21 -07:00
Andrew Watkins c15fa1afe1 Add test for bug 2018-04-10 13:56:53 -07:00
Brandon Farmer e2f7fcfe1a
Merge pull request #3162 from influxdata/fix/graph-threshold-size
Only send threshold value to parent on blur
2018-04-10 11:38:34 -07:00
Brandon Farmer fa5a94eaba Add basic test around threshold 2018-04-10 11:11:22 -07:00
Iris Scholten 1c79374fe2 Fix tests after removing datalabels and making instance methods private 2018-04-09 15:20:07 -07:00
Iris Scholten 94945d5a43 Remove dataLabels and just use queryConfigs 2018-04-09 15:20:06 -07:00
Brandon Farmer 6b2cf7cf3a Make query configs available in table options on visualization tab 2018-04-09 15:16:16 -07:00
Brandon Farmer 3fb826a89a
Merge pull request #3148 from influxdata/polish/toggle-measurement
Allows users to close a measurement they have open
2018-04-09 14:51:42 -07:00
Brandon Farmer 914c1f1e82 Add test around MeasurementListItem behavior 2018-04-09 12:08:25 -07:00
Andrew Watkins a1a755016f Move TickscriptSave button to own file 2018-04-09 11:59:00 -07:00
Andrew Watkins 9f4faf6fb5 Disables saveing tickscript if no databases are selected 2018-04-06 17:56:02 -07:00
Andrew Watkins 09ccd3b152 Add test resources 2018-04-06 17:56:02 -07:00
Andrew Watkins 21754a10f9 Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -07:00
Jared Scheib 610fc3f799
Merge pull request #3144 from influxdata/bugfix/dataexplorer-prefix
Ensure correct basepath prefix in URL pathname when passing InfluxQL query param to Data Explorer
2018-04-06 15:51:21 -07:00
Jared Scheib 520e3e1bb5 Test that client basepath strips prefix if present
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
2018-04-06 15:01:45 -07:00
Andrew Watkins 8586c835ca
Merge pull request #3142 from influxdata/timemachine
Timemachine
2018-04-06 13:05:39 -07:00
Andrew Watkins 43fca0175c Fix type errors 2018-04-06 12:15:28 -07:00
Alex P f1a49c5501 Fix component test 2018-04-06 11:31:23 -07:00
Alex P 66a838a9dd WIP fix tests 2018-04-05 18:02:43 -07:00
Andrew Watkins c6c8bdaecf Check queryConfig on component mount 2018-04-05 13:53:38 -07:00
Andrew Watkins 432d37be9b Add style
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-04-05 10:02:42 -07:00
Andrew Watkins 6fcc84947a Convert QueryMaker to TypesScript and add test 2018-04-04 16:06:50 -07:00
Andrew Watkins 8d5f2665ba Update async test 2018-04-04 15:39:46 -07:00
Andrew Watkins 487cdb3105 Move DataExplorer to TypeScript 2018-04-04 15:39:34 -07:00
Andrew Watkins b127d2d96a
Merge pull request #3118 from influxdata/bugfix/flash-notifications
Bugfix/flash notifications
2018-04-04 11:13:17 -07:00
Andrew Watkins 55d8ac86f4 Update tests 2018-04-04 11:00:43 -07:00
Andrew Watkins 0cbb8d9260 Update tests 2018-04-03 22:07:31 -07:00
Andrew Watkins a2a5d9bd14 Add inital tests 2018-04-03 21:10:06 -07:00
ebb-tide be86d85bc2 Merge branch 'bugfix/kapacitor-loading-4ever' of https://github.com/influxdata/chronograf into bugfix/kapacitor-loading-4ever 2018-04-03 13:46:41 -07:00
Deniz Kusefoglu 9400174de6
Merge branch 'master' into bugfix/kapacitor-loading-4ever 2018-04-03 16:46:08 -04:00
ebb-tide d2b70acdb0 Implement suggestions from PR review 2018-04-03 12:00:53 -07:00
ebb-tide fb37c548e2 Add some tests 2018-04-02 17:16:45 -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 3ffdae1ee8
Merge pull request #3101 from influxdata/bugfix/tempvar
Fix templateVariables not loading properly.  Other variables were amazed
2018-03-30 15:32:00 -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 Paxton 99d32f68fa
Merge pull request #3096 from influxdata/polish/confirmation-buttons
Standardize Confirmation Buttons
2018-03-30 11:21:21 -07:00
ebb-tide de22496613 Merge branch 'master' into feature/table-graph-polish 2018-03-29 18:56:10 -07:00
ebb-tide 3656bee056 Move table graph data transform function tests 2018-03-29 18:47:49 -07:00
Andrew Watkins 152027a639 Fix test warning spam 2018-03-29 16:44:24 -07:00
Alex P 468be2b513 Remove test for button order
This is now handled with CSS
2018-03-29 16:10:17 -07:00
Andrew Watkins 76e0d026ea Fix typing errors 2018-03-29 16:06:10 -07:00
Brandon Farmer ff6a9fcb0a Fix FuncSelectorTest
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer 178b366191 Func item triggers a handler when it is clicked
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Andrew Watkins 8b03686af4 Add ast to test props 2018-03-29 16:04:37 -07:00
Andrew Watkins b2e70f396f Introduce Walker class for walking the ifql AST
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:04:37 -07:00
Andrew Watkins 182d4517e7 Introduce filtering to FuncButton 2018-03-29 16:02:32 -07:00
Andrew Watkins e0db988a79 Introduce function list button populated by IFQL 2018-03-29 16:02:32 -07:00
Andrew Watkins 90718ff652 Get suggestions for functions 2018-03-29 16:02:32 -07:00
Andrew Watkins 08d26a7f1e Introduce IFQLPage skeleton 2018-03-29 16:02:31 -07:00
Andrew Watkins b7cf32873a Add getSuggestions AJAX call to chronograf FE 2018-03-29 16:01:01 -07:00
Andrew Watkins 00c7d9a6e2 Introduce IFQLPage container 2018-03-29 16:01:01 -07:00
Alex P 1b6ee466ab Rename ConfirmButtons to "ConfirmOrCancel" 2018-03-29 11:22:13 -07:00
ebb-tide 9f7182416a Improve naming of time series transformer functions 2018-03-29 10:56:27 -07:00
Alex P b35d668a41 Merge branch 'master' into moar-colors-n-stuff 2018-03-29 10:26:27 -07:00
Alex P 3732fbaefd Write reducer test for updating line graph colors 2018-03-26 19:14:06 -07:00
Iris Scholten 1c596e9845 add test for processing TableGraph data 2018-03-26 12:21:33 -07:00
Iris Scholten 54e1bee9fb add tests for timeSeriesToTableGraph function 2018-03-26 11:24:05 -07:00
Iris Scholten f358c0dac3 fix prettier errors 2018-03-26 09:54:02 -07:00
Iris Scholten 8c5ba95f2a update getters in TableOptions.test 2018-03-23 18:39:45 -07:00
Iris Scholten f96358bde8 update GraphOptionsCustomizeFields.test 2018-03-23 17:56:23 -07:00
Iris Scholten 2e98bfe2a1 update GraphOptionsCustomizableField.test 2018-03-23 17:53:34 -07:00
Iris Scholten c22218c89e add tests for GraphOptionsFixFirstColumn 2018-03-23 17:42:39 -07:00
Iris Scholten 51224fa7e7 move tooltip for time format link to constants and update time format tests 2018-03-23 17:28:55 -07:00
Iris Scholten d3f34aeb63 update GraphOptionsSortBy.test 2018-03-23 17:13:21 -07:00
Iris Scholten 42e27aff1a update GraphOptionsTimeFormat.test 2018-03-23 16:10:33 -07:00
Jared Scheib 697d077e94
Merge pull request #3006 from influxdata/bugfix/task_enabled_correct_check
Fix Kapacitor Rules task enabled checkboxes to only toggle exactly as clicked
2018-03-23 10:48:41 -07:00
Alex P 872aebd0a1 Implement FancyScrollbar in Customize Fields list 2018-03-22 18:54:16 -07:00
Jared Scheib 504e6f938e Make tslint happy for tests 2018-03-22 15:51:54 -07:00
Jared Scheib 0fd2083601 Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-22 15:12:22 -07:00
Jared Scheib 2419890f7d Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-22 14:08:45 -07:00
Iris Scholten 180d3684e2 fix tslint alphabetizing errors 2018-03-22 13:20:00 -07:00
Jared Scheib a741a3f04c Test that KapacitorRules renders corresponding rule/task rows with same enabled status 2018-03-22 13:09:57 -07:00
Jared Scheib 7f4779b9ba Refactor KapacitorRules test to share common helpers & schema 2018-03-22 13:01:49 -07:00