Commit Graph

5568 Commits (b0126b66ef1295a1581e5449e0f1245a90be6ec7)

Author SHA1 Message Date
Andrew Watkins 421fa6e463 Add jslinting to Makefile 2018-03-23 11:08:06 -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 Paxton c6d6cf37d1
Merge pull request #3041 from influxdata/rename-fix-column
Change "Fix First Column" to "Lock First Column"
2018-03-23 09:32:26 -07:00
Alex P cc1244b435 Improve database confirm delete copy 2018-03-22 21:51:14 -07:00
Alex P 2b01046b26 Replace data write errorThrown with notify
Moving to copy as well
2018-03-22 21:42:01 -07:00
Alex P 5311ae2db6 Replace errorThrown with notify for csv download fail notification
Also moving to copy
2018-03-22 21:38:44 -07:00
Alex P bab0673f94 Replace JSON load failure error with notification; move to notifications copy 2018-03-22 21:23:28 -07:00
Alex P 082a5d32bc Centralize new version and loading local settings notifications 2018-03-22 21:08:34 -07:00
Alex P 37d09abad9 Use notify when flushing error queue if error type is object 2018-03-22 21:06:09 -07:00
Alex P 9b3d8cc1bb Fix linter errors 2018-03-22 20:45:51 -07:00
Alex P 1a4b7b8dd6 Refactor notifications to be functions 2018-03-22 20:44:19 -07:00
Alex P d41089279b WIP Refactor notifications to be functions 2018-03-22 20:26:55 -07:00
Alex P 312e1e6769 Rename notifications that are already functions to camel case 2018-03-22 20:15:00 -07:00
Alex P f2bf41580a Refactor dashboard notifications 2018-03-22 19:57:32 -07:00
Alex P d3995a0bfa Refactor tickscript notifications 2018-03-22 19:55:51 -07:00
Alex P ba188c64cd Update copy 2018-03-22 19:00:49 -07:00
Alex P 872aebd0a1 Implement FancyScrollbar in Customize Fields list 2018-03-22 18:54:16 -07:00
Alex P e022864326 Polish Customizable Fields UI
Also moving styles to own stylesheet
2018-03-22 18:21:34 -07:00
Alex P 6fa973f82a Fix bug that caused table render to fail 2018-03-22 18:14:32 -07:00
Andrew Watkins 28423df477
Merge pull request #3038 from influxdata/no-progress
Remove progress from prod build
2018-03-22 16:24:23 -07:00
Jared Scheib 504e6f938e Make tslint happy for tests 2018-03-22 15:51:54 -07:00
Alex Paxton dd5e6771bb
Merge pull request #3034 from influxdata/style/table-sort
Style Table Sorting
2018-03-22 15:51:29 -07:00
Andrew Watkins 43da9dafe8 Remove progress from prod build 2018-03-22 15:46:11 -07:00
Alex Paxton 31a6d2108e
Merge pull request #3036 from influxdata/style/table-thresholds-polish
More Table Polish
2018-03-22 15:45:53 -07:00
Alex P 305c35cb7b Respond to feedback 2018-03-22 15:32:57 -07:00
Jared Scheib 0fd2083601 Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-22 15:12:22 -07:00
Andrew Watkins 451d4a9885 Add config filepath to ts-loader in prod build 2018-03-22 14:52:22 -07:00
Andrew Watkins f666975989 Use stats variable 2018-03-22 14:51:45 -07:00
Andrew Watkins ee188cb321 Add path to config file 2018-03-22 14:51:25 -07:00
Andrew Watkins 6fa7790568 Simplify webpack output 2018-03-22 14:50:55 -07:00
Andrew Watkins 6c6669dd40 Remove unused variables 2018-03-22 14:50:05 -07:00
Andrew Watkins 1f2f330529 Fix typo for ordered imports 2018-03-22 14:47:57 -07:00
Andrew Watkins 3d2e819d2a Add progress to dev build 2018-03-22 14:47:39 -07:00
Alex P 2e2e244504 Merge branch 'master' into style/table-sort 2018-03-22 14:40:11 -07:00
Alex P 8ec24b8542 Fix linter error 2018-03-22 14:27:27 -07:00
Andrew Watkins 7bebd0af22 Remove console log experiment 2018-03-22 14:25:12 -07:00
Andrew Watkins 130a9e42d8 WIP emit errors tslint 2018-03-22 14:25:12 -07:00
Alex P c0e3707ed6 Merge branch 'master' into style/table-thresholds-polish 2018-03-22 14:17:55 -07:00
Alex P 6f237ba3da Merge branch 'master' into style/table-thresholds-polish 2018-03-22 14:17:26 -07:00
Deniz Kusefoglu c46125d42b
Merge pull request #3035 from influxdata/fix-tslint.json
Update sorting rules
2018-03-22 14:16:07 -07:00
Jared Scheib 2419890f7d Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-22 14:08:45 -07:00
ebb-tide 56f9a80a1b Fix updating sorting rules 2018-03-22 13:54:47 -07:00
Alex P 5666922733 Reduce firing of calculateTimeColumnWidth for smoother rendering 2018-03-22 13:54:23 -07:00
Alex P d21c2cb14d Prevent time column from truncating text when time axis is vertical 2018-03-22 13:54:23 -07:00
Alex P f871ad7087 Refactor generate hex function to take explicit options
Also sets he default color to grey text if the cell is a table
(This prevents null values showing up as blue)
2018-03-22 13:54:23 -07:00
ebb-tide 53d87d893a Update sorting rules 2018-03-22 13:51:28 -07:00
Alex P db12eda472 Polish table sorting interaction 2018-03-22 13:46: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
Iris Scholten d428a19395 remove graph options test wrapping from tableoptions test 2018-03-22 12:47:41 -07:00
Iris Scholten ab98679c18 remove GraphOptionsCustomizableColumn 2018-03-22 12:43:41 -07:00
ebb-tide 178bb00ec8 Fix merge generated errors 2018-03-22 12:25:33 -07:00
ebb-tide 10979f122c Merge branch 'master' into feature/table-hide-series 2018-03-22 12:13:50 -07:00
ebb-tide 3aa6b2acb0 Fix linter errors in sometsx files 2018-03-22 11:29:30 -07:00
Iris Scholten 124dbd5abd remove extra paren 2018-03-22 10:01:29 -07:00
Iris Scholten 8794d6a636 fix parentheses error 2018-03-22 09:35:23 -07:00
Iris Scholten be8ff5903c Merge branch 'master' into feature/table-hide-series 2018-03-21 18:31:39 -07:00
Iris Scholten edaff0be3b fix linter errors 2018-03-21 17:58:03 -07:00
Iris Scholten 0d0cf95323 refactor cellRenderer and render in TableGraph
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 17:49:52 -07:00
Andrew Watkins 317a22f9a9 Prettier fixes 2018-03-21 16:59:15 -07:00
Iris Scholten 5394c98b99 fix error when adding query after choosing cell 2018-03-21 16:57:55 -07:00
Jared Scheib 5e7cbede07 Test that 'change' event on TaskRow calls onChangeRuleStatus on that rule 2018-03-21 16:48:57 -07:00
Jared Scheib 04bfbbfa09 Refactor TasksTable test to per-test shallow
Make dedicated describe block props
2018-03-21 16:43:19 -07:00
Jared Scheib dd46e6e43d Test that 'change' event on RuleRow calls onChangeRuleStatus on that rule 2018-03-21 16:42:03 -07:00
Iris Scholten f788517430 fix react-virtualized error when flipping axes with one visible field and fixFirstColumn true 2018-03-21 16:42:00 -07:00
Iris Scholten 1337098713 remove QueryConfig interface from tableOptions 2018-03-21 16:15:21 -07:00
Jared Scheib 82910d0a19 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 16dfa23477 Add tslint to test runner / watcher 2018-03-21 16:12:42 -07:00
Andrew Watkins ba527e8b14 Add tslint-loader 2018-03-21 16:12:42 -07:00
Andrew Watkins 9c1799c50d Fix linting errors 2018-03-21 16:12:42 -07:00
Andrew Watkins 60cf7e5d88 WIP Introduction of tslint 2018-03-21 16:12:42 -07:00
Iris Scholten b6c1af78dd add tableOptions shape in proptypes to TableGraph 2018-03-21 16:09:15 -07:00
Iris Scholten ea9d674dfb remove text wrapping
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 15:54:19 -07:00
Iris Scholten 8a7675164f prevent rerendering of tableOptions unless appropriate props change
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 15:38:02 -07:00
Iris Scholten 354c410c46 fix tooltip custom time format bug 2018-03-21 14:54:09 -07:00
Iris Scholten df56ee7312 fix checking for empty data in tableGraph
Co-authored-by: Deniz Kusefoglu <denix@influxdata.com>
2018-03-21 14:50:38 -07:00
Brandon Farmer 1307d81b07 Run eslint to fix issues 2018-03-21 14:41:18 -07:00
Iris Scholten 717c707929 remove console log 2018-03-21 14:26:58 -07:00
Iris Scholten 88ab26a385 fix hovertime issue in tableGraphs
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 14:25:48 -07:00
Brandon Farmer eaaa06a07f Fix bound functions in render methods 2018-03-21 13:59:01 -07:00
Brandon Farmer df31206b28 Update .eslintrc to comply with prettier 2018-03-21 13:44:15 -07:00
Andrew Watkins 925d815f47 Change .eslintrc to proper json 2018-03-21 13:42:16 -07:00
Brandon Farmer b5ecc8592e Upgrade prettier to 1.11.1 2018-03-21 13:41:48 -07:00
Jared Scheib 366cf0c7c4 Get rows & props for testing of KapacitorRulesTable & TasksTable 2018-03-21 13:14:52 -07:00
Iris Scholten 2716a59a62 update processData functionality in tableGraph
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 12:49:02 -07:00
Jared Scheib 8e0ad0432b Test that KapacitorRules renders one corresponding task row for each rule row 2018-03-21 12:29:26 -07:00
Iris Scholten e7f34abc0a fix hiding columns when vertically flipped
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 11:24:06 -07:00
Iris Scholten 4e46c2d36e Merge branch 'master' into feature/table-hide-series
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 10:55:14 -07:00
Iris Scholten 63108fe12f WIP add partial functionality for hiding columns/rows 2018-03-21 10:44:23 -07:00
Alex P 8e66fab811 Remove alt attribute from each cell 2018-03-21 10:27:19 -07:00
ebb-tide feb06c2b74 Pull isEmpty from lodash 2018-03-20 21:57:15 -07:00
ebb-tide e57245e6f3 Make sorting sane 2018-03-20 21:42:52 -07:00
Jared Scheib 317bfd5bfe WIP Test user interaction toggle of checkboxes 2018-03-20 20:47:49 -07:00
Jared Scheib b9c7f16cc4 Refactor KapacitorRules.test to use explicit shallow setup 2018-03-20 20:37:05 -07:00
Jared Scheib aac541b5ec Move PageContents from KapacitorRules to KapacitorRulesPage 2018-03-20 20:12:43 -07:00
Alex P 4e5bf795a5 Merge branch 'master' into style/table-polish 2018-03-20 20:10:34 -07:00
ebb-tide 5519aa2937 set null row and column to null array index 2018-03-20 20:03:12 -07:00
Jared Scheib 37e1350596 Remove unused KapacitorTasksPage container from project 2018-03-20 19:57:08 -07:00
Alex P 6e13f921c0 Fix errors 2018-03-20 19:31:35 -07:00
Alex P e267ec7fe3 Fix rendering of thresholds list when header is false 2018-03-20 19:23:59 -07:00
Alex P 22a1b98bb7 Polish table highlighting styles 2018-03-20 19:14:47 -07:00
Alex P 23108bd7ad Make time format dropdown consistent with other graph options 2018-03-20 19:07:03 -07:00
Iris Scholten 2a738df64e fix time formattin bug
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-20 18:54:35 -07:00
Alex P 4599d21364 Display complete cell contents on hover
Doing this old school way with title & alt attributes
2018-03-20 18:41:51 -07:00
Jared Scheib 2a77a3b776 Prettier 2018-03-20 18:41:45 -07:00
Jared Scheib 5e4a60f96d Add kapacitor rule test resource that has no query 2018-03-20 18:40:44 -07:00
Alex P 8e72bfd2ad Truncate overflow with ellipsis 2018-03-20 18:39:21 -07:00
Alex P d8e07cf5b6 Set more reasonable min and max widths for column sizer 2018-03-20 18:39:03 -07:00
Iris Scholten eca5394edc merge master and fix minor bugs
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-20 18:30:08 -07:00
Alex P 66c8480b3e Implement columnSizer
This HOC sizes the columns to fit available space
2018-03-20 18:24:01 -07:00
Alex P 1dbb226475 Polish scrollbars in table graph
Scrollbars only appear the non-fixed grid (bottom right) to prevent
clutter
2018-03-20 18:13:21 -07:00
Iris Scholten c687984545 rebase branch to master 2018-03-20 17:30:00 -07:00
Iris Scholten d4a8cd581b WIP get labels from tableGraph instead of building them in tableOptions 2018-03-20 17:24:34 -07:00
Iris Scholten beff578eb2 update tableoptions.test with visible 2018-03-20 17:24:34 -07:00
Iris Scholten 1fb19c5d9f rebase to master and fix bugs 2018-03-20 17:24:34 -07:00
Iris Scholten 5348cfae92 add scrolling to customizeFields when there are a lot of them in CEO options 2018-03-20 17:24:34 -07:00
Iris Scholten bcc87a682a add renamed files from columnNames to fieldName changes 2018-03-20 17:24:34 -07:00
Iris Scholten e049b53cd9 update columnNames to fieldNames and columns to fields in front end for tablegraphs 2018-03-20 17:24:34 -07:00
Deniz Kusefoglu 9759ac2db7
Merge pull request #3022 from influxdata/feature/table-graph-sort-from-graph
Feature/table graph sort from graph
2018-03-20 17:17:01 -07:00
Iris Scholten 2614da86e5 update GraphOptionsCustomizableColumn.test with visible prop and toggling it 2018-03-20 17:08:56 -07:00
Iris Scholten 31c42c19b7 add filtering out invisible rows for horizontal time axis 2018-03-20 17:08:56 -07:00
Iris Scholten e7f89b6322 connect tableOptions field visibility toggle to tableGraph 2018-03-20 17:08:56 -07:00
Iris Scholten 9d550a7997 introduce visible as prop to CustomizableColumns and remove duplicate constants 2018-03-20 17:03:24 -07:00
ebb-tide 24db1a39df Merge branch 'master' into feature/table-graph-sort-from-graph 2018-03-20 17:03:23 -07:00
ebb-tide 85b804476a Switch default sorting direction 2018-03-20 16:44:39 -07:00
ebb-tide 2ab89dfe71 refer to ascending/descending instead of defaults 2018-03-20 16:29:56 -07:00
Alex P 1c164179d3 update FFC test
Co-authored-by: Iris Scholten <iris@influxdata.com>
2018-03-20 16:28:23 -07:00
ebb-tide 9c6788f0a9 Run sorting at component mount 2018-03-20 16:17:39 -07:00
Alex P 942c8033cc Style FFC checkbox 2018-03-20 16:17:35 -07:00
ebb-tide 5aab08f568 Prevent unnecessary unzipping of data 2018-03-20 15:52:12 -07:00
ebb-tide ee620229ae Correctly camel case var names 2018-03-20 15:26:41 -07:00
Iris Scholten c5438ea8a5
Merge pull request #3016 from influxdata/feature/table-fixed-column
Table graph option for fixed column and hover bug fix
2018-03-20 15:10:08 -07:00
ebb-tide dc326883d9 replace sortby with order by 2018-03-20 14:23:27 -07:00
ebb-tide 9a75df9b99 Add caret before field names 2018-03-20 14:22:47 -07:00
ebb-tide 9b1c7dfd52 Change cursor to pointer on hover over field names 2018-03-20 12:14:45 -07:00
Alex P d0ce60d8cb Remove more unused icons 2018-03-20 12:06:19 -07:00
Alex P 48e804b823 Add icons for use in user group notifications 2018-03-20 11:51:56 -07:00
ebb-tide f9339ee715 Add click to sort behavior to table 2018-03-20 11:33:28 -07:00
Alex P 8db52c95ff Remove icons that have not been used in a while 2018-03-20 11:33:15 -07:00
Alex P c02a37f01a Add eye open/closed icons for use in table column visibility feature 2018-03-20 11:25:06 -07:00
Alex P a98cc90fa3 Merge branch 'master' into moar-colors-n-stuff 2018-03-19 18:23:53 -07:00
Alex Paxton 1fdfb495f5
Merge pull request #3012 from influxdata/misc-polish
Misc. Polish
2018-03-19 18:21:30 -07:00
Iris Scholten bb57e6cca6 update and add tests for fixfirstcolumn logic 2018-03-19 18:20:17 -07:00
Iris Scholten 6bf9751560 fix hover/crosshair bug
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-19 17:10:27 -07:00
Jared Scheib 5fa6c7cd6a Remove unused UUID string validator & test 2018-03-19 17:04:43 -07:00
Jared Scheib 2358cce513 Find by component rather than component name in enzyme tests 2018-03-19 16:52:06 -07:00
Jared Scheib acedc0a0fc Prettier 2018-03-19 16:48:07 -07:00
Jared Scheib 7ac941cc75 Remove console logs & unused ChangeEvent prop 2018-03-19 16:43:59 -07:00
Jared Scheib 7fc696d995 Fix ui handlers & state sync for task enabled checkboxes
Refactor toggle checkbox & delete handlers to typed class
instance methods in KapacitorRulesTable & TasksTable, and
to use traditional, testable JavaScript syntax.

Remove curry in KapacitorRulesPage component methods to
successfully toggle & delete, in accordance with above
refactor.
2018-03-19 16:29:21 -07:00
Iris Scholten a6aac0c9ec add GraphOptionsFixFirstColumn component 2018-03-19 16:07:41 -07:00
Iris Scholten fed3eed5aa add fixFirstColumn to tableOptions 2018-03-19 16:07:41 -07:00
Iris Scholten 79d977fbea add fixFirstColumn to backend and tests 2018-03-19 15:56:31 -07:00
ebb-tide fb604a1570 PR review changes 2018-03-19 14:41:34 -07:00
ebb-tide ed446d62e1 Prettier changes 2018-03-19 14:38:21 -07:00
Alex P 38fa4e183f Polish alignment of providers table items 2018-03-19 12:14:32 -07:00
Alex P dd0dbe3fa0 Pass disabled prop directly into dropdown child components 2018-03-19 12:13:06 -07:00
ebb-tide 908d461856 More merge conflicts 2018-03-19 11:49:23 -07:00
Alex P 0946da63f8 Fix text wrapping on dashboard switcher menu 2018-03-19 11:47:33 -07:00
Alex P 46056d4e8d Ensure button remains visible when active beyond table row hover 2018-03-19 11:45:39 -07:00
Alex P 25594c9e8d Make delete user button more dangerous looking 2018-03-19 11:35:46 -07:00
ebb-tide cfedf82456 Fix merge conflicts 2018-03-19 11:35:12 -07:00
Alex P d4a2b3b023 Change copy to be more accurate
#2813
2018-03-19 11:30:19 -07:00
Alex P 3b8e663d94 Fix positioning of input tags with delete buttons 2018-03-19 11:28:58 -07:00
ebb-tide bf325fd742 Make unzipping data faster. 2018-03-19 11:15:05 -07:00
Brandon Farmer 4618cb9559 Fixes typescript compile type error 2018-03-18 19:31:35 -07:00
Brandon Farmer 9d4162c60b Add test from display value of selected 2018-03-18 18:17:33 -07:00
Jared Scheib 6feb258c64 Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-16 21:05:01 -07:00
Jared Scheib 711d52aa87 Convert TasksTable to working TypeScript 2018-03-16 20:55:02 -07:00
Jared Scheib 6b12bcb7cd Rename TasksTable.js to TasksTable.tsx 2018-03-16 20:49:46 -07:00
Jared Scheib 01931957ab Convert KapacitorRulesTable to working TypeScript 2018-03-16 19:23:28 -07:00
Jared Scheib 07ba4e7590 Rename KapacitorRulesTable.js to KapacitorRulesTable.tsx 2018-03-16 19:23:03 -07:00
ebb-tide ef04bbc186 Fix column index finder 2018-03-16 19:03:46 -07:00
ebb-tide c988066e77 Include table options in new default dashboard cell 2018-03-16 18:52:30 -07:00
Jared Scheib cba56b7920 Add & clean up many Kapacitor-related TypeScript types for RulesTable 2018-03-16 18:41:48 -07:00
ebb-tide 8730ba45b1 Find time data in proper row or col 2018-03-16 18:31:43 -07:00
Brandon Farmer 68151dd92e Disable table graphs in ui 2018-03-16 17:56:15 -07:00
Brandon Farmer e1979c7675 Import PropTypes from prop-types module 2018-03-16 17:52:25 -07:00
Brandon Farmer 1c08717148 Sort table graphs in cell editor overlay 2018-03-16 17:46:45 -07:00
ebb-tide b64522d335 Calculate hoverTimeIndex instead of row 2018-03-16 17:16:19 -07:00
ebb-tide 2c60b4d9a5 Implement flip data array 2018-03-16 17:01:47 -07:00
Jared Scheib 2b7f4f5208 Make TasksTable 'id' & 'for' html props unique 2018-03-16 16:17:25 -07:00
Jared Scheib 3f7674199f Make KapacitorRulesTable 'id' & 'for' html props unique 2018-03-16 16:16:37 -07:00
ebb-tide b7a40264e9 resolve merge conflicts 2018-03-16 16:06:55 -07:00
Jared Scheib a1a40ddc01 Add failing test for KapacitorRules renders both tables rows with unique label FORs 2018-03-16 16:04:04 -07:00
Jared Scheib 4080c31e93 Add failing test for KapacitorRules renders both tables with unique checkbox IDs 2018-03-16 16:03:20 -07:00
Jared Scheib 68a0716bfc Add more kapacitor rules test data 2018-03-16 14:37:03 -07:00
Jared Scheib 60897b8bc2 Revert "Test KapacitorRulesTable tr keys to be UUIDv4"
This reverts commit 841ae1e60c.
2018-03-16 14:18:57 -07:00
Jared Scheib 64ee38bf9d Revert "Fix KapacitorRulesTable to use UUIDv4 for tr keys"
This reverts commit 8e3ca25795.
2018-03-16 14:18:16 -07:00
Alex Paxton 0587c94345
Merge pull request #2993 from influxdata/feature/table-thresholds
Add Color Thresholds to Table Graphs
2018-03-16 12:44:20 -07:00
Alex P da0b568877 Use UUID to ensure unique keys 2018-03-16 12:28:53 -07:00
Alex P 364b863257 Rename constant to be consistent 2018-03-16 10:54:06 -07:00
Andrew Watkins 458475243e
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 91950f2ef7 Merge branch 'master' into feature/table-thresholds 2018-03-16 10:51:14 -07:00
Alex P 5b2ec2687f Prefix moar imports with src/ 2018-03-16 10:44:11 -07:00
Alex P 7434b02208 Pass colors prop into MultiGrid to cause re-renders more often 2018-03-16 10:42:12 -07:00
Alex P 41dc4bd811 get variable from props
No need to preserve its original name as an available variable
2018-03-16 10:37:56 -07:00
Alex P 5d9977d7df Rename constant to be consistent 2018-03-16 10:37:22 -07:00
Alex P 5b383dd122 Remove unused files
These were placeholders
2018-03-16 10:33:00 -07:00
Alex P fccf4951e5 prefix import with src/ 2018-03-16 10:30:26 -07:00
Alex P 2b8703ba84 Import constant instead of defining twice 2018-03-16 10:30:19 -07:00
Alex P af758c3dc2 Condense switch statement cases 2018-03-16 10:28:16 -07:00
Alex P 722be3d16f Add /src/ prefix to imports 2018-03-16 10:26:11 -07:00
Andrew Watkins 45248595df Add types to instance methods 2018-03-16 09:58:10 -07:00
Andrew Watkins 9aa54f875e Convert AllUsersPage to TypeScript 2018-03-16 09:31:37 -07:00
Andrew Watkins 37f3043dee Introduce AllUsersPage test 2018-03-15 16:44:18 -07:00
Iris Scholten a0f53f5b23
Merge pull request #2996 from influxdata/feature/table-graph-series-renaming
Table Graph Series/Column renaming
2018-03-15 16:27:47 -07:00
Andrew Watkins 22b8069942 Fix import of notifications 2018-03-15 11:48:12 -07:00
Iris Scholten fbdeaee42d update constructing column names 2018-03-15 11:19:24 -07:00
Andrew Watkins c1a3eed685 Remove PropTypes 2018-03-15 10:11:59 -07:00
Alex P 111f2c5fc9 Add new prop to test 2018-03-14 22:26:23 -07:00
Alex P 29c0f461a1 Remove excess margin in form blocks 2018-03-14 22:17:46 -07:00
Alex P 7d9792ade0 Add margin above thresholds list if not first item in controls panel 2018-03-14 22:13:27 -07:00
Alex P 0ad9d15bc3 rename singleStatColors to thresholdsListColors 2018-03-14 22:08:26 -07:00
Alex P 29fd0cdcd0 Remove console.log 2018-03-14 22:02:58 -07:00
Alex P 1d7f51f4d7 Render table cells according to thresholds 2018-03-14 22:01:41 -07:00
Alex P 9b48f26c66 Remove debugger 2018-03-14 21:30:10 -07:00
Alex P 7c692e2f23 Fix cell editor save for table colors 2018-03-14 21:29:53 -07:00
Alex P 8078362856 Rename single stat constants to match thresholds naming scheme 2018-03-14 21:20:22 -07:00
Alex P 7a583b1567 rename singleStatType to thresholdsListType
going for a more generic and future proof naming scheme
2018-03-14 21:13:20 -07:00
Alex P 72b9279336 Use ThresholdsColorToggle in TableOptions 2018-03-14 21:02:13 -07:00
Alex P 47a66d2ae0 Update table options test 2018-03-14 20:57:55 -07:00
Alex P f26be90fce Use ThresholdsList in TableOptions and remove unused props and handlers 2018-03-14 20:55:27 -07:00
Alex P fe3152ae6a Add optional heading to thresholds list 2018-03-14 20:44:39 -07:00
Alex P cf5bb6c8d3 Fix broken file references 2018-03-14 20:42:14 -07:00
Alex P 9201bb1de4 Merge branch 'master' into feature/table-thresholds 2018-03-14 20:38:56 -07:00
ebb-tide 32bc797f67 Add timeAxis toggle to tableOptions 2018-03-14 19:03:03 -07:00
Jared Scheib 8e3ca25795 Fix KapacitorRulesTable to use UUIDv4 for tr keys 2018-03-14 18:45:13 -07:00
Jared Scheib 841ae1e60c Test KapacitorRulesTable tr keys to be UUIDv4 2018-03-14 18:44:51 -07:00
Jared Scheib fd58c0cb5a Add string validator & tests for UUIDv4 2018-03-14 18:31:09 -07:00
Iris Scholten a7e820f038 fix typo in CustomizeColumns test 2018-03-14 18:21:53 -07:00
Iris Scholten 9d9525e821 create component test for GraphOptionsCustomizeColumns 2018-03-14 18:17:32 -07:00
Iris Scholten 5f13493e9b convert GraphOptionsCustomizeColumns to typescript 2018-03-14 18:03:31 -07:00
Iris Scholten cc7422ad93 update columnNames in the redux store and connect them to TableGraphs 2018-03-14 17:46:42 -07:00
Andrew Watkins dc8902c62a Add insecureSkipVerify to default kapacitor 2018-03-14 17:23:34 -07:00
Andrew Watkins 608c81b3f5 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 6931f5ece6 WIP 2018-03-14 17:23:34 -07:00
Brandon Farmer 42c03de005 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 2d08ed0f94 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 b71faa7a37 Remove unused jest in Kapacitor tests 2018-03-14 17:18:29 -07:00
Jared Scheib 2d13bc23c3 Add initial enzyme test for component KapacitorRulesTable render 2018-03-14 17:17:16 -07:00
Jared Scheib fc4b58be89 Add initial enzyme test for component TasksTable render 2018-03-14 17:16:11 -07:00
Jared Scheib 7b729697ad Clean up 2018-03-14 16:53:58 -07:00
Jared Scheib 9f1a7963f4 Remove unused jest.mock 2018-03-14 16:51:33 -07:00
Jared Scheib d42852f8b9 Remove unused override var 2018-03-14 16:50:24 -07:00
Jared Scheib 311a196afe Remove unused imports 2018-03-14 16:48:15 -07:00
Jared Scheib 4986159c87 Split KapacitorRules render test into two tests 2018-03-14 16:46:40 -07:00
Jared Scheib ebd33f0a5d Test KapacitorRules to render KapacitorRulesTable & TasksTable 2018-03-14 16:32:23 -07:00
Jared Scheib 7fccddfcb4 Test KapacitorRules to render two tables 2018-03-14 16:17:00 -07:00
Jared Scheib 6f6e5136d5 Add initial passing enzyme test for KapacitorRules render 2018-03-14 16:06:34 -07:00