Commit Graph

5444 Commits (80ed25ce2eaf9a15e25b436fd06ce2df573dc7fc)

Author SHA1 Message Date
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 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