Commit Graph

226 Commits (f6823cdf9ffe99c55ddba9bef8c025c0d72b1692)

Author SHA1 Message Date
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
Jared Scheib 54266c094a Revert "Test KapacitorRulesTable tr keys to be UUIDv4"
This reverts commit bd6674859c.
2018-03-16 14:18:57 -07:00
Alex Paxton e36ed6c17d Merge pull request #2993 from influxdata/feature/table-thresholds
Add Color Thresholds to Table Graphs
2018-03-16 12:44:20 -07:00
Andrew Watkins 49936b0add Merge pull request #3001 from influxdata/chore/chronograf-admin-ts
Conversion of AllUsersPage to TypeScript add initial test
2018-03-16 10:52:02 -07:00
Alex P ee40e69c09 Merge branch 'master' into feature/table-thresholds 2018-03-16 10:51:14 -07:00
Andrew Watkins dd9cf88aab Introduce AllUsersPage test 2018-03-15 16:44:18 -07:00
Iris Scholten 27168d8c14 Merge pull request #2996 from influxdata/feature/table-graph-series-renaming
Table Graph Series/Column renaming
2018-03-15 16:27:47 -07:00
Alex P 03a0149fb0 Add new prop to test 2018-03-14 22:26:23 -07:00
Alex P 886d640434 rename singleStatColors to thresholdsListColors 2018-03-14 22:08:26 -07:00
Alex P b9858a73b9 Rename single stat constants to match thresholds naming scheme 2018-03-14 21:20:22 -07:00
Alex P 72ccbc1d2f rename singleStatType to thresholdsListType
going for a more generic and future proof naming scheme
2018-03-14 21:13:20 -07:00
Alex P 904a9f7ee3 Use ThresholdsColorToggle in TableOptions 2018-03-14 21:02:13 -07:00
Alex P 104b886b2a Update table options test 2018-03-14 20:57:55 -07:00
Alex P 4405d0801e Merge branch 'master' into feature/table-thresholds 2018-03-14 20:38:56 -07:00
Jared Scheib bd6674859c Test KapacitorRulesTable tr keys to be UUIDv4 2018-03-14 18:44:51 -07:00
Jared Scheib a81fa3c01e Add string validator & tests for UUIDv4 2018-03-14 18:31:09 -07:00
Iris Scholten cab2515d53 fix typo in CustomizeColumns test 2018-03-14 18:21:53 -07:00
Iris Scholten 2c7c1e7c4e create component test for GraphOptionsCustomizeColumns 2018-03-14 18:17:32 -07:00
Iris Scholten f767340101 update columnNames in the redux store and connect them to TableGraphs 2018-03-14 17:46:42 -07:00
Andrew Watkins 0e57c8f2eb Add insecureSkipVerify to default kapacitor 2018-03-14 17:23:34 -07:00
Andrew Watkins dd05f33ce3 Add test for updateKapacitor
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-14 17:23:34 -07:00
Brandon Farmer f404eb572c WIP 2018-03-14 17:23:34 -07:00
Brandon Farmer 3e658bd44f Send insecure verify skip on kapacitor create
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-14 17:23:34 -07:00
Brandon Farmer 6fe1f9f5fe Allow users to use insecure skip verify on kapacitor
Co-authored-by: Brandon Farmer<bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-14 17:23:34 -07:00
Jared Scheib a4cf6276f5 Remove unused jest in Kapacitor tests 2018-03-14 17:18:29 -07:00
Jared Scheib 81e2551053 Add initial enzyme test for component KapacitorRulesTable render 2018-03-14 17:17:16 -07:00