ebb-tide
beca4d3c44
Place table options in dashboard types
2018-05-10 11:36:50 -07:00
Andrew Watkins
2d1ff2cf46
Fix up type errors
2018-05-10 10:48:36 -07:00
Iris Scholten
9c2cb8cfdf
WIP Test FieldList
2018-05-09 18:31:15 -07:00
Jared Scheib
b116e79bfa
Merge branch 'master' into feature/kapa_kafka_alert_node
2018-05-09 13:53:22 -07:00
Brandon Farmer
73fd67ee85
Fix, clean up, and stronger-type CEO actions & reducer
...
Convert queryActions & queryTransitions to TS
Fix tests
2018-05-09 13:00:21 -07:00
Andrew Watkins
4988f0932b
Populate Filter funciton from ast
2018-05-09 11:06:44 -07:00
Andrew Watkins
a944364967
Flatten binary expressions into ordered list
2018-05-08 11:18:28 -07:00
Andrew Watkins
b318452741
WIP introduce in order traversal
2018-05-08 09:57:35 -07:00
ebb-tide
1feb86dfa9
Removed unused functions, rename files, and add tests
2018-05-04 16:50:34 -07:00
ebb-tide
d60d34ab64
Change untitled cell to untitled graph
2018-05-04 09:18:44 -07:00
ebb-tide
b025f4f226
Remove untitled cell names other than "Untitled graph"
2018-05-03 16:41:37 -07:00
Iris Scholten
95e1c6abf5
Simplify syntax in fixtures files
2018-05-02 14:57:49 -07:00
Iris Scholten
d56623f8db
Update fixtures for tests
2018-05-02 14:57:49 -07:00
Brandon Farmer
d18f307120
Use isUserAuthorized helper
2018-05-02 12:35:53 -07:00
Iris Scholten
99d32ed521
Fix missed conflic and update types and fixtures based on type changes from master
2018-05-01 15:53:18 -07:00
Iris Scholten
d1f99bde8f
Add test for cell editor overlay to check that isQuerySupportedByExplorer is getting passed down when a user-defined tempvar is getting used in query
2018-05-01 15:33:55 -07:00
Iris Scholten
0efaaa96bb
Disable parts of SchemaExplorer in CEO if user-defined temp vars in query
...
Use constants for :dashboardTime:, :upperDashboardTime:, & :interval:.
Clarify some fn names.
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-05-01 15:30:36 -07:00
ebb-tide
c6d4db9f4c
Fix tests and address PR review items
2018-04-30 15:38:38 -07:00
ebb-tide
9cbfb58fde
Merge branch 'master' into table/field-options
2018-04-30 15:15:02 -07:00
ebb-tide
2cf1e1af4d
Implement Decimal Place Setting
2018-04-30 11:59:14 -07:00
Brandon Farmer
351fd0cbeb
Add tests for missing 'No Results'
2018-04-29 20:34:50 -07:00
ebb-tide
e0fbbe4998
Add timeFormat and fieldOptions to default new cell
2018-04-26 12:30:01 -07:00
ebb-tide
76666d98a9
Front end work for taking fieldOptions out of tableOptions on to cell
2018-04-24 23:31:16 -07:00
Andrew Watkins
b3593469d6
Merge pull request #3303 from influxdata/ifql/join
...
Introduce ability to use variable assignment in Time Machine
2018-04-24 15:55:34 -07:00
Andrew Watkins
a3c97ae234
Fix tests
2018-04-24 15:02:19 -07:00
Andrew Watkins
a375cbe453
Repair adding a func node
2018-04-24 14:34:42 -07:00
ebb-tide
6ecd527f01
Merge branch 'master' into table/field-options
2018-04-24 14:31:27 -07:00
Andrew Watkins
f8211117df
Fix function argument editing
2018-04-24 13:36:59 -07:00
ebb-tide
bb277189b1
Use timeSeriesTransform for dygraphs.
2018-04-24 13:31:30 -07:00
Andrew Watkins
58cf2c200e
Change expressionID to bodyID
2018-04-24 09:13:08 -07:00
ebb-tide
70b7d73040
Rename default time format
2018-04-23 23:09:36 -07:00
ebb-tide
f691ba430a
Merge branch 'master' into table/group-by
2018-04-23 21:39:03 -07:00
Andrew Watkins
8bab54d394
Merge pull request #3294 from influxdata/ifql/variables
...
Ifql/variables
2018-04-23 19:57:26 -07:00
ebb-tide
de46a81d5f
Fix breaking tests
2018-04-23 19:50:33 -07:00
Andrew Watkins
1e3a036cd9
Fix errors and warnings
2018-04-23 19:45:50 -07:00
ebb-tide
0c7ae2cca4
Move transformTableData to utils/tableGraph and rename it from processedTableData, Also combine sort field and direction
2018-04-23 18:32:19 -07:00
ebb-tide
6128fd434e
Merge branch 'master' into table/group-by
2018-04-23 15:43:47 -07:00
Andrew Watkins
c217560afe
WIP move / change shape of body function
2018-04-23 15:27:27 -07:00
Andrew Watkins
eddcac95a4
Add ability to handle literal and expression variables
2018-04-23 09:54:43 -07:00
Andrew Watkins
ae80e1beec
WIP introduce handling of variables
2018-04-23 09:54:43 -07:00
Alex P
8dc05b55ae
Write render tests for component
2018-04-20 20:34:55 -07:00
ebb-tide
ac97228d8c
Merge branch 'master' into table/group-by
2018-04-20 16:10:10 -07:00
ebb-tide
5ca7265447
Make tests pass
2018-04-20 16:08:13 -07:00
Alex Paxton
7b85202d35
Merge pull request #3266 from influxdata/bugfix/notify-new-cell-name
...
Show New Cell's Name in Notification
2018-04-20 10:08:46 -07:00
Iris Scholten
dc0a7601e7
WIP Move timeFormat and fieldNames/fieldOptions outside of tableOptions in the client
2018-04-19 18:57:22 -07:00
Andrew Watkins
acb5680be4
Merge pull request #3238 from influxdata/ifql/from
...
Ifql/from
2018-04-19 10:56:25 -07:00
Alex P
79b728d432
Organize code to prevent new dashboards from having an unnamed cell
2018-04-19 10:24:45 -07:00
Andrew Watkins
bbd0c2fda3
Fix test
2018-04-19 09:54:35 -07:00
Andrew Watkins
86b076826b
Update addNode for use with multiple expressions
2018-04-18 17:27:57 -07:00
Andrew Watkins
aea9d7c9b9
Remove type / lint errors
2018-04-18 16:04:49 -07:00
Andrew Watkins
82e6a733f1
WIP updated walker to return expression source
2018-04-18 14:37:27 -07:00
Alex Paxton
b83fbc03f5
Merge pull request #3240 from influxdata/ux/dashboard-empty-state
...
Improve Dashboard Empty State
2018-04-18 14:24:22 -07:00
Andrew Watkins
f54362f10c
WIP Introduce expressions
2018-04-18 14:12:56 -07:00
Alex P
e8ec841902
Merge branch 'master' into ux/dashboard-empty-state
2018-04-18 13:11:48 -07:00
Jared Scheib
a98b23d6af
Merge pull request #3233 from influxdata/bugfix/hostlist-customdb
...
Allow for use of custom Retention Policy when querying for hosts from Host List page & Host pages
2018-04-18 13:04:26 -07:00
Andrew Watkins
efa5e25611
Add test for from component
2018-04-18 12:32:19 -07:00
Alex P
a9590805ca
Implement cell type constants across app
2018-04-18 12:09:00 -07:00
Andrew Watkins
063f9c9bf7
Add prop for funcArg test
2018-04-18 12:08:43 -07:00
Jared Scheib
a34b0fa6cc
Move & rename generateTempVarsForHosts from constants to utils
...
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-04-18 11:56:17 -07:00
Brandon Farmer
61facc9321
Fixes now() time parsing when requesting annotations
2018-04-18 11:29:14 -07:00
Jared Scheib
609fd56b9a
Merge branch 'master' into bugfix/hostlist-customdb
2018-04-18 10:47:52 -07:00
Brandon Farmer
73e6b791fe
Upgrade to react 16
2018-04-18 00:02:00 -07:00
Jared Scheib
7e05835b9c
Test HostsPage render all components & hosts
...
Update Source & SourceLinks types to be current with all fields.
Properly mocked hosts & env mock api fns for spying.
Add note about kapacitors field on Source type differing
between client and server.
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-17 17:41:41 -07:00
Andrew Watkins
51250ddfd1
Add test
2018-04-17 15:08:05 -07:00
Alex Paxton
3cedef6faa
Merge pull request #3215 from influxdata/polish/sticky-tempvar-controls
...
Attach Template Controls Bar to top of page
2018-04-17 11:08:31 -07:00
Andrew Watkins
78f581a292
Add FundArgInput test
2018-04-17 09:47:45 -07:00
Andrew Watkins
48e43e56a1
Introduce FuncArg test
2018-04-17 09:30:50 -07:00
ebb-tide
28cea41a6f
Constrain TableGraph updating
2018-04-16 19:13:23 -07:00
Iris Scholten
9ab401625b
WIP test hostsPage async proxy request calls
...
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-16 18:29:16 -07:00
Alex P
e1897a807a
Write component test
2018-04-16 18:07:12 -07:00
Andrew Watkins
2f96ecc55a
Add initial ability to handle string argument types
2018-04-16 16:56:38 -07:00
Andrew Watkins
7363cc7d5d
Add inputs for various argument types
2018-04-16 14:53:54 -07:00
Andrew Watkins
4a9fefa1a2
Fix test
2018-04-16 10:56:53 -07:00
Andrew Watkins
479ec98d6e
Add source string to func node object
2018-04-16 10:56:53 -07:00
Andrew Watkins
4a09df65ad
Add text editor to builder
2018-04-16 10:56:53 -07:00
Deniz Kusefoglu
ea2cff99bc
Merge pull request #3180 from influxdata/table/reorder-columns
...
Table/reorder columns
2018-04-15 00:43:52 -04:00
ebb-tide
2906a461f3
Implement PR review suggestions
2018-04-14 21:29:17 -07:00
Brandon Farmer
9418b7c6ce
Ensure that values are displayed on gauges
2018-04-12 13:29:27 -07:00
Brandon Farmer
7d7319ecf5
Default to zero for gauges
2018-04-12 00:33:34 -07:00
Brandon Farmer
fce176be63
Update changelog and add more tests around time range
2018-04-12 00:16:03 -07:00
Brandon Farmer
b7d42df182
Show valid time in custom time range when now is selected
2018-04-12 00:06:31 -07:00
Iris Scholten
61914a6431
Add test for defaultRP in the UI on SourceForm
...
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-11 17:12:49 -07:00
ebb-tide
2f2b7737ed
Fix failing tests
2018-04-11 16:12:36 -07:00
ebb-tide
e8f360a9bf
Implement dragging from drag handle rather than whole component
2018-04-10 21:08:33 -07:00
Andrew Watkins
7ba263953e
Merge pull request #3169 from influxdata/bugfix/tickscript-save
...
Bugfix/tickscript save
2018-04-10 14:40:30 -07:00
Andrew Watkins
db98e429a6
Update tests and bugfix
2018-04-10 14:26:21 -07:00
Andrew Watkins
c15fa1afe1
Add test for bug
2018-04-10 13:56:53 -07:00
Brandon Farmer
e2f7fcfe1a
Merge pull request #3162 from influxdata/fix/graph-threshold-size
...
Only send threshold value to parent on blur
2018-04-10 11:38:34 -07:00
Brandon Farmer
fa5a94eaba
Add basic test around threshold
2018-04-10 11:11:22 -07:00
Iris Scholten
1c79374fe2
Fix tests after removing datalabels and making instance methods private
2018-04-09 15:20:07 -07:00
Iris Scholten
94945d5a43
Remove dataLabels and just use queryConfigs
2018-04-09 15:20:06 -07:00
Brandon Farmer
6b2cf7cf3a
Make query configs available in table options on visualization tab
2018-04-09 15:16:16 -07:00
Brandon Farmer
3fb826a89a
Merge pull request #3148 from influxdata/polish/toggle-measurement
...
Allows users to close a measurement they have open
2018-04-09 14:51:42 -07:00
Brandon Farmer
914c1f1e82
Add test around MeasurementListItem behavior
2018-04-09 12:08:25 -07:00
Andrew Watkins
a1a755016f
Move TickscriptSave button to own file
2018-04-09 11:59:00 -07:00
Andrew Watkins
9f4faf6fb5
Disables saveing tickscript if no databases are selected
2018-04-06 17:56:02 -07:00
Andrew Watkins
09ccd3b152
Add test resources
2018-04-06 17:56:02 -07:00
Andrew Watkins
21754a10f9
Convert TickscriptEditor to TypesScript and add initial test
2018-04-06 17:56:02 -07:00
Jared Scheib
610fc3f799
Merge pull request #3144 from influxdata/bugfix/dataexplorer-prefix
...
Ensure correct basepath prefix in URL pathname when passing InfluxQL query param to Data Explorer
2018-04-06 15:51:21 -07:00
Jared Scheib
520e3e1bb5
Test that client basepath strips prefix if present
...
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
2018-04-06 15:01:45 -07:00
Andrew Watkins
8586c835ca
Merge pull request #3142 from influxdata/timemachine
...
Timemachine
2018-04-06 13:05:39 -07:00
Andrew Watkins
43fca0175c
Fix type errors
2018-04-06 12:15:28 -07:00
Alex P
f1a49c5501
Fix component test
2018-04-06 11:31:23 -07:00
Alex P
66a838a9dd
WIP fix tests
2018-04-05 18:02:43 -07:00
Andrew Watkins
c6c8bdaecf
Check queryConfig on component mount
2018-04-05 13:53:38 -07:00
Andrew Watkins
432d37be9b
Add style
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-04-05 10:02:42 -07:00
Andrew Watkins
6fcc84947a
Convert QueryMaker to TypesScript and add test
2018-04-04 16:06:50 -07:00
Andrew Watkins
8d5f2665ba
Update async test
2018-04-04 15:39:46 -07:00
Andrew Watkins
487cdb3105
Move DataExplorer to TypeScript
2018-04-04 15:39:34 -07:00
Andrew Watkins
b127d2d96a
Merge pull request #3118 from influxdata/bugfix/flash-notifications
...
Bugfix/flash notifications
2018-04-04 11:13:17 -07:00
Andrew Watkins
55d8ac86f4
Update tests
2018-04-04 11:00:43 -07:00
Andrew Watkins
0cbb8d9260
Update tests
2018-04-03 22:07:31 -07:00
Andrew Watkins
a2a5d9bd14
Add inital tests
2018-04-03 21:10:06 -07:00
ebb-tide
be86d85bc2
Merge branch 'bugfix/kapacitor-loading-4ever' of https://github.com/influxdata/chronograf into bugfix/kapacitor-loading-4ever
2018-04-03 13:46:41 -07:00
Deniz Kusefoglu
9400174de6
Merge branch 'master' into bugfix/kapacitor-loading-4ever
2018-04-03 16:46:08 -04:00
ebb-tide
d2b70acdb0
Implement suggestions from PR review
2018-04-03 12:00:53 -07:00
ebb-tide
fb37c548e2
Add some tests
2018-04-02 17:16:45 -07:00
Alex P
88706be6dc
Merge branch 'master' into moar-colors-n-stuff
2018-04-02 11:51:27 -07:00
Alex P
ffc2fe255e
Merge branch 'master' into feature/clone-dashboards
2018-03-30 16:11:02 -07:00
Alex P
192a63c856
Write test for deleting a dashboard
2018-03-30 15:52:41 -07:00
Andrew Watkins
3ffdae1ee8
Merge pull request #3101 from influxdata/bugfix/tempvar
...
Fix templateVariables not loading properly. Other variables were amazed
2018-03-30 15:32:00 -07:00
Andrew Watkins
7f3b991c0b
Fix templateVariables not loading properly
...
Runtime error in the 'EDIT_TEMPLATE_VARIABLE_VALUES' reducer
was causing the list not to populate
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-30 13:38:00 -07:00
Alex Paxton
99d32f68fa
Merge pull request #3096 from influxdata/polish/confirmation-buttons
...
Standardize Confirmation Buttons
2018-03-30 11:21:21 -07:00
ebb-tide
de22496613
Merge branch 'master' into feature/table-graph-polish
2018-03-29 18:56:10 -07:00
ebb-tide
3656bee056
Move table graph data transform function tests
2018-03-29 18:47:49 -07:00
Andrew Watkins
152027a639
Fix test warning spam
2018-03-29 16:44:24 -07:00
Alex P
468be2b513
Remove test for button order
...
This is now handled with CSS
2018-03-29 16:10:17 -07:00
Andrew Watkins
76e0d026ea
Fix typing errors
2018-03-29 16:06:10 -07:00
Brandon Farmer
ff6a9fcb0a
Fix FuncSelectorTest
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer
178b366191
Func item triggers a handler when it is clicked
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Andrew Watkins
8b03686af4
Add ast to test props
2018-03-29 16:04:37 -07:00
Andrew Watkins
b2e70f396f
Introduce Walker class for walking the ifql AST
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:04:37 -07:00
Andrew Watkins
182d4517e7
Introduce filtering to FuncButton
2018-03-29 16:02:32 -07:00
Andrew Watkins
e0db988a79
Introduce function list button populated by IFQL
2018-03-29 16:02:32 -07:00
Andrew Watkins
90718ff652
Get suggestions for functions
2018-03-29 16:02:32 -07:00
Andrew Watkins
08d26a7f1e
Introduce IFQLPage skeleton
2018-03-29 16:02:31 -07:00
Andrew Watkins
b7cf32873a
Add getSuggestions AJAX call to chronograf FE
2018-03-29 16:01:01 -07:00
Andrew Watkins
00c7d9a6e2
Introduce IFQLPage container
2018-03-29 16:01:01 -07:00
Alex P
1b6ee466ab
Rename ConfirmButtons to "ConfirmOrCancel"
2018-03-29 11:22:13 -07:00
ebb-tide
9f7182416a
Improve naming of time series transformer functions
2018-03-29 10:56:27 -07:00
Alex P
b35d668a41
Merge branch 'master' into moar-colors-n-stuff
2018-03-29 10:26:27 -07:00
Alex P
3732fbaefd
Write reducer test for updating line graph colors
2018-03-26 19:14:06 -07:00
Iris Scholten
1c596e9845
add test for processing TableGraph data
2018-03-26 12:21:33 -07:00
Iris Scholten
54e1bee9fb
add tests for timeSeriesToTableGraph function
2018-03-26 11:24:05 -07:00
Iris Scholten
f358c0dac3
fix prettier errors
2018-03-26 09:54:02 -07:00
Iris Scholten
8c5ba95f2a
update getters in TableOptions.test
2018-03-23 18:39:45 -07:00
Iris Scholten
f96358bde8
update GraphOptionsCustomizeFields.test
2018-03-23 17:56:23 -07:00
Iris Scholten
2e98bfe2a1
update GraphOptionsCustomizableField.test
2018-03-23 17:53:34 -07:00
Iris Scholten
c22218c89e
add tests for GraphOptionsFixFirstColumn
2018-03-23 17:42:39 -07:00
Iris Scholten
51224fa7e7
move tooltip for time format link to constants and update time format tests
2018-03-23 17:28:55 -07:00
Iris Scholten
d3f34aeb63
update GraphOptionsSortBy.test
2018-03-23 17:13:21 -07:00
Iris Scholten
42e27aff1a
update GraphOptionsTimeFormat.test
2018-03-23 16:10:33 -07:00
Jared Scheib
697d077e94
Merge pull request #3006 from influxdata/bugfix/task_enabled_correct_check
...
Fix Kapacitor Rules task enabled checkboxes to only toggle exactly as clicked
2018-03-23 10:48:41 -07:00
Alex P
872aebd0a1
Implement FancyScrollbar in Customize Fields list
2018-03-22 18:54:16 -07:00
Jared Scheib
504e6f938e
Make tslint happy for tests
2018-03-22 15:51:54 -07:00
Jared Scheib
0fd2083601
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-22 15:12:22 -07:00
Jared Scheib
2419890f7d
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-22 14:08: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
be8ff5903c
Merge branch 'master' into feature/table-hide-series
2018-03-21 18:31:39 -07:00
Andrew Watkins
317a22f9a9
Prettier fixes
2018-03-21 16:59:15 -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
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
9c1799c50d
Fix linting errors
2018-03-21 16:12:42 -07:00
Jared Scheib
366cf0c7c4
Get rows & props for testing of KapacitorRulesTable & TasksTable
2018-03-21 13:14:52 -07:00
Jared Scheib
8e0ad0432b
Test that KapacitorRules renders one corresponding task row for each rule row
2018-03-21 12:29:26 -07:00
Jared Scheib
317bfd5bfe
WIP Test user interaction toggle of checkboxes
2018-03-20 20:47:49 -07:00
Jared Scheib
b9c7f16cc4
Refactor KapacitorRules.test to use explicit shallow setup
2018-03-20 20:37:05 -07:00
Jared Scheib
2a77a3b776
Prettier
2018-03-20 18:41:45 -07:00
Jared Scheib
5e4a60f96d
Add kapacitor rule test resource that has no query
2018-03-20 18:40:44 -07:00
Iris Scholten
eca5394edc
merge master and fix minor bugs
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-20 18:30:08 -07:00
Iris Scholten
beff578eb2
update tableoptions.test with visible
2018-03-20 17:24:34 -07:00
Iris Scholten
bcc87a682a
add renamed files from columnNames to fieldName changes
2018-03-20 17:24:34 -07:00
Iris Scholten
e049b53cd9
update columnNames to fieldNames and columns to fields in front end for tablegraphs
2018-03-20 17:24:34 -07:00
Iris Scholten
2614da86e5
update GraphOptionsCustomizableColumn.test with visible prop and toggling it
2018-03-20 17:08:56 -07:00
Iris Scholten
e7f89b6322
connect tableOptions field visibility toggle to tableGraph
2018-03-20 17:08:56 -07:00
Alex P
1c164179d3
update FFC test
...
Co-authored-by: Iris Scholten <iris@influxdata.com>
2018-03-20 16:28:23 -07:00
Iris Scholten
bb57e6cca6
update and add tests for fixfirstcolumn logic
2018-03-19 18:20:17 -07:00
Jared Scheib
5fa6c7cd6a
Remove unused UUID string validator & test
2018-03-19 17:04:43 -07:00
Jared Scheib
2358cce513
Find by component rather than component name in enzyme tests
2018-03-19 16:52:06 -07:00
Brandon Farmer
4618cb9559
Fixes typescript compile type error
2018-03-18 19:31:35 -07:00
Brandon Farmer
9d4162c60b
Add test from display value of selected
2018-03-18 18:17:33 -07:00
Jared Scheib
6feb258c64
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-16 21:05:01 -07:00
Brandon Farmer
1c08717148
Sort table graphs in cell editor overlay
2018-03-16 17:46:45 -07:00
Jared Scheib
a1a40ddc01
Add failing test for KapacitorRules renders both tables rows with unique label FORs
2018-03-16 16:04:04 -07:00
Jared Scheib
4080c31e93
Add failing test for KapacitorRules renders both tables with unique checkbox IDs
2018-03-16 16:03:20 -07:00
Jared Scheib
68a0716bfc
Add more kapacitor rules test data
2018-03-16 14:37:03 -07:00
Jared Scheib
60897b8bc2
Revert "Test KapacitorRulesTable tr keys to be UUIDv4"
...
This reverts commit 841ae1e60c
.
2018-03-16 14:18:57 -07:00
Alex Paxton
0587c94345
Merge pull request #2993 from influxdata/feature/table-thresholds
...
Add Color Thresholds to Table Graphs
2018-03-16 12:44:20 -07:00
Andrew Watkins
458475243e
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
91950f2ef7
Merge branch 'master' into feature/table-thresholds
2018-03-16 10:51:14 -07:00
Andrew Watkins
37f3043dee
Introduce AllUsersPage test
2018-03-15 16:44:18 -07:00
Iris Scholten
a0f53f5b23
Merge pull request #2996 from influxdata/feature/table-graph-series-renaming
...
Table Graph Series/Column renaming
2018-03-15 16:27:47 -07:00
Alex P
111f2c5fc9
Add new prop to test
2018-03-14 22:26:23 -07:00
Alex P
0ad9d15bc3
rename singleStatColors to thresholdsListColors
2018-03-14 22:08:26 -07:00
Alex P
8078362856
Rename single stat constants to match thresholds naming scheme
2018-03-14 21:20:22 -07:00
Alex P
7a583b1567
rename singleStatType to thresholdsListType
...
going for a more generic and future proof naming scheme
2018-03-14 21:13:20 -07:00
Alex P
72b9279336
Use ThresholdsColorToggle in TableOptions
2018-03-14 21:02:13 -07:00
Alex P
47a66d2ae0
Update table options test
2018-03-14 20:57:55 -07:00
Alex P
9201bb1de4
Merge branch 'master' into feature/table-thresholds
2018-03-14 20:38:56 -07:00
Jared Scheib
841ae1e60c
Test KapacitorRulesTable tr keys to be UUIDv4
2018-03-14 18:44:51 -07:00
Jared Scheib
fd58c0cb5a
Add string validator & tests for UUIDv4
2018-03-14 18:31:09 -07:00
Iris Scholten
a7e820f038
fix typo in CustomizeColumns test
2018-03-14 18:21:53 -07:00
Iris Scholten
9d9525e821
create component test for GraphOptionsCustomizeColumns
2018-03-14 18:17:32 -07:00
Iris Scholten
cc7422ad93
update columnNames in the redux store and connect them to TableGraphs
2018-03-14 17:46:42 -07:00
Andrew Watkins
dc8902c62a
Add insecureSkipVerify to default kapacitor
2018-03-14 17:23:34 -07:00
Andrew Watkins
608c81b3f5
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
6931f5ece6
WIP
2018-03-14 17:23:34 -07:00
Brandon Farmer
42c03de005
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
2d08ed0f94
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
b71faa7a37
Remove unused jest in Kapacitor tests
2018-03-14 17:18:29 -07:00
Jared Scheib
2d13bc23c3
Add initial enzyme test for component KapacitorRulesTable render
2018-03-14 17:17:16 -07:00
Jared Scheib
fc4b58be89
Add initial enzyme test for component TasksTable render
2018-03-14 17:16:11 -07:00
Jared Scheib
7b729697ad
Clean up
2018-03-14 16:53:58 -07:00
Jared Scheib
9f1a7963f4
Remove unused jest.mock
2018-03-14 16:51:33 -07:00
Jared Scheib
d42852f8b9
Remove unused override var
2018-03-14 16:50:24 -07:00
Jared Scheib
311a196afe
Remove unused imports
2018-03-14 16:48:15 -07:00
Jared Scheib
4986159c87
Split KapacitorRules render test into two tests
2018-03-14 16:46:40 -07:00
Jared Scheib
ebd33f0a5d
Test KapacitorRules to render KapacitorRulesTable & TasksTable
2018-03-14 16:32:23 -07:00
Jared Scheib
7fccddfcb4
Test KapacitorRules to render two tables
2018-03-14 16:17:00 -07:00
Jared Scheib
6f6e5136d5
Add initial passing enzyme test for KapacitorRules render
2018-03-14 16:06:34 -07:00
Iris Scholten
641fc3ce65
Merge branch 'master' into feature/table-graph-series-renaming
2018-03-14 16:00:11 -07:00
Alex Paxton
3613cc52a7
Merge pull request #2910 from influxdata/polish-notifications
...
Redesign & Refactor Notifications
2018-03-14 15:37:38 -07:00
Iris Scholten
260599dbf8
WIP get queries for columnNames in table optoins
2018-03-14 15:28:53 -07:00
Andrew Watkins
7f04f5c5e6
Change publishNotification to notify
2018-03-14 15:26:09 -07:00
Brandon Farmer
3d472485c3
Make query configs available in table options on visualization tab
2018-03-14 15:14:00 -07:00
Andrew Watkins
466a6e47c6
Cleanup errors
2018-03-14 14:49:01 -07:00
Andrew Watkins
cac7180ce3
Cleanup
2018-03-14 12:33:23 -07:00
Alex P
19d2019f73
WIP replace addFlashMessage with publishNotification
2018-03-14 10:31:03 -07:00
Alex P
48b974cac8
Move notifications test to proper directory and rename
2018-03-14 10:31:03 -07:00
Jared Scheib
d9290f36a8
Add dummy data for KapacitorRules component test
...
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2018-03-13 18:34:34 -07:00
Iris Scholten
ae042b46f8
fix typo in import
2018-03-13 17:22:50 -07:00
Iris Scholten
57e1d473ec
respond to reviews and add extra test
2018-03-13 16:58:25 -07:00
Iris Scholten
5b62395e65
update GraphOptionsCustomizableColumn to typescript and create component test for it
2018-03-13 16:02:07 -07:00
Iris Scholten
1986186f71
Merge branch 'master' into feature/graph-table-time-format
2018-03-13 11:11:25 -07:00
Andrew Watkins
fae3766952
Add test for resetting KapacitorForm
2018-03-13 10:13:04 -07:00
Andrew Watkins
376556201b
Cleanup
2018-03-13 10:13:04 -07:00
Andrew Watkins
3f69abb9af
Add more tests
2018-03-13 10:13:04 -07:00
Andrew Watkins
e46690ce09
Make breath
2018-03-13 10:11:11 -07:00
Andrew Watkins
0a36ecb15e
WIP refactor of KapacitorForm
2018-03-13 10:11:11 -07:00
Andrew Watkins
68da38c231
Fix ts warnings
2018-03-13 10:11:11 -07:00
Andrew Watkins
e5ccbafd90
WIP introduce mocking api requests and testing resultant behavior
2018-03-13 10:11:11 -07:00
Andrew Watkins
531c93d117
Introduce mock api responses
2018-03-13 10:11:11 -07:00
Andrew Watkins
662a6774e3
WIP introduce componentDidMount test
2018-03-13 10:11:11 -07:00
Andrew Watkins
f528e74a5e
WIP Introduce KapacitorPage test
2018-03-13 10:11:11 -07:00
Iris Scholten
b55167e4e8
respond to review
2018-03-12 18:46:21 -07:00
Alex P
a63ce9f058
Rename "gaugeColors" constant to "thresholds" and move to shared
2018-03-12 17:17:26 -07:00
Iris Scholten
cf2c508c96
update server_test, internal_test, and cells_test with tableOptions
2018-03-12 17:12:20 -07:00
Iris Scholten
9420e206bc
update cell editor overlay test with table options
2018-03-12 15:31:46 -07:00
Iris Scholten
4c277b099c
update TableOptions component test to use tableOptions instead of options
2018-03-12 15:07:19 -07:00
Iris Scholten
302efab3b9
change options to table options in backend, front end and redux
2018-03-12 15:04:17 -07:00
Iris Scholten
7dac48daa4
create component test for TableOptions
2018-03-12 10:11:05 -07:00
Brandon Farmer
3781ffabf9
Add tests for GraphOptionsTimeFormat component
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-03-09 17:15:03 -08:00
Iris Scholten
cfe6ba5d0c
create initial tests for ProvidersTableRowNew around bug fix
2018-03-07 16:27:56 -08:00
Iris Scholten
cca46ad3f9
change InputclicktoEdit tests to look for html components instead of attributes
2018-03-07 15:13:38 -08:00
Iris Scholten
2ca3ca45a6
create component tests for InputClickToEdit
2018-03-07 14:39:41 -08:00
Iris Scholten
953ddcdfe4
fix error in ConfirmButtons.test
2018-03-07 11:09:37 -08:00
Iris Scholten
90c56f487a
create unit tests for ConfirmButtons and refactor confirmButtons
2018-03-06 16:48:08 -08:00
Iris Scholten
08f5c1072f
change ConfirmButtons to typescript and refactor; create initial ConfirmButtons tests
2018-03-06 12:22:58 -08:00
Andrew Watkins
d2cddc4816
Move old tests over to new jest format
2018-03-05 08:46:23 -08:00
Andrew Watkins
ffc976ec69
Add user interaction tests to MeasurementList
2018-03-05 08:46:23 -08:00
Andrew Watkins
2c6d127a9c
Add test for TagList.tsx
2018-03-05 08:46:23 -08:00
Andrew Watkins
52fcc8e95f
Refactor MeasurementList
2018-03-05 08:46:23 -08:00
Andrew Watkins
5f26de0d96
Convert MeasurementList to TypeScript and add tests
2018-03-05 08:46:23 -08:00
Andrew Watkins
fc12deba4a
Update DatabaseList test
2018-03-05 08:46:23 -08:00
Andrew Watkins
74865597d5
WIP Add more tests for DatabaseList
2018-03-05 08:46:23 -08:00
Andrew Watkins
543fae9f30
Add test for DatabaseListItem
2018-03-05 08:46:23 -08:00
Andrew Watkins
11c505eb65
Add first successful TypeScript test
2018-03-05 08:46:23 -08:00
Andrew Watkins
6970717f32
WIP first TypeScript test
2018-03-05 08:46:23 -08:00
Andrew Watkins
c029c55813
Add more rendering tests
2018-03-05 08:46:23 -08:00
Andrew Watkins
65fbc38ed0
Update test copy
2018-03-05 08:46:23 -08:00
Andrew Watkins
c6fc8ef312
Add test for handleFilterKeyPress
2018-03-05 08:46:23 -08:00
Andrew Watkins
d35f695815
Introduce handleFilterKeyPress test
2018-03-05 08:46:23 -08:00
Andrew Watkins
3b558fc11b
Refine <DropdownInput/> rendering test
2018-03-05 08:46:23 -08:00
Andrew Watkins
e84d578229
Have test use mount so they can access refs
2018-03-01 11:42:24 -07:00
Andrew Watkins
7287781135
Cleanup
2018-03-01 11:18:23 -07:00
Andrew Watkins
760c5d3dfc
Add test for handleSelection
2018-03-01 11:18:23 -07:00
Andrew Watkins
74b78dd20b
Add test for handleClick instance method
2018-03-01 11:18:23 -07:00
Andrew Watkins
2128d5f2e9
Introduce instance method tests
2018-03-01 11:18:23 -07:00
Andrew Watkins
6b85a0b541
Add DropdownInput test
2018-03-01 11:18:23 -07:00
Andrew Watkins
7e90245dba
Refactor Dropdown component and specs
2018-03-01 11:18:23 -07:00
Andrew Watkins
1a809b4c81
Add introductory Dropdown component test
2018-03-01 11:17:35 -07:00
Andrew Watkins
d3b810a08e
Add linter to tests
2018-03-01 11:16:29 -07:00
Andrew Watkins
f0726f6d8e
Fix prop-types and other warnings
2018-03-01 11:16:29 -07:00
Andrew Watkins
84dac1d6fd
Fix moment warnings
2018-03-01 11:16:03 -07:00
Andrew Watkins
d586967615
Will pass all tests using jest
2018-03-01 11:16:02 -07:00
Andrew Watkins
dc3cf7faf8
WIP Enable jest to resolve all modules
2018-03-01 11:16:02 -07:00
Andrew Watkins
8b304bb312
Rename spec dir to test
2018-03-01 11:16:02 -07:00