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
ebb-tide
c1ee8f1535
Run sorting at component mount
2018-03-20 16:17:39 -07:00
Alex P
9aa2ee40b6
Style FFC checkbox
2018-03-20 16:17:35 -07:00
ebb-tide
4a1826b2ac
Prevent unnecessary unzipping of data
2018-03-20 15:52:12 -07:00
ebb-tide
08628e2fe4
Correctly camel case var names
2018-03-20 15:26:41 -07:00
Iris Scholten
fc11c83342
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
b5d757ecb5
replace sortby with order by
2018-03-20 14:23:27 -07:00
ebb-tide
de199f8a69
Add caret before field names
2018-03-20 14:22:47 -07:00
ebb-tide
284d93eb74
Change cursor to pointer on hover over field names
2018-03-20 12:14:45 -07:00
Alex P
8316f383d5
Remove more unused icons
2018-03-20 12:06:19 -07:00
Alex P
3bedefb486
Add icons for use in user group notifications
2018-03-20 11:51:56 -07:00
ebb-tide
7d988ef80e
Add click to sort behavior to table
2018-03-20 11:33:28 -07:00
Alex P
663bef4dc5
Remove icons that have not been used in a while
2018-03-20 11:33:15 -07:00
Alex P
9fb0cd0237
Add eye open/closed icons for use in table column visibility feature
2018-03-20 11:25:06 -07:00
Alex Paxton
7fa7a89d17
Merge pull request #3012 from influxdata/misc-polish
...
Misc. Polish
2018-03-19 18:21:30 -07:00
Iris Scholten
50e0cb12ef
update and add tests for fixfirstcolumn logic
2018-03-19 18:20:17 -07:00
Iris Scholten
fe934184b2
fix hover/crosshair bug
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-19 17:10:27 -07:00
Jared Scheib
6002526fd6
Remove unused UUID string validator & test
2018-03-19 17:04:43 -07:00
Jared Scheib
2b026d8660
Find by component rather than component name in enzyme tests
2018-03-19 16:52:06 -07:00
Jared Scheib
74f2fe94bb
Prettier
2018-03-19 16:48:07 -07:00
Jared Scheib
3566de2a6a
Remove console logs & unused ChangeEvent prop
2018-03-19 16:43:59 -07:00
Jared Scheib
0c38201006
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
5536e900db
add GraphOptionsFixFirstColumn component
2018-03-19 16:07:41 -07:00
Iris Scholten
60f21c68a4
add fixFirstColumn to tableOptions
2018-03-19 16:07:41 -07:00
Iris Scholten
a985250030
add fixFirstColumn to backend and tests
2018-03-19 15:56:31 -07:00
ebb-tide
29cce64b40
PR review changes
2018-03-19 14:41:34 -07:00
ebb-tide
bbd260be07
Prettier changes
2018-03-19 14:38:21 -07:00
Alex P
ed545de94b
Polish alignment of providers table items
2018-03-19 12:14:32 -07:00
Alex P
85c9ea6d8a
Pass disabled prop directly into dropdown child components
2018-03-19 12:13:06 -07:00
ebb-tide
55a0e1119f
More merge conflicts
2018-03-19 11:49:23 -07:00
Alex P
8bdb1625a1
Fix text wrapping on dashboard switcher menu
2018-03-19 11:47:33 -07:00
Alex P
7b2e625b96
Ensure button remains visible when active beyond table row hover
2018-03-19 11:45:39 -07:00
Alex P
88d3f8ca37
Make delete user button more dangerous looking
2018-03-19 11:35:46 -07:00
ebb-tide
e777e354dc
Fix merge conflicts
2018-03-19 11:35:12 -07:00
Alex P
84bf93fd51
Change copy to be more accurate
...
#2813
2018-03-19 11:30:19 -07:00
Alex P
338ede229b
Fix positioning of input tags with delete buttons
2018-03-19 11:28:58 -07:00
ebb-tide
d9e3d0499d
Make unzipping data faster.
2018-03-19 11:15:05 -07:00
Brandon Farmer
e4105a39b1
Fixes typescript compile type error
2018-03-18 19:31:35 -07:00
Brandon Farmer
09cebf7000
Add test from display value of selected
2018-03-18 18:17:33 -07:00
Jared Scheib
9e9f566996
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-16 21:05:01 -07:00
Jared Scheib
a70e3edc3a
Convert TasksTable to working TypeScript
2018-03-16 20:55:02 -07:00
Jared Scheib
46edda85b6
Rename TasksTable.js to TasksTable.tsx
2018-03-16 20:49:46 -07:00
Jared Scheib
13ee90db99
Convert KapacitorRulesTable to working TypeScript
2018-03-16 19:23:28 -07:00
Jared Scheib
207a645aa1
Rename KapacitorRulesTable.js to KapacitorRulesTable.tsx
2018-03-16 19:23:03 -07:00
ebb-tide
5102dac3c2
Fix column index finder
2018-03-16 19:03:46 -07:00
ebb-tide
c73a7f68dd
Include table options in new default dashboard cell
2018-03-16 18:52:30 -07:00
Jared Scheib
322470ffae
Add & clean up many Kapacitor-related TypeScript types for RulesTable
2018-03-16 18:41:48 -07:00
ebb-tide
277bbf2d37
Find time data in proper row or col
2018-03-16 18:31:43 -07:00
Brandon Farmer
030ae4d867
Disable table graphs in ui
2018-03-16 17:56:15 -07:00
Brandon Farmer
46027b12ad
Import PropTypes from prop-types module
2018-03-16 17:52:25 -07:00
Brandon Farmer
19d7dc35ed
Sort table graphs in cell editor overlay
2018-03-16 17:46:45 -07:00
ebb-tide
144fca0b59
Calculate hoverTimeIndex instead of row
2018-03-16 17:16:19 -07:00
ebb-tide
4142def2e1
Implement flip data array
2018-03-16 17:01:47 -07:00
Jared Scheib
7acae388f6
Make TasksTable 'id' & 'for' html props unique
2018-03-16 16:17:25 -07:00
Jared Scheib
dcc05ee382
Make KapacitorRulesTable 'id' & 'for' html props unique
2018-03-16 16:16:37 -07:00
ebb-tide
b0c6346e81
resolve merge conflicts
2018-03-16 16:06:55 -07:00
Jared Scheib
4ed4be638d
Add failing test for KapacitorRules renders both tables rows with unique label FORs
2018-03-16 16:04:04 -07:00
Jared Scheib
eeda415eb7
Add failing test for KapacitorRules renders both tables with unique checkbox IDs
2018-03-16 16:03:20 -07:00
Jared Scheib
9cfac3450c
Add more kapacitor rules test data
2018-03-16 14:37:03 -07:00
Jared Scheib
54266c094a
Revert "Test KapacitorRulesTable tr keys to be UUIDv4"
...
This reverts commit bd6674859c
.
2018-03-16 14:18:57 -07:00
Jared Scheib
12f45e6c6c
Revert "Fix KapacitorRulesTable to use UUIDv4 for tr keys"
...
This reverts commit f7dbdb8a33
.
2018-03-16 14:18:16 -07:00
Alex Paxton
e36ed6c17d
Merge pull request #2993 from influxdata/feature/table-thresholds
...
Add Color Thresholds to Table Graphs
2018-03-16 12:44:20 -07:00
Alex P
0699084e96
Use UUID to ensure unique keys
2018-03-16 12:28:53 -07:00
Alex P
00a46ee4ea
Rename constant to be consistent
2018-03-16 10:54:06 -07:00
Andrew Watkins
49936b0add
Merge pull request #3001 from influxdata/chore/chronograf-admin-ts
...
Conversion of AllUsersPage to TypeScript add initial test
2018-03-16 10:52:02 -07:00
Alex P
ee40e69c09
Merge branch 'master' into feature/table-thresholds
2018-03-16 10:51:14 -07:00
Alex P
c79b419981
Prefix moar imports with src/
2018-03-16 10:44:11 -07:00
Alex P
bb11ef21fc
Pass colors prop into MultiGrid to cause re-renders more often
2018-03-16 10:42:12 -07:00
Alex P
208e9edced
get variable from props
...
No need to preserve its original name as an available variable
2018-03-16 10:37:56 -07:00
Alex P
c78261fbb9
Rename constant to be consistent
2018-03-16 10:37:22 -07:00
Alex P
5a90cdb810
Remove unused files
...
These were placeholders
2018-03-16 10:33:00 -07:00
Alex P
1ac2d037c2
prefix import with src/
2018-03-16 10:30:26 -07:00
Alex P
912811d4ca
Import constant instead of defining twice
2018-03-16 10:30:19 -07:00
Alex P
08c933bfbe
Condense switch statement cases
2018-03-16 10:28:16 -07:00
Alex P
c23393a5f1
Add /src/ prefix to imports
2018-03-16 10:26:11 -07:00
Andrew Watkins
b3ae34bec4
Add types to instance methods
2018-03-16 09:58:10 -07:00
Andrew Watkins
5b2bcab37e
Convert AllUsersPage to TypeScript
2018-03-16 09:31:37 -07:00
Andrew Watkins
dd9cf88aab
Introduce AllUsersPage test
2018-03-15 16:44:18 -07:00
Iris Scholten
27168d8c14
Merge pull request #2996 from influxdata/feature/table-graph-series-renaming
...
Table Graph Series/Column renaming
2018-03-15 16:27:47 -07:00
Andrew Watkins
91296e9171
Fix import of notifications
2018-03-15 11:48:12 -07:00
Iris Scholten
c5a51b3e14
update constructing column names
2018-03-15 11:19:24 -07:00
Andrew Watkins
4dd8a27ab0
Remove PropTypes
2018-03-15 10:11:59 -07:00
Alex P
03a0149fb0
Add new prop to test
2018-03-14 22:26:23 -07:00
Alex P
a6ebe44e94
Remove excess margin in form blocks
2018-03-14 22:17:46 -07:00
Alex P
fc99d507f0
Add margin above thresholds list if not first item in controls panel
2018-03-14 22:13:27 -07:00
Alex P
886d640434
rename singleStatColors to thresholdsListColors
2018-03-14 22:08:26 -07:00
Alex P
661a5f5b2e
Remove console.log
2018-03-14 22:02:58 -07:00
Alex P
4c556ead3e
Render table cells according to thresholds
2018-03-14 22:01:41 -07:00
Alex P
e52db35821
Remove debugger
2018-03-14 21:30:10 -07:00
Alex P
35f1be9c12
Fix cell editor save for table colors
2018-03-14 21:29:53 -07:00
Alex P
b9858a73b9
Rename single stat constants to match thresholds naming scheme
2018-03-14 21:20:22 -07:00
Alex P
72ccbc1d2f
rename singleStatType to thresholdsListType
...
going for a more generic and future proof naming scheme
2018-03-14 21:13:20 -07:00
Alex P
904a9f7ee3
Use ThresholdsColorToggle in TableOptions
2018-03-14 21:02:13 -07:00
Alex P
104b886b2a
Update table options test
2018-03-14 20:57:55 -07:00
Alex P
0b5aade24f
Use ThresholdsList in TableOptions and remove unused props and handlers
2018-03-14 20:55:27 -07:00
Alex P
dc1d51a524
Add optional heading to thresholds list
2018-03-14 20:44:39 -07:00
Alex P
0678e6de25
Fix broken file references
2018-03-14 20:42:14 -07:00
Alex P
4405d0801e
Merge branch 'master' into feature/table-thresholds
2018-03-14 20:38:56 -07:00
ebb-tide
6974f5ab47
Add timeAxis toggle to tableOptions
2018-03-14 19:03:03 -07:00
Jared Scheib
f7dbdb8a33
Fix KapacitorRulesTable to use UUIDv4 for tr keys
2018-03-14 18:45:13 -07:00
Jared Scheib
bd6674859c
Test KapacitorRulesTable tr keys to be UUIDv4
2018-03-14 18:44:51 -07:00
Jared Scheib
a81fa3c01e
Add string validator & tests for UUIDv4
2018-03-14 18:31:09 -07:00
Iris Scholten
cab2515d53
fix typo in CustomizeColumns test
2018-03-14 18:21:53 -07:00
Iris Scholten
2c7c1e7c4e
create component test for GraphOptionsCustomizeColumns
2018-03-14 18:17:32 -07:00
Iris Scholten
cc668fea8f
convert GraphOptionsCustomizeColumns to typescript
2018-03-14 18:03:31 -07:00
Iris Scholten
f767340101
update columnNames in the redux store and connect them to TableGraphs
2018-03-14 17:46:42 -07:00
Andrew Watkins
0e57c8f2eb
Add insecureSkipVerify to default kapacitor
2018-03-14 17:23:34 -07:00
Andrew Watkins
dd05f33ce3
Add test for updateKapacitor
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-14 17:23:34 -07:00
Brandon Farmer
f404eb572c
WIP
2018-03-14 17:23:34 -07:00
Brandon Farmer
3e658bd44f
Send insecure verify skip on kapacitor create
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-14 17:23:34 -07:00
Brandon Farmer
6fe1f9f5fe
Allow users to use insecure skip verify on kapacitor
...
Co-authored-by: Brandon Farmer<bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-14 17:23:34 -07:00
Jared Scheib
a4cf6276f5
Remove unused jest in Kapacitor tests
2018-03-14 17:18:29 -07:00
Jared Scheib
81e2551053
Add initial enzyme test for component KapacitorRulesTable render
2018-03-14 17:17:16 -07:00
Jared Scheib
13da9bec6f
Add initial enzyme test for component TasksTable render
2018-03-14 17:16:11 -07:00
Jared Scheib
7f493204db
Clean up
2018-03-14 16:53:58 -07:00
Jared Scheib
90ac8ad8db
Remove unused jest.mock
2018-03-14 16:51:33 -07:00
Jared Scheib
ab360fa1f8
Remove unused override var
2018-03-14 16:50:24 -07:00
Jared Scheib
beaa186586
Remove unused imports
2018-03-14 16:48:15 -07:00
Jared Scheib
568ca6b5ed
Split KapacitorRules render test into two tests
2018-03-14 16:46:40 -07:00
Jared Scheib
d9002cf557
Test KapacitorRules to render KapacitorRulesTable & TasksTable
2018-03-14 16:32:23 -07:00
Jared Scheib
e0111010c7
Test KapacitorRules to render two tables
2018-03-14 16:17:00 -07:00
Jared Scheib
afa0acb63e
Add initial passing enzyme test for KapacitorRules render
2018-03-14 16:06:34 -07:00
Iris Scholten
c36519910b
Merge branch 'master' into feature/table-graph-series-renaming
2018-03-14 16:00:11 -07:00
Iris Scholten
88a2007ab1
fix table graph time format custom option
2018-03-14 15:48:49 -07:00
Alex Paxton
142f4ec294
Merge pull request #2910 from influxdata/polish-notifications
...
Redesign & Refactor Notifications
2018-03-14 15:37:38 -07:00
Iris Scholten
755f48c14b
WIP get queries for columnNames in table optoins
2018-03-14 15:28:53 -07:00
Andrew Watkins
a7859951dd
Change publishNotification to notify
2018-03-14 15:26:09 -07:00
Brandon Farmer
3cd154655d
Disable table graph for now
2018-03-14 15:20:27 -07:00
Brandon Farmer
88ff078342
Make query configs available in table options on visualization tab
2018-03-14 15:14:00 -07:00
Andrew Watkins
07da5a3e57
Remove HEAD file
2018-03-14 15:03:44 -07:00
Andrew Watkins
36e69a47f6
Cleanup errors
2018-03-14 14:49:01 -07:00
Andrew Watkins
7d96d2baaf
Cleanup
2018-03-14 12:33:23 -07:00
Alex P
606790cb20
Move notifications test to proper directory and rename
2018-03-14 11:23:21 -07:00
Alex P
aec8134723
Fix typo
2018-03-14 11:23:21 -07:00
Alex P
f8f2cc8011
Clean up notifications reducer
2018-03-14 11:23:21 -07:00
Alex P
6ca40ea361
Clean up notifications test
2018-03-14 11:23:21 -07:00
Alex P
28253f820e
Flatten notifications copy, use screaming snake for all items, and make names more descriptive
2018-03-14 11:23:21 -07:00
Alex P
cff88302a8
Rename constants without "copy" suffix
2018-03-14 11:23:21 -07:00
Alex P
020b53ec5e
Use constants for repeated notification durations
2018-03-14 11:18:52 -07:00
Alex P
e0216ccbea
Ensure new version notification has infinite duration
2018-03-14 11:17:02 -07:00
Alex P
6cdfc7c196
Centralize notifications copy into single file
...
Refining some of the copy along the way:
- All messages end with a .
- More consistent word order
- Referring to sources as connections
- Referring to kap configs as connections
2018-03-14 11:15:54 -07:00
Alex P
f1eb382a5b
Introduce centralized location for notifications copy
2018-03-14 11:08:17 -07:00
Alex P
9dbb4cb9e0
Rename 'danger' to 'error' to be more semantic
2018-03-14 11:05:57 -07:00
Alex P
5f5dfe2f15
Reposition notification center when in presentation mode
2018-03-14 10:59:52 -07:00
Alex P
59fb31a1ba
Remove notification shape transformer
2018-03-14 10:59:52 -07:00
Alex P
a1f540e131
Replace addFlashMessage with publishNotification
...
Also refactoring App.js into a SFC
2018-03-14 10:51:37 -07:00
Alex P
489f62b7cb
Transform old notification payload shape into new shape
...
Will eventually have to refactor, but this makes it backwards
compatible for now
2018-03-14 10:48:54 -07:00
Alex P
d098bb0bd4
Discard distinction between dismiss and delete in favor of dismiss
...
Also removing the created timestamp as that isn’t being used for
anything
2018-03-14 10:47:07 -07:00
Alex P
13e437f510
WIP commit
2018-03-14 10:44:29 -07:00
Alex P
e28269c99a
Rename alerts to "Notifications" and factor out Flash Messages
2018-03-14 10:42:06 -07:00
Alex P
e76938d046
WIP Refactor Notifications
...
Most of the pieces are there, still figuring out how the automatic
dismissing is going to be handled
2018-03-14 10:40:03 -07:00
Alex P
967122b56c
WIP Write reducer test for notifications
2018-03-14 10:36:40 -07:00
Alex P
3758124ed1
Fix appearance of notification dismiss button
2018-03-14 10:34:22 -07:00
Alex P
ef7f95f306
WIP replace addFlashMessage with publishNotification
2018-03-14 10:31:03 -07:00
Alex P
40bdd63778
Move notifications test to proper directory and rename
2018-03-14 10:31:03 -07:00
Alex P
840121b2a8
Clean up code
2018-03-14 10:31:02 -07:00
Alex P
55aab520a9
Fix typo
2018-03-14 10:31:02 -07:00
Alex P
464aea39a8
Replace reference to src/shared/ with shared/
2018-03-14 10:31:02 -07:00
Alex P
09be445353
Cleanup syntax in action creators
2018-03-14 10:31:02 -07:00
Alex P
9bf565d2f4
Clean up notifications reducer
2018-03-14 10:31:02 -07:00
Alex P
14037fa89f
Clean up notifications test
2018-03-14 10:31:02 -07:00
Alex P
64e51b8bbd
Flatten notifications copy, use screaming snake for all items, and make names more descriptive
2018-03-14 10:31:02 -07:00
Alex P
b3ca9ba50b
Rename constants without "copy" suffix
2018-03-14 10:31:02 -07:00
Alex P
0a3be44992
Use constants for repeated notification durations
2018-03-14 10:31:02 -07:00
Alex P
5aca18d8a6
Replace magic number with constant
2018-03-14 10:31:02 -07:00
Alex P
39e8e4542e
Hackity hack hack
2018-03-14 10:31:02 -07:00
Alex P
f909e5ef91
Guard against undefined VERSION
2018-03-14 10:31:02 -07:00
Andrew Watkins
6364df5cf7
Remove comment
2018-03-14 10:31:02 -07:00
Andrew Watkins
d56ebf2b2b
Add comment
2018-03-14 10:31:02 -07:00
Alex P
a7399fc42d
Ensure new version notification has infinite duration
2018-03-14 10:31:02 -07:00
Alex P
d938f26438
Centralize notifications copy into single file
...
Refining some of the copy along the way:
- All messages end with a .
- More consistent word order
- Referring to sources as connections
- Referring to kap configs as connections
2018-03-14 10:31:02 -07:00
Alex P
f06e2afe83
Introduce centralized location for notifications copy
2018-03-14 10:31:02 -07:00
Alex P
ec888a6bdc
Fix instances of 'text' with 'message'
2018-03-14 10:31:02 -07:00
Alex P
bcd11eaeb1
Rename 'danger' to 'error' to be more semantic
2018-03-14 10:31:02 -07:00
Alex P
a320812b36
Extend duration of presentation mode notification
...
Felt like it faded too quickly
2018-03-14 10:31:02 -07:00
Alex P
f7ec33f5db
Redesign notification dismiss button
...
X wasn’t centering properly
2018-03-14 10:31:02 -07:00
Alex P
cbd15ec80c
Reposition notification center when in presentation mode
2018-03-14 10:31:02 -07:00