Commit Graph

386 Commits (b76e2be6c1dbde2536fc4d844788cac1428df05a)

Author SHA1 Message Date
Andrew Watkins ea513f15ea WIP introduce in order traversal 2018-05-08 09:57:35 -07:00
ebb-tide 4ab0a73491 Removed unused functions, rename files, and add tests 2018-05-04 16:50:34 -07:00
ebb-tide cdc9cf7d26 Change untitled cell to untitled graph 2018-05-04 09:18:44 -07:00
ebb-tide b36b85640b Remove untitled cell names other than "Untitled graph" 2018-05-03 16:41:37 -07:00
Iris Scholten 9931bb2bec Simplify syntax in fixtures files 2018-05-02 14:57:49 -07:00
Iris Scholten b97baa5b2a Update fixtures for tests 2018-05-02 14:57:49 -07:00
Brandon Farmer 6210b05c1d Use isUserAuthorized helper 2018-05-02 12:35:53 -07:00
Iris Scholten bb0719160b Fix missed conflic and update types and fixtures based on type changes from master 2018-05-01 15:53:18 -07:00
Iris Scholten b2399a1594 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 c288e500c6 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 954558161e Fix tests and address PR review items 2018-04-30 15:38:38 -07:00
ebb-tide a41e756ac0 Merge branch 'master' into table/field-options 2018-04-30 15:15:02 -07:00
ebb-tide 9b1cf60a7c Implement Decimal Place Setting 2018-04-30 11:59:14 -07:00
Brandon Farmer 39af4a0244 Add tests for missing 'No Results' 2018-04-29 20:34:50 -07:00
ebb-tide 39f2eeb146 Add timeFormat and fieldOptions to default new cell 2018-04-26 12:30:01 -07:00
ebb-tide ebcdba9b66 Front end work for taking fieldOptions out of tableOptions on to cell 2018-04-24 23:31:16 -07:00
Andrew Watkins a73eb63e7e 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 f0ee615e54 Fix tests 2018-04-24 15:02:19 -07:00
Andrew Watkins 80495027ed Repair adding a func node 2018-04-24 14:34:42 -07:00
ebb-tide dadd1179a2 Merge branch 'master' into table/field-options 2018-04-24 14:31:27 -07:00
Andrew Watkins 57fa9e1c16 Fix function argument editing 2018-04-24 13:36:59 -07:00
ebb-tide 7abc80729f Use timeSeriesTransform for dygraphs. 2018-04-24 13:31:30 -07:00
Andrew Watkins edd8ea27da Change expressionID to bodyID 2018-04-24 09:13:08 -07:00
ebb-tide d055b3391b Rename default time format 2018-04-23 23:09:36 -07:00
ebb-tide a444de21c6 Merge branch 'master' into table/group-by 2018-04-23 21:39:03 -07:00
Andrew Watkins 0f47bc8baa Merge pull request #3294 from influxdata/ifql/variables
Ifql/variables
2018-04-23 19:57:26 -07:00
ebb-tide 0ce5f64247 Fix breaking tests 2018-04-23 19:50:33 -07:00
Andrew Watkins b6e35a73ea Fix errors and warnings 2018-04-23 19:45:50 -07:00
ebb-tide 34323908b6 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 752956ba52 Merge branch 'master' into table/group-by 2018-04-23 15:43:47 -07:00
Andrew Watkins f3116aaab0 WIP move / change shape of body function 2018-04-23 15:27:27 -07:00
Andrew Watkins 292d04e5a8 Add ability to handle literal and expression variables 2018-04-23 09:54:43 -07:00
Andrew Watkins 3acedd9a5e WIP introduce handling of variables 2018-04-23 09:54:43 -07:00
Alex P e7a8fb305b Write render tests for component 2018-04-20 20:34:55 -07:00
ebb-tide 2c5fdfe3ff Merge branch 'master' into table/group-by 2018-04-20 16:10:10 -07:00
ebb-tide 18b7f36159 Make tests pass 2018-04-20 16:08:13 -07:00
Alex Paxton 9a8d2db8ba 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 265897d17b WIP Move timeFormat and fieldNames/fieldOptions outside of tableOptions in the client 2018-04-19 18:57:22 -07:00
Andrew Watkins 6f8ec406c6 Merge pull request #3238 from influxdata/ifql/from
Ifql/from
2018-04-19 10:56:25 -07:00
Alex P 27443d4c7d Organize code to prevent new dashboards from having an unnamed cell 2018-04-19 10:24:45 -07:00
Andrew Watkins 2b3b93fb37 Fix test 2018-04-19 09:54:35 -07:00
Andrew Watkins e5a3e1fa41 Update addNode for use with multiple expressions 2018-04-18 17:27:57 -07:00
Andrew Watkins 5e7f93f22f Remove type / lint errors 2018-04-18 16:04:49 -07:00
Andrew Watkins d784af0018 WIP updated walker to return expression source 2018-04-18 14:37:27 -07:00
Alex Paxton 7d1bf83dec Merge pull request #3240 from influxdata/ux/dashboard-empty-state
Improve Dashboard Empty State
2018-04-18 14:24:22 -07:00
Andrew Watkins 86170ea325 WIP Introduce expressions 2018-04-18 14:12:56 -07:00
Alex P 2beef969b6 Merge branch 'master' into ux/dashboard-empty-state 2018-04-18 13:11:48 -07:00
Jared Scheib 2467f4258b 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 475ee04ca1 Add test for from component 2018-04-18 12:32:19 -07:00
Alex P 880e80d52b Implement cell type constants across app 2018-04-18 12:09:00 -07:00
Andrew Watkins cce1a0f8f4 Add prop for funcArg test 2018-04-18 12:08:43 -07:00
Jared Scheib 5111a35448 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 3ba680adbe Fixes now() time parsing when requesting annotations 2018-04-18 11:29:14 -07:00
Jared Scheib 812e0b2855 Merge branch 'master' into bugfix/hostlist-customdb 2018-04-18 10:47:52 -07:00
Brandon Farmer c17b5817b2 Upgrade to react 16 2018-04-18 00:02:00 -07:00
Jared Scheib f96a34f12f 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 24c6a1c614 Add test 2018-04-17 15:08:05 -07:00
Alex Paxton 74921587bc 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 9d2a93fc7c Add FundArgInput test 2018-04-17 09:47:45 -07:00
Andrew Watkins 0171aa36b5 Introduce FuncArg test 2018-04-17 09:30:50 -07:00
ebb-tide b584249fe6 Constrain TableGraph updating 2018-04-16 19:13:23 -07:00
Iris Scholten 035d61100c 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 0ff7ca69f0 Write component test 2018-04-16 18:07:12 -07:00
Andrew Watkins 809d8718cc Add initial ability to handle string argument types 2018-04-16 16:56:38 -07:00
Andrew Watkins 45d1c7ad33 Add inputs for various argument types 2018-04-16 14:53:54 -07:00
Andrew Watkins d047f8fd1a Fix test 2018-04-16 10:56:53 -07:00
Andrew Watkins 2c4ccdbaa2 Add source string to func node object 2018-04-16 10:56:53 -07:00
Andrew Watkins ebec2561cf Add text editor to builder 2018-04-16 10:56:53 -07:00
Deniz Kusefoglu f9f86ce076 Merge pull request #3180 from influxdata/table/reorder-columns
Table/reorder columns
2018-04-15 00:43:52 -04:00
ebb-tide 6b37a8773c Implement PR review suggestions 2018-04-14 21:29:17 -07:00
Brandon Farmer 9ff9f63dd2 Ensure that values are displayed on gauges 2018-04-12 13:29:27 -07:00
Brandon Farmer 97109e29e0 Default to zero for gauges 2018-04-12 00:33:34 -07:00
Brandon Farmer 3243a8d005 Update changelog and add more tests around time range 2018-04-12 00:16:03 -07:00
Brandon Farmer 2c464a7ce2 Show valid time in custom time range when now is selected 2018-04-12 00:06:31 -07:00
Iris Scholten 921da805b0 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 70543d1ee1 Fix failing tests 2018-04-11 16:12:36 -07:00
ebb-tide dc20715a44 Implement dragging from drag handle rather than whole component 2018-04-10 21:08:33 -07:00
Andrew Watkins 1af5a77657 Merge pull request #3169 from influxdata/bugfix/tickscript-save
Bugfix/tickscript save
2018-04-10 14:40:30 -07:00
Andrew Watkins 10b9fdf507 Update tests and bugfix 2018-04-10 14:26:21 -07:00
Andrew Watkins 6fec8ecd91 Add test for bug 2018-04-10 13:56:53 -07:00
Brandon Farmer b844cf1264 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 f526f6dba0 Add basic test around threshold 2018-04-10 11:11:22 -07:00
Iris Scholten 2e1860336e Fix tests after removing datalabels and making instance methods private 2018-04-09 15:20:07 -07:00
Iris Scholten db03a3cd71 Remove dataLabels and just use queryConfigs 2018-04-09 15:20:06 -07:00
Brandon Farmer 61b159f358 Make query configs available in table options on visualization tab 2018-04-09 15:16:16 -07:00
Brandon Farmer 2a91f99a41 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 6b44326fdf Add test around MeasurementListItem behavior 2018-04-09 12:08:25 -07:00
Andrew Watkins 4908c2cd0b Move TickscriptSave button to own file 2018-04-09 11:59:00 -07:00
Andrew Watkins 153a8915ca Disables saveing tickscript if no databases are selected 2018-04-06 17:56:02 -07:00
Andrew Watkins 30291007cc Add test resources 2018-04-06 17:56:02 -07:00
Andrew Watkins ca541481a9 Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -07:00
Jared Scheib 85e5caa2ab 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 4dccd30a2b 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 fe3fdb57f0 Merge pull request #3142 from influxdata/timemachine
Timemachine
2018-04-06 13:05:39 -07:00
Andrew Watkins 6fa52b9ba8 Fix type errors 2018-04-06 12:15:28 -07:00
Alex P 52a04bf8fc Fix component test 2018-04-06 11:31:23 -07:00
Alex P 57dd610732 WIP fix tests 2018-04-05 18:02:43 -07:00
Andrew Watkins b6583060d5 Check queryConfig on component mount 2018-04-05 13:53:38 -07:00
Andrew Watkins f8ad5a04f6 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 168361170a Convert QueryMaker to TypesScript and add test 2018-04-04 16:06:50 -07:00
Andrew Watkins 709bf895f3 Update async test 2018-04-04 15:39:46 -07:00
Andrew Watkins 6536d5d9c7 Move DataExplorer to TypeScript 2018-04-04 15:39:34 -07:00
Andrew Watkins 4438d982aa Merge pull request #3118 from influxdata/bugfix/flash-notifications
Bugfix/flash notifications
2018-04-04 11:13:17 -07:00
Andrew Watkins 325275c471 Update tests 2018-04-04 11:00:43 -07:00
Andrew Watkins d3b1b06726 Update tests 2018-04-03 22:07:31 -07:00
Andrew Watkins bc8fcf8b8d Add inital tests 2018-04-03 21:10:06 -07:00
ebb-tide b450ff2f18 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 1724b532c9 Merge branch 'master' into bugfix/kapacitor-loading-4ever 2018-04-03 16:46:08 -04:00
ebb-tide 4ccde5e55d Implement suggestions from PR review 2018-04-03 12:00:53 -07:00
ebb-tide a3218e1027 Add some tests 2018-04-02 17:16:45 -07:00
Alex P 8b164c98df Merge branch 'master' into moar-colors-n-stuff 2018-04-02 11:51:27 -07:00
Alex P b54f9568d3 Merge branch 'master' into feature/clone-dashboards 2018-03-30 16:11:02 -07:00
Alex P 444d460b8e Write test for deleting a dashboard 2018-03-30 15:52:41 -07:00
Andrew Watkins 588338877d 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 162bea3ad7 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 489a667d4f Merge pull request #3096 from influxdata/polish/confirmation-buttons
Standardize Confirmation Buttons
2018-03-30 11:21:21 -07:00
ebb-tide b09026c765 Merge branch 'master' into feature/table-graph-polish 2018-03-29 18:56:10 -07:00
ebb-tide fa5cabe3af Move table graph data transform function tests 2018-03-29 18:47:49 -07:00
Andrew Watkins 60ca52ab96 Fix test warning spam 2018-03-29 16:44:24 -07:00
Alex P 641ec4d098 Remove test for button order
This is now handled with CSS
2018-03-29 16:10:17 -07:00
Andrew Watkins ae707ac283 Fix typing errors 2018-03-29 16:06:10 -07:00
Brandon Farmer debfff5050 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 5353c0bb57 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 8b11693499 Add ast to test props 2018-03-29 16:04:37 -07:00
Andrew Watkins 853682e46f 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 376ce0db87 Introduce filtering to FuncButton 2018-03-29 16:02:32 -07:00
Andrew Watkins 21c8e46bb2 Introduce function list button populated by IFQL 2018-03-29 16:02:32 -07:00
Andrew Watkins de1b7caa63 Get suggestions for functions 2018-03-29 16:02:32 -07:00
Andrew Watkins 457134d217 Introduce IFQLPage skeleton 2018-03-29 16:02:31 -07:00
Andrew Watkins 12643e6213 Add getSuggestions AJAX call to chronograf FE 2018-03-29 16:01:01 -07:00
Andrew Watkins cf0d7661ca Introduce IFQLPage container 2018-03-29 16:01:01 -07:00
Alex P 7f50403114 Rename ConfirmButtons to "ConfirmOrCancel" 2018-03-29 11:22:13 -07:00
ebb-tide dfb7527809 Improve naming of time series transformer functions 2018-03-29 10:56:27 -07:00
Alex P ceb2ed2b83 Merge branch 'master' into moar-colors-n-stuff 2018-03-29 10:26:27 -07:00
Alex P 6edb4f30e4 Write reducer test for updating line graph colors 2018-03-26 19:14:06 -07:00
Iris Scholten aad5bce052 add test for processing TableGraph data 2018-03-26 12:21:33 -07:00
Iris Scholten 1939c674ac add tests for timeSeriesToTableGraph function 2018-03-26 11:24:05 -07:00
Iris Scholten 39674cab19 fix prettier errors 2018-03-26 09:54:02 -07:00
Iris Scholten 5789f41b7c update getters in TableOptions.test 2018-03-23 18:39:45 -07:00
Iris Scholten 3550b21106 update GraphOptionsCustomizeFields.test 2018-03-23 17:56:23 -07:00
Iris Scholten efccecad72 update GraphOptionsCustomizableField.test 2018-03-23 17:53:34 -07:00
Iris Scholten 32ddfa7c0b add tests for GraphOptionsFixFirstColumn 2018-03-23 17:42:39 -07:00
Iris Scholten 51fc44d50f move tooltip for time format link to constants and update time format tests 2018-03-23 17:28:55 -07:00
Iris Scholten 5d62e4a059 update GraphOptionsSortBy.test 2018-03-23 17:13:21 -07:00
Iris Scholten 1723292504 update GraphOptionsTimeFormat.test 2018-03-23 16:10:33 -07:00
Jared Scheib 0bce2598eb 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 e2bddbadb3 Implement FancyScrollbar in Customize Fields list 2018-03-22 18:54:16 -07:00
Jared Scheib 385c892f6a Make tslint happy for tests 2018-03-22 15:51:54 -07:00
Jared Scheib 8d915cebc3 Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-22 15:12:22 -07:00
Jared Scheib e4088ce61a Merge branch 'master' into bugfix/task_enabled_correct_check 2018-03-22 14:08:45 -07:00