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
Deniz Kusefoglu
32acc3cc09
Merge pull request #3032 from influxdata/fix-linter-errors
...
Fix linter errors in some tsx files
2018-03-22 11:49:46 -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
Alex P
ef3ad17756
Reduce firing of calculateTimeColumnWidth for smoother rendering
2018-03-21 18:09:19 -07:00
Iris Scholten
17375b232f
fix linter errors
2018-03-21 17:58:03 -07:00
Alex P
ba95386e6d
Prevent time column from truncating text when time axis is vertical
2018-03-21 17:55:55 -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
8e7c0a95ac
Merge pull request #3028 from influxdata/tslint
...
tslint: click now to learn one weird trick - other formatters hate him
2018-03-21 17:33:32 -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
Brandon Farmer
bc45c5adda
Merge pull request #3025 from influxdata/eslint-prettier-update
...
Eslint prettier update
2018-03-21 15:01:28 -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
Alex P
7810b5c8df
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-21 14:10: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
Alex P
88e493928a
Polish table sorting interaction
2018-03-21 11:24:25 -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 Paxton
5aa9b3c665
Merge pull request #3024 from influxdata/style/table-polish
...
Polish Table Styles
2018-03-21 10:41:42 -07:00
Alex P
23c8bdf63f
Remove alt attribute from each cell
2018-03-21 10:27:19 -07:00