Andrew Watkins
0f18b85501
Add path to config file
2018-03-22 14:51:25 -07:00
Andrew Watkins
04d2177fd2
Simplify webpack output
2018-03-22 14:50:55 -07:00
Andrew Watkins
5f8c57e2d6
Remove unused variables
2018-03-22 14:50:05 -07:00
Andrew Watkins
4f5f42f285
Fix typo for ordered imports
2018-03-22 14:47:57 -07:00
Andrew Watkins
fb8501632a
Add progress to dev build
2018-03-22 14:47:39 -07:00
Alex P
42addb77fa
Merge branch 'master' into style/table-sort
2018-03-22 14:40:11 -07:00
Alex P
c605edebab
Fix linter error
2018-03-22 14:27:27 -07:00
Andrew Watkins
d8cfb7fa35
Remove console log experiment
2018-03-22 14:25:12 -07:00
Andrew Watkins
8445b5516e
WIP emit errors tslint
2018-03-22 14:25:12 -07:00
Alex P
f7eb3e9681
Merge branch 'master' into style/table-thresholds-polish
2018-03-22 14:17:55 -07:00
Alex P
0a8ac81c02
Merge branch 'master' into style/table-thresholds-polish
2018-03-22 14:17:26 -07:00
Deniz Kusefoglu
a8593aa36e
Merge pull request #3035 from influxdata/fix-tslint.json
...
Update sorting rules
2018-03-22 14:16:07 -07:00
Jared Scheib
e4088ce61a
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-22 14:08:45 -07:00
ebb-tide
99fc7a0773
Fix updating sorting rules
2018-03-22 13:54:47 -07:00
Alex P
ea8453bf62
Reduce firing of calculateTimeColumnWidth for smoother rendering
2018-03-22 13:54:23 -07:00
Alex P
7a2a00f72a
Prevent time column from truncating text when time axis is vertical
2018-03-22 13:54:23 -07:00
Alex P
c5bce2ae7f
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
e999214e15
Update sorting rules
2018-03-22 13:51:28 -07:00
Alex P
85fd497097
Polish table sorting interaction
2018-03-22 13:46: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
3fecf9770f
remove GraphOptionsCustomizableColumn
2018-03-22 12:43:41 -07:00
ebb-tide
b66047bd8f
Fix merge generated errors
2018-03-22 12:25:33 -07:00
ebb-tide
db0833fe1e
Merge branch 'master' into feature/table-hide-series
2018-03-22 12:13:50 -07:00
ebb-tide
29e31cb048
Fix linter errors in sometsx files
2018-03-22 11:29:30 -07:00
Iris Scholten
7f1b686bd3
remove extra paren
2018-03-22 10:01:29 -07:00
Iris Scholten
01c622f4ca
fix parentheses error
2018-03-22 09:35:23 -07:00
Iris Scholten
649f221b34
Merge branch 'master' into feature/table-hide-series
2018-03-21 18:31:39 -07:00
Iris Scholten
17375b232f
fix linter errors
2018-03-21 17:58:03 -07:00
Iris Scholten
bff0686c81
refactor cellRenderer and render in TableGraph
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 17:49:52 -07:00
Andrew Watkins
bba6cd4012
Prettier fixes
2018-03-21 16:59:15 -07:00
Iris Scholten
0662be31b3
fix error when adding query after choosing cell
2018-03-21 16:57:55 -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
Iris Scholten
2325b36947
fix react-virtualized error when flipping axes with one visible field and fixFirstColumn true
2018-03-21 16:42:00 -07:00
Iris Scholten
feffaf417c
remove QueryConfig interface from tableOptions
2018-03-21 16:15:21 -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
0cd7d1718a
Add tslint-loader
2018-03-21 16:12:42 -07:00
Andrew Watkins
7373931257
Fix linting errors
2018-03-21 16:12:42 -07:00
Andrew Watkins
305b9908c2
WIP Introduction of tslint
2018-03-21 16:12:42 -07:00
Iris Scholten
f57b699fc3
add tableOptions shape in proptypes to TableGraph
2018-03-21 16:09:15 -07:00
Iris Scholten
86e412dbaf
remove text wrapping
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 15:54:19 -07:00
Iris Scholten
d9b3b8b57c
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
28639fc4b9
fix tooltip custom time format bug
2018-03-21 14:54:09 -07:00
Iris Scholten
af513a75f7
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
4dd1cc7418
Run eslint to fix issues
2018-03-21 14:41:18 -07:00
Iris Scholten
adc33b20bf
remove console log
2018-03-21 14:26:58 -07:00
Iris Scholten
2451891788
fix hovertime issue in tableGraphs
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 14:25:48 -07:00
Brandon Farmer
ca7c72c695
Fix bound functions in render methods
2018-03-21 13:59:01 -07:00
Brandon Farmer
bef335df14
Update .eslintrc to comply with prettier
2018-03-21 13:44:15 -07:00
Andrew Watkins
96e6b0e7e0
Change .eslintrc to proper json
2018-03-21 13:42:16 -07:00
Brandon Farmer
2ecbc218db
Upgrade prettier to 1.11.1
2018-03-21 13:41:48 -07:00
Jared Scheib
90e0aa1a01
Get rows & props for testing of KapacitorRulesTable & TasksTable
2018-03-21 13:14:52 -07:00
Iris Scholten
784d9b8945
update processData functionality in tableGraph
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 12:49:02 -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
Iris Scholten
2b36a282e5
fix hiding columns when vertically flipped
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-21 11:24:06 -07:00
Iris Scholten
1aa538e9f7
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
46f12dc401
WIP add partial functionality for hiding columns/rows
2018-03-21 10:44:23 -07:00
Alex P
23c8bdf63f
Remove alt attribute from each cell
2018-03-21 10:27:19 -07:00
ebb-tide
8f2f08b85b
Pull isEmpty from lodash
2018-03-20 21:57:15 -07:00
ebb-tide
f8cf8155a2
Make sorting sane
2018-03-20 21:42:52 -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
cf71113d4f
Move PageContents from KapacitorRules to KapacitorRulesPage
2018-03-20 20:12:43 -07:00
Alex P
016baab47b
Merge branch 'master' into style/table-polish
2018-03-20 20:10:34 -07:00
ebb-tide
f87c380b22
set null row and column to null array index
2018-03-20 20:03:12 -07:00
Jared Scheib
ebc7bb7f6b
Remove unused KapacitorTasksPage container from project
2018-03-20 19:57:08 -07:00
Alex P
841804ee87
Fix errors
2018-03-20 19:31:35 -07:00
Alex P
d6628b5fad
Fix rendering of thresholds list when header is false
2018-03-20 19:23:59 -07:00
Alex P
81003993c9
Polish table highlighting styles
2018-03-20 19:14:47 -07:00
Alex P
95d6e3c738
Make time format dropdown consistent with other graph options
2018-03-20 19:07:03 -07:00
Iris Scholten
59f05bb84c
fix time formattin bug
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-20 18:54:35 -07:00
Alex P
582ec608e4
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
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
Alex P
1da2fae1db
Truncate overflow with ellipsis
2018-03-20 18:39:21 -07:00
Alex P
eeeea94813
Set more reasonable min and max widths for column sizer
2018-03-20 18:39:03 -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
Alex P
7c12977834
Implement columnSizer
...
This HOC sizes the columns to fit available space
2018-03-20 18:24:01 -07:00
Alex P
df8f2b2e58
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
599b5718dc
rebase branch to master
2018-03-20 17:30:00 -07:00
Iris Scholten
25ab47c689
WIP get labels from tableGraph instead of building them in tableOptions
2018-03-20 17:24:34 -07:00
Iris Scholten
668cf2175f
update tableoptions.test with visible
2018-03-20 17:24:34 -07:00
Iris Scholten
11d872f16e
rebase to master and fix bugs
2018-03-20 17:24:34 -07:00
Iris Scholten
fe47c67244
add scrolling to customizeFields when there are a lot of them in CEO options
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
Deniz Kusefoglu
5a40bdcbe3
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
03e884e2d6
update GraphOptionsCustomizableColumn.test with visible prop and toggling it
2018-03-20 17:08:56 -07:00
Iris Scholten
d3198f2e45
add filtering out invisible rows for horizontal time axis
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
Iris Scholten
d23eb9337b
introduce visible as prop to CustomizableColumns and remove duplicate constants
2018-03-20 17:03:24 -07:00
ebb-tide
bcf3cd4438
Merge branch 'master' into feature/table-graph-sort-from-graph
2018-03-20 17:03:23 -07:00
ebb-tide
bbadf29b39
Switch default sorting direction
2018-03-20 16:44:39 -07:00
ebb-tide
f014f9670b
refer to ascending/descending instead of defaults
2018-03-20 16:29: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