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
Alex P
8c68dcd3f8
Merge remote-tracking branch 'origin/style/table-sort' into style/table-sort
2018-03-22 13:51:52 -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
Deniz Kusefoglu
9cfaa2e4a9
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
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
Alex P
29026e4ae6
Reduce firing of calculateTimeColumnWidth for smoother rendering
2018-03-21 18:09:19 -07:00
Iris Scholten
edaff0be3b
fix linter errors
2018-03-21 17:58:03 -07:00
Alex P
bda3a774d9
Prevent time column from truncating text when time axis is vertical
2018-03-21 17:55:55 -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
599a93fd9b
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
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
Brandon Farmer
a4938b68f1
Merge pull request #3025 from influxdata/eslint-prettier-update
...
Eslint prettier update
2018-03-21 15:01:28 -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
Alex P
3697cf7ad7
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
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