Commit Graph

251 Commits (745c27a4cd71b7b47f2094e5665cdf5e48655f36)

Author SHA1 Message Date
Brandon Farmer 2a91f99a41 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 6b44326fdf Add test around MeasurementListItem behavior 2018-04-09 12:08:25 -07:00
Andrew Watkins 4908c2cd0b Move TickscriptSave button to own file 2018-04-09 11:59:00 -07:00
Andrew Watkins 153a8915ca Disables saveing tickscript if no databases are selected 2018-04-06 17:56:02 -07:00
Andrew Watkins 30291007cc Add test resources 2018-04-06 17:56:02 -07:00
Andrew Watkins ca541481a9 Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -07:00
Jared Scheib 85e5caa2ab 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 4dccd30a2b 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 fe3fdb57f0 Merge pull request #3142 from influxdata/timemachine
Timemachine
2018-04-06 13:05:39 -07:00
Andrew Watkins 6fa52b9ba8 Fix type errors 2018-04-06 12:15:28 -07:00
Alex P 52a04bf8fc Fix component test 2018-04-06 11:31:23 -07:00
Alex P 57dd610732 WIP fix tests 2018-04-05 18:02:43 -07:00
Andrew Watkins b6583060d5 Check queryConfig on component mount 2018-04-05 13:53:38 -07:00
Andrew Watkins f8ad5a04f6 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 168361170a Convert QueryMaker to TypesScript and add test 2018-04-04 16:06:50 -07:00
Andrew Watkins 709bf895f3 Update async test 2018-04-04 15:39:46 -07:00
Andrew Watkins 6536d5d9c7 Move DataExplorer to TypeScript 2018-04-04 15:39:34 -07:00
Andrew Watkins 4438d982aa Merge pull request #3118 from influxdata/bugfix/flash-notifications
Bugfix/flash notifications
2018-04-04 11:13:17 -07:00
Andrew Watkins 325275c471 Update tests 2018-04-04 11:00:43 -07:00
Andrew Watkins d3b1b06726 Update tests 2018-04-03 22:07:31 -07:00
Andrew Watkins bc8fcf8b8d Add inital tests 2018-04-03 21:10:06 -07:00
ebb-tide b450ff2f18 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 1724b532c9 Merge branch 'master' into bugfix/kapacitor-loading-4ever 2018-04-03 16:46:08 -04:00
ebb-tide 4ccde5e55d Implement suggestions from PR review 2018-04-03 12:00:53 -07:00
ebb-tide a3218e1027 Add some tests 2018-04-02 17:16:45 -07:00
Alex P 8b164c98df Merge branch 'master' into moar-colors-n-stuff 2018-04-02 11:51:27 -07:00
Alex P b54f9568d3 Merge branch 'master' into feature/clone-dashboards 2018-03-30 16:11:02 -07:00
Alex P 444d460b8e Write test for deleting a dashboard 2018-03-30 15:52:41 -07:00
Andrew Watkins 588338877d 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 162bea3ad7 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 489a667d4f Merge pull request #3096 from influxdata/polish/confirmation-buttons
Standardize Confirmation Buttons
2018-03-30 11:21:21 -07:00
ebb-tide b09026c765 Merge branch 'master' into feature/table-graph-polish 2018-03-29 18:56:10 -07:00
ebb-tide fa5cabe3af Move table graph data transform function tests 2018-03-29 18:47:49 -07:00
Andrew Watkins 60ca52ab96 Fix test warning spam 2018-03-29 16:44:24 -07:00
Alex P 641ec4d098 Remove test for button order
This is now handled with CSS
2018-03-29 16:10:17 -07:00
Andrew Watkins ae707ac283 Fix typing errors 2018-03-29 16:06:10 -07:00
Brandon Farmer debfff5050 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 5353c0bb57 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 8b11693499 Add ast to test props 2018-03-29 16:04:37 -07:00
Andrew Watkins 853682e46f 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 376ce0db87 Introduce filtering to FuncButton 2018-03-29 16:02:32 -07:00
Andrew Watkins 21c8e46bb2 Introduce function list button populated by IFQL 2018-03-29 16:02:32 -07:00
Andrew Watkins de1b7caa63 Get suggestions for functions 2018-03-29 16:02:32 -07:00
Andrew Watkins 457134d217 Introduce IFQLPage skeleton 2018-03-29 16:02:31 -07:00
Andrew Watkins 12643e6213 Add getSuggestions AJAX call to chronograf FE 2018-03-29 16:01:01 -07:00
Andrew Watkins cf0d7661ca Introduce IFQLPage container 2018-03-29 16:01:01 -07:00
Alex P 7f50403114 Rename ConfirmButtons to "ConfirmOrCancel" 2018-03-29 11:22:13 -07:00
ebb-tide dfb7527809 Improve naming of time series transformer functions 2018-03-29 10:56:27 -07:00
Alex P ceb2ed2b83 Merge branch 'master' into moar-colors-n-stuff 2018-03-29 10:26:27 -07:00
Alex P 6edb4f30e4 Write reducer test for updating line graph colors 2018-03-26 19:14:06 -07:00
Iris Scholten aad5bce052 add test for processing TableGraph data 2018-03-26 12:21:33 -07:00
Iris Scholten 1939c674ac add tests for timeSeriesToTableGraph function 2018-03-26 11:24:05 -07:00
Iris Scholten 39674cab19 fix prettier errors 2018-03-26 09:54:02 -07:00
Iris Scholten 5789f41b7c update getters in TableOptions.test 2018-03-23 18:39:45 -07:00
Iris Scholten 3550b21106 update GraphOptionsCustomizeFields.test 2018-03-23 17:56:23 -07:00
Iris Scholten efccecad72 update GraphOptionsCustomizableField.test 2018-03-23 17:53:34 -07:00
Iris Scholten 32ddfa7c0b add tests for GraphOptionsFixFirstColumn 2018-03-23 17:42:39 -07:00
Iris Scholten 51fc44d50f move tooltip for time format link to constants and update time format tests 2018-03-23 17:28:55 -07:00
Iris Scholten 5d62e4a059 update GraphOptionsSortBy.test 2018-03-23 17:13:21 -07:00
Iris Scholten 1723292504 update GraphOptionsTimeFormat.test 2018-03-23 16:10:33 -07:00
Jared Scheib 0bce2598eb 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 e2bddbadb3 Implement FancyScrollbar in Customize Fields list 2018-03-22 18:54:16 -07:00
Jared Scheib 385c892f6a Make tslint happy for tests 2018-03-22 15:51:54 -07:00
Jared Scheib 8d915cebc3 Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-22 15:12:22 -07:00
Jared Scheib e4088ce61a Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-22 14:08:45 -07:00
Iris Scholten 098e060ecb fix tslint alphabetizing errors 2018-03-22 13:20:00 -07:00
Jared Scheib 67e3c92077 Test that KapacitorRules renders corresponding rule/task rows with same enabled status 2018-03-22 13:09:57 -07:00
Jared Scheib c9525b22b0 Refactor KapacitorRules test to share common helpers & schema 2018-03-22 13:01:49 -07:00
Iris Scholten b58354f144 remove graph options test wrapping from tableoptions test 2018-03-22 12:47:41 -07:00
Iris Scholten 649f221b34 Merge branch 'master' into feature/table-hide-series 2018-03-21 18:31:39 -07:00
Andrew Watkins bba6cd4012 Prettier fixes 2018-03-21 16:59:15 -07:00
Jared Scheib 5e40cf4e6d Test that 'change' event on TaskRow calls onChangeRuleStatus on that rule 2018-03-21 16:48:57 -07:00
Jared Scheib 6c76e2b4f4 Refactor TasksTable test to per-test shallow
Make dedicated describe block props
2018-03-21 16:43:19 -07:00
Jared Scheib e3be0cd95f Test that 'change' event on RuleRow calls onChangeRuleStatus on that rule 2018-03-21 16:42:03 -07:00
Jared Scheib a95b8543c3 Remove improper user interaction work-in-progress
Enzyme is not intended to test toggling a checkbox.
See https://github.com/airbnb/enzyme/issues/952.

Test initial render RuleRow.
Make query an optional property in AlertRule definition.
2018-03-21 16:14:20 -07:00
Andrew Watkins 25809f53e2 Add tslint to test runner / watcher 2018-03-21 16:12:42 -07:00
Andrew Watkins 7373931257 Fix linting errors 2018-03-21 16:12:42 -07:00
Jared Scheib 90e0aa1a01 Get rows & props for testing of KapacitorRulesTable & TasksTable 2018-03-21 13:14:52 -07:00
Jared Scheib a411e7d2ba Test that KapacitorRules renders one corresponding task row for each rule row 2018-03-21 12:29:26 -07:00
Jared Scheib 68bc9df652 WIP Test user interaction toggle of checkboxes 2018-03-20 20:47:49 -07:00
Jared Scheib 06adacdcee Refactor KapacitorRules.test to use explicit shallow setup 2018-03-20 20:37:05 -07:00
Jared Scheib 25409b232e Prettier 2018-03-20 18:41:45 -07:00
Jared Scheib 3405aad54c Add kapacitor rule test resource that has no query 2018-03-20 18:40:44 -07:00
Iris Scholten 4d10b9f6ea merge master and fix minor bugs
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-20 18:30:08 -07:00
Iris Scholten 668cf2175f update tableoptions.test with visible 2018-03-20 17:24:34 -07:00
Iris Scholten c644c77364 add renamed files from columnNames to fieldName changes 2018-03-20 17:24:34 -07:00
Iris Scholten d8daddde8f update columnNames to fieldNames and columns to fields in front end for tablegraphs 2018-03-20 17:24:34 -07:00
Iris Scholten 03e884e2d6 update GraphOptionsCustomizableColumn.test with visible prop and toggling it 2018-03-20 17:08:56 -07:00
Iris Scholten fede364f88 connect tableOptions field visibility toggle to tableGraph 2018-03-20 17:08:56 -07:00
Alex P 596f7818ea update FFC test
Co-authored-by: Iris Scholten <iris@influxdata.com>
2018-03-20 16:28:23 -07:00
Iris Scholten 50e0cb12ef update and add tests for fixfirstcolumn logic 2018-03-19 18:20:17 -07:00
Jared Scheib 6002526fd6 Remove unused UUID string validator & test 2018-03-19 17:04:43 -07:00
Jared Scheib 2b026d8660 Find by component rather than component name in enzyme tests 2018-03-19 16:52:06 -07:00
Brandon Farmer e4105a39b1 Fixes typescript compile type error 2018-03-18 19:31:35 -07:00
Brandon Farmer 09cebf7000 Add test from display value of selected 2018-03-18 18:17:33 -07:00
Jared Scheib 9e9f566996 Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-16 21:05:01 -07:00
Brandon Farmer 19d7dc35ed Sort table graphs in cell editor overlay 2018-03-16 17:46:45 -07:00
Jared Scheib 4ed4be638d Add failing test for KapacitorRules renders both tables rows with unique label FORs 2018-03-16 16:04:04 -07:00
Jared Scheib eeda415eb7 Add failing test for KapacitorRules renders both tables with unique checkbox IDs 2018-03-16 16:03:20 -07:00
Jared Scheib 9cfac3450c Add more kapacitor rules test data 2018-03-16 14:37:03 -07:00