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
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