Commit Graph

5998 Commits (b14a59dbe2c4684bb5a644019a674c0292f974dd)

Author SHA1 Message Date
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
Andrew Watkins b7e39e77f7 Fix Tickscript resave on error bug 2018-04-10 11:18:18 -07:00
Brandon Farmer f526f6dba0 Add basic test around threshold 2018-04-10 11:11:22 -07:00
Andrew Watkins af9e92e953 Change function to getter 2018-04-10 11:03:46 -07:00
Alex Paxton f8302db62e Merge pull request #3157 from influxdata/polish/single-stat-line-colors
Polish/Line+SingleStat Colors
2018-04-10 10:59:03 -07:00
Brandon Farmer 8659693490 Add types to threshold events 2018-04-10 10:47:55 -07:00
ebb-tide 665053195c Resolve typescript errors 2018-04-09 21:06:09 -07:00
ebb-tide 0817c89bb0 Ensure same color for single stat and line graph it is getting value from 2018-04-09 20:44:20 -07:00
Brandon Farmer eb50aacf60 Only send threshold value to parent on blur 2018-04-09 17:19:54 -07:00
Alex P cd9b98d500 Decouple checking logic for colors and last value
This prevents the single stat color from fluctuating when the user has
`fill(null)`
2018-04-09 17:17:05 -07:00
Iris Scholten 89c60a5593 Add catch for getting all services api call 2018-04-09 17:16:27 -07:00
ebb-tide 7aa09418f1 Merge branch 'master' into table/reorder-columns 2018-04-09 16:22:15 -07:00
ebb-tide 72d15e4d1d Fix table ordering 2018-04-09 16:17:31 -07:00
Andrew Watkins 0cf31351e5 Merge pull request #3156 from influxdata/polish/legend-hiding
Fix legend sticking around when opening CEO
2018-04-09 16:03:42 -07:00
Iris Scholten 1b08132941 Update calculateColumnWidth to take into account 1 visible column and lock first is true 2018-04-09 15:42:14 -07:00
Alex P e78266e3fe Use line colors for a line-plus-single-stat cell 2018-04-09 15:24:30 -07:00
Iris Scholten 3b34e3f7db Respond to PR Review 2018-04-09 15:20:55 -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
Alex P dc3c272f19 Repair mechanism for determining text color based on background color 2018-04-09 15:07:26 -07:00
ebb-tide 2d8a447f4b Merge branch 'master' into table/reorder-columns 2018-04-09 15:06:54 -07:00
Iris Scholten 7a6bd0684c Merge pull request #3151 from influxdata/table/column-sizing
Table/Adjust Column Sizing
2018-04-09 14:53:43 -07:00
Iris Scholten 11d4a280bd Update accepted prop type in DeprecationWarning.tsx 2018-04-09 14:51:47 -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
Iris Scholten 096b9fcffa Change link to open new tab instead of change current page 2018-04-09 14:50:06 -07:00
Iris Scholten d2f73f4719 Update PagerDuty v1 deprecation message 2018-04-09 14:49:28 -07:00
Alex P a10bad0248 Use octagon icon in deprecation warning alert 2018-04-09 14:48:39 -07:00
Alex P 475d899555 Apply alert styles to deprecation warning 2018-04-09 14:48:09 -07:00
Alex P 81eb2f9726 Apply alert styles to telegram bot alert 2018-04-09 14:47:50 -07:00
Alex P 2dcb2f1952 Introduce styles for alerts 2018-04-09 14:41:36 -07:00
Iris Scholten ea6657f92a create deprecationWarning component 2018-04-09 14:41:06 -07:00
Iris Scholten 68c2c68357 WIP add pagerduty2 to backend 2018-04-09 14:40:05 -07:00
Iris Scholten 8130ba7df6 add pagerduty2 as handleroption for configuring kapacitor alert 2018-04-09 14:38:29 -07:00
Iris Scholten 58596168ff Add pagerduty2 tab and panel to AlertTabs and show services available to kapacitor 2018-04-09 14:34:55 -07:00
Iris Scholten 49b03b1505 update AlertTabs to only show tabs for services supported by current kapacitor 2018-04-09 14:34:34 -07:00
Iris Scholten 492b4d112a Respond to PR review 2018-04-09 14:29:40 -07:00
Andrew Watkins 6587d1dcac Fix legend hover bug 2018-04-09 12:26:41 -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
Brandon Farmer 5ac5fbe159 Allows users to close a measurement they have open
Applies to:
  - Data Explorer
  - CEO
2018-04-09 10:39:31 -07:00
ebb-tide fe8860380b Prevent time data from receiving threshold colors 2018-04-07 16:10:32 -07:00
ebb-tide 3e10f6c6d5 Prevent time field from receiving threshold coloring. 2018-04-07 16:07:49 -07:00
ebb-tide 1a715cbdf2 Correctly determine which table data should be interpreted as time. 2018-04-07 15:49:31 -07:00
ebb-tide b76536f2ea Maintain order of tableoptions even when new datafields are added from query. 2018-04-07 15:19:25 -07:00
ebb-tide 421f1e4753 Make fieldNames opaque if they are in process of moving 2018-04-07 14:35:25 -07:00
ebb-tide 010e6624c9 Order fields according to tableoptions 2018-04-07 14:18:22 -07:00
Andrew Watkins 75186ae8da Alternate title copy based on state 2018-04-06 17:56:02 -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
Iris Scholten 61ec801869 fix import for reduce 2018-04-06 17:52:48 -07:00
Iris Scholten 655d931c10 Remove separate calculations of label and time column sizes and move sizing function to tableGraph.js 2018-04-06 17:42:57 -07:00
Iris Scholten 0eaa6cd3fb Fix incorrect sizing of label column when horizontal time axis 2018-04-06 17:28:45 -07:00
Brandon Farmer 5fa100f1c5 Bind QueryMakerTab event handlers 2018-04-06 16:57:58 -07:00
Iris Scholten 040aeb7b1f Fix sizing error when switching between vertical and horizontal 2018-04-06 16:53:58 -07:00
Iris Scholten 08a2e4d55d respond to PR review 2018-04-06 16:06:30 -07:00
Iris Scholten d8c878d5bb fix bug to be able to remove teams and recips from OpsGenie config 2018-04-06 16:06:30 -07:00
Iris Scholten 007f8317ce Update Tags to typescript and make changes to OpsGenie to fix type issues accordingly 2018-04-06 16:06:30 -07:00
Iris Scholten f9c2913799 fix linter errors and convert TagsAddButton and ConfirmButton to typescript 2018-04-06 16:06:30 -07:00
Iris Scholten 858edc2c56 WIP update config components from AlertTabs to Typescript 2018-04-06 16:06:30 -07:00
Iris Scholten 9c697f7e66 fix linter warnings in PagerDutyConfig after converting to typescript 2018-04-06 16:06:30 -07:00
Iris Scholten 74bcea59b2 Change PagerDutyConfig to typescript 2018-04-06 16:06:30 -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
Jared Scheib d9869ab875 Strip basepath prefix from DataExplorer redirect
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
2018-04-06 13:20:34 -07:00
Jared Scheib 776e11fd42 Factor out getting basepath to utils fn
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
2018-04-06 13:06:38 -07:00
Andrew Watkins fe3fdb57f0 Merge pull request #3142 from influxdata/timemachine
Timemachine
2018-04-06 13:05:39 -07:00
Iris Scholten 23f398fe3d Update sizing column function to determine whether is label more accureately 2018-04-06 13:03:04 -07:00
Jared Scheib 94835f36f7 Factor our getting root node into utils fn
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
2018-04-06 13:00:01 -07:00
Iris Scholten 41cdd2c003 Update column sizing funciton to take into account time format and field display names 2018-04-06 12:52:59 -07:00
Iris Scholten 7ea64ec332 Use calculated column widths instead of columnsizer widths 2018-04-06 12:51:42 -07:00
Jared Scheib cf7be217d2 Rename DataExplorer import to DataExplorerPage for consistency
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-06 12:28:13 -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 2e510a57b2 undestructure name to simplify component 2018-04-06 11:30:49 -07:00
Alex P b85a69a7b8 Make func list item active class into a getter 2018-04-06 11:30:20 -07:00
Alex Paxton 80e95cae81 Merge branch 'master' into bugfix/y-axis-title 2018-04-06 10:17:52 -07:00
Alex P ffc100f08b Simplify code 2018-04-05 18:02:55 -07:00
Alex P 57dd610732 WIP fix tests 2018-04-05 18:02:43 -07:00
Alex P ae06a71952 Make availableFuncs back into getter 2018-04-05 16:30:44 -07:00
Alex P 98dfdb239c Introduce concept of "Selected Function" and allow arrow key selection 2018-04-05 16:04:47 -07:00
Alex P ac480a9fdc Add styles for function selector 2018-04-05 16:03:53 -07:00
Alex P 90c055b4bc Allow box-shadow styles on non-disabled buttons 2018-04-05 16:03:28 -07:00
Alex P 621227987b Introduce input component specifically for IFQL function selection 2018-04-05 16:02:45 -07:00
Iris Scholten 874be501b5 Add calculations for column sizing 2018-04-05 15:52:36 -07:00
Alex Paxton 399995cd1f Merge pull request #3122 from influxdata/bugfix/thresholds
Fix Thresholds Bugs
2018-04-05 15:22:29 -07:00
ebb-tide bfee0bc3ab Implement sort with react-dnd 2018-04-05 15:04:14 -07:00
Andrew Watkins 6ef22e3677 Merge pull request #3136 from influxdata/bugfix/de-time-range
Bugfix: DataExplorer time range
2018-04-05 14:50:25 -07:00
Andrew Watkins b6583060d5 Check queryConfig on component mount 2018-04-05 13:53:38 -07:00
Andrew Watkins 101459338c Change route in side nav 2018-04-05 10:07:45 -07:00
Andrew Watkins 8b30c8f281 remove component 2018-04-05 10:04:50 -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 315efc8441 Add function parameter inputs 2018-04-05 10:02:42 -07:00
Andrew Watkins 562dc839af Display arguments and thier values
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-05 10:02:42 -07:00
Andrew Watkins 7c487cf0c9 Rename Node to FuncNode
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-05 10:02:42 -07:00
Andrew Watkins 84d85ead7c WIP move rawquery logic in to DE container 2018-04-05 10:02:08 -07:00
ebb-tide 5eec65786b Implement sort with react-sortable-hoc 2018-04-04 20:46:42 -07:00
Brandon Farmer 02b2277a93 handle no fields for a measurement gracefully 2018-04-04 17:51:03 -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 c4d51fcee8 Merge pull request #3127 from influxdata/chore/add-react-router-types
Add @types/react-router to dev dependencies
2018-04-04 14:38:39 -07:00
Andrew Watkins 967d70b106 Update react-router types version 2018-04-04 14:38:06 -07:00
ebb-tide 5818daa1a2 Add @types/react-router to dev dependencies 2018-04-04 14:38:06 -07:00
Andrew Watkins 1ed98613e4 Merge pull request #3126 from influxdata/bugfix/delete-buttons
Bugfix/delete buttons
2018-04-04 14:37:14 -07:00
Alex P 416d70aa27 Truncate y axis label when it exceeds height of line graph
Tried this and having it wrap text, and this was the superior option
2018-04-04 14:28:17 -07:00
Andrew Watkins 5a0ef2487a Update react-router types version 2018-04-04 14:21:06 -07:00
ebb-tide 68b67986a7 Add @types/react-router to dev dependencies 2018-04-04 12:03:47 -07:00
Andrew Watkins 8b09475ed4 Fix remaining broken delete confirmations 2018-04-04 11:50:05 -07:00
Deniz Kusefoglu 2d574ac5c8 Merge branch 'master' into bugfix/annotations-update 2018-04-04 14:43:36 -04:00
Andrew Watkins 4e62a9ac40 Fix orgs not deleting 2018-04-04 11:25:51 -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
lukevmorris 7a3f1d1744 Merge pull request #3120 from influxdata/change-interval-to-duration
:interval: now represents a raw influxql duration
2018-04-04 09:39:49 -07:00
Luke Morris eab7b47060 Everything is in terms of 'points' now 2018-04-03 23:03:07 -07:00
Andrew Watkins d3b1b06726 Update tests 2018-04-03 22:07:31 -07:00
Alex P 58c51822a4 Guard against thresholds list accepting incorrect color types 2018-04-03 21:18:37 -07:00
Alex P 10a0a88b68 Guard against gauges accepting incorrect color types 2018-04-03 21:15:30 -07:00
Alex P d7914c9013 Ensure colors in line graph palettes have unique IDs 2018-04-03 21:14:34 -07:00
Alex P 053aa3d2d8 Ensure unique keys in thresholds lists 2018-04-03 21:14:04 -07:00
Andrew Watkins bc8fcf8b8d Add inital tests 2018-04-03 21:10:06 -07:00
Alex Paxton edde34a745 Merge pull request #3116 from influxdata/ux/improve-rename-cell
Improve Cell Renaming
2018-04-03 20:25:18 -07:00
Luke Morris 402c8a6db5 Pointers and strings 2018-04-03 17:28:57 -07:00
Luke Morris 8c50b8a36c Reintroduce :interval: work
This reverts commit c331e0f48e.

:interval: represents a duration now

queryConfig must recognize both :interval: forms

Another case to consider

Fix broken links in CHANGELOG

Rudimentary migration system w/ :interval: migration

Only looking for :interval: now

Server can expect time(:interval:) from now on

Repair go specs
2018-04-03 16:52:34 -07:00
Andrew Watkins d71763234a Introduce /health endpoint 2018-04-03 15:58:33 -07:00
Alex P 110028c1bb Make cell renaming always an input 2018-04-03 14:14:42 -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
Andrew Watkins daf9022dec Remove Object.assign 2018-04-03 13:21:52 -07:00
Andrew Watkins 957731710a Convert CheckSources to TypeScript 2018-04-03 13:19:48 -07:00
Andrew Watkins 8137ed998f Merge pull request #3112 from influxdata/bugfix/influxdb-delete-user-role
Bugfix: Delete UserRole and handle providing no roles or permissions
2018-04-03 12:02:27 -07:00
ebb-tide 4ccde5e55d Implement suggestions from PR review 2018-04-03 12:00:53 -07:00
Andrew Watkins 63d8d8bfa5 Move functions out of render 2018-04-03 10:56:22 -07:00
Andrew Watkins c00a67f075 Refactor label logic into if statement 2018-04-03 10:53:55 -07:00
Alex Paxton 5852c6c3da Merge branch 'master' into bugfix/save-new-tickscript 2018-04-02 18:24:41 -07:00
nathan haugo 1efa7a257c Update for 1.4.3.1 2018-04-02 17:50:32 -07:00
ebb-tide ff82b4986c remove ts warning 2018-04-02 17:31:11 -07:00
ebb-tide a3218e1027 Add some tests 2018-04-02 17:16:45 -07:00
Alex P bbb6246f33 Render task ID instead of name in TICKscript controls
This ensures a newly created tickscript does not have a blank space here
2018-04-02 17:03:52 -07:00
Alex P 458a8632fd Redirect to URL of TICKscript after creation 2018-04-02 17:03:10 -07:00
Andrew Watkins 9dc3566883 Update UserRoleDropdown getters 2018-04-02 16:26:25 -07:00
Andrew Watkins a169c2cec8 Introduce UserRole dropdown 2018-04-02 16:09:47 -07:00
ebb-tide c6c59bdc4f Reverse unnecessary change 2018-04-02 16:00:37 -07:00
ebb-tide 450d9a47b8 Convert KapacitorRulesPage and SourceIndicator to .tsx 2018-04-02 15:38:48 -07:00
Andrew Watkins f3dbc69b2e Convert and refactor UserRow to TypeScript 2018-04-02 15:20:15 -07:00
Andrew Watkins 42aa891a4c Update styles to fix text overflow 2018-04-02 15:19:23 -07:00
Brandon Farmer 73461351b8 Surround temp var query params with quotes 2018-04-02 14:35:30 -07:00
ebb-tide a89b39b27c Convert KapacitorRulesPage to tsx 2018-04-02 14:33:54 -07:00
Brandon Farmer 7328859476 Merge pull request #3107 from influxdata/fix/template-variable-saving
Fixes template variable editing not allowing saving
2018-04-02 12:57:06 -07:00
Brandon Farmer a6d11a0e12 Fixes template variable editing not allowing saving
- Dropdown and TemplateQueryBuilder components require that a function
  is passed to them, where as TableInput requires that a function builder
  is passed to them for starting editing
2018-04-02 12:46:12 -07:00
Alex P 8b164c98df Merge branch 'master' into moar-colors-n-stuff 2018-04-02 11:51:27 -07:00
Alex P 5624ddc431 Introduce and implement colors schema
Had to address some errors that arose here and there from previous
inconsistencies with the schema
2018-04-02 11:27:35 -07:00
ebb-tide f1d729dc68 Show alerts skeleton even when no kapacitor 2018-04-02 11:23:55 -07:00
Alex P b43d8a553b Extract color formatting function into constant 2018-04-02 10:51:36 -07:00
Deniz Kusefoglu 685d9ce688 Merge branch 'master' into flip-table-graph-feature-flag 2018-04-02 13:28:25 -04:00
ebb-tide f67ff00f24 Show link to configure kapacitor if no kapacitor configured 2018-04-02 09:41:54 -07:00
ebb-tide aebedd84b3 Remove annotation timer at unmount 2018-03-30 18:10:35 -07:00
ebb-tide f35d2f438e Make ajax request for annotations at autorefresh interval 2018-03-30 18:00:29 -07:00
Alex P 7913fc4a08 Revert "Remove unused key in payload"
This reverts commit d3a5d3e51d.
2018-03-30 16:22:04 -07:00
Alex P b54f9568d3 Merge branch 'master' into feature/clone-dashboards 2018-03-30 16:11:02 -07:00
ebb-tide 9a027c1156 Remove requirement on prop that is not required 2018-03-30 16:09:37 -07:00
Alex P 444d460b8e Write test for deleting a dashboard 2018-03-30 15:52:41 -07:00
Alex P ecff2cf261 Redirect user to freshly cloned dashboard after cloning 2018-03-30 15:37:23 -07:00
Alex P d3a5d3e51d Remove unused key in payload 2018-03-30 15:36:57 -07:00
Alex P e3a71757f6 Show clone dashboard button on hover only 2018-03-30 15:36:44 -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
Alex P c3b0905beb Fix Dashboard delete button
Nothing was being passed in, also moved the closure to where the
function is defined
2018-03-30 14:57:45 -07:00
Alex P d818c7aae5 WIP Introduce clone dashboard button 2018-03-30 14:45:47 -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 85b8416036 Merge branch 'master' into polish/improve-add-new-cell 2018-03-30 11:33:24 -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
Alex P 25addb7f74 Use Iris' improved approach for determine most common cell sizes 2018-03-30 11:20:12 -07:00
Brandon Farmer 6f7b5ec901 Merge pull request #3097 from influxdata/migrate-all-users-tabel-row
Convert AllUsersTableRow to typescript
2018-03-30 10:10:14 -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
Alex Paxton fca7e5faf4 Merge branch 'master' into polish/improve-add-new-cell 2018-03-29 17:18:24 -07:00
Brandon Farmer 6a7b699547 Convert AllUsersTableRow to typescript 2018-03-29 16:46:23 -07:00
Andrew Watkins 60ca52ab96 Fix test warning spam 2018-03-29 16:44:24 -07:00
Alex Paxton 62845de0a3 Merge branch 'master' into polish/confirmation-buttons 2018-03-29 16:22:32 -07:00
Alex P 641ec4d098 Remove test for button order
This is now handled with CSS
2018-03-29 16:10:17 -07:00
Brandon Farmer dedd2fd7f3 Define name type for feature flag 2018-03-29 16:07:56 -07:00
Alex P 0c8e15bcf6 Remove obsolete component 2018-03-29 16:07:36 -07:00
Alex P 618904a9a7 Remove obsolete component 2018-03-29 16:07:08 -07:00
Andrew Watkins 931b8ef1f5 Add initial styles 2018-03-29 16:06:10 -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 3ef6af82f6 Add ability to add function nodes to Time Machine
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
Alex P 20b86c4939 Refactor TempVar Manager to use confirm button 2018-03-29 16:06:04 -07:00
Brandon Farmer 22fc9fb263 Remove unused storybook directory 2018-03-29 16:04:37 -07:00
Andrew Watkins 8b11693499 Add ast to test props 2018-03-29 16:04:37 -07:00
Andrew Watkins 53b0ca49fe Remove From.tsx 2018-03-29 16:04:37 -07:00
Andrew Watkins 415ba29926 Fix test 2018-03-29 16:04:37 -07:00
Andrew Watkins c39ba7d69b Fix production type error logging 2018-03-29 16:04:37 -07:00
Andrew Watkins 54a37bfdb1 Fix broken test 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 f6264ffec6 Change /suggestions response format to include params
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:03:26 -07:00
Andrew Watkins a55d50fd4b Wrap ifql navigation with feature flag 2018-03-29 16:03:26 -07:00
Andrew Watkins 9083226487 Introduce ClickOutside component 2018-03-29 16:02:32 -07:00
Andrew Watkins 376ce0db87 Introduce filtering to FuncButton 2018-03-29 16:02:32 -07:00
Andrew Watkins d4000e7b5b Add onClickOutside and scrolling to FuncsButton 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 d61fa7fcd9 Add ifql to links 2018-03-29 16:01:01 -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
Brandon Farmer 0409967dfc Merge pull request #3094 from influxdata/fix/ensure-template-variables-save
Ensure that template variables always save
2018-03-29 15:59:45 -07:00
Andrew Watkins f667d42d10 Merge pull request #3095 from influxdata/chore/create-class-removal
Chore createClass removal - Older API's hate them
2018-03-29 15:48:06 -07:00
Alex P a733909409 Refactor influxdb roles admin tables to use Confirm Button 2018-03-29 15:40:24 -07:00
Andrew Watkins 8feb26313e Remove tsx extension 2018-03-29 15:36:32 -07:00
Alex P 164649ca32 Remove call to nonexistent function 2018-03-29 15:34:29 -07:00
Andrew Watkins 459659da68 Fix proptype requirements 2018-03-29 15:33:54 -07:00
Alex P 68e2a1480a Refactor dashboards index table to use confirm buttons 2018-03-29 15:28:40 -07:00
Alex P 03f350d352 Fix alignment of delete button 2018-03-29 15:25:24 -07:00
Alex P d55da22f75 Refactor providers table to use confirm buttons 2018-03-29 15:20:16 -07:00
Alex P 2ece22f71a Refactor organizations table to use latest patterns 2018-03-29 15:13:30 -07:00
Andrew Watkins fe2c487c62 Move GraphTips to TypeScript 2018-03-29 14:56:14 -07:00
Andrew Watkins f86c9502d2 Convert NoKapacitorError to TypeScript 2018-03-29 14:53:54 -07:00
Andrew Watkins ad957f4e4e Convert NotFound to TypeScript 2018-03-29 14:49:56 -07:00
Alex P 3d00a99b8d Refactor influxdb admin database tables to use latest patterns 2018-03-29 14:47:47 -07:00
Andrew Watkins c2ef0eba2b Convert ResizeHandle to TypeScript 2018-03-29 14:46:31 -07:00
Andrew Watkins 10ad7f2ab6 Convert SideNav to TypeScript 2018-03-29 14:40:48 -07:00
Andrew Watkins e3529ee636 Convert DataExplorerPage to tsx 2018-03-29 14:07:53 -07:00
Andrew Watkins facd30e78b Remove dead code 2018-03-29 14:07:20 -07:00
Andrew Watkins bc0381b510 Delete dead code 2018-03-29 13:56:39 -07:00
Andrew Watkins a8893bef38 Remove dead code 2018-03-29 13:55:22 -07:00
Andrew Watkins 79c5d18102 Convert side nav to tsx 2018-03-29 13:54:36 -07:00
Andrew Watkins 122971b413 Remove dead code 2018-03-29 13:39:48 -07:00
Brandon Farmer eeed115713 Ensure that template variables always save 2018-03-29 13:38:47 -07:00
Andrew Watkins 8fb83bfa1b Convert QueryMakerTab to tsx 2018-03-29 13:38:19 -07:00
Alex P b42027b4db Refactor Query Row to use ConfirmButton 2018-03-29 11:38:35 -07:00
Alex P 27bb19d6f7 Replace delete influxdb user delete button with confirm button 2018-03-29 11:29:44 -07:00
ebb-tide df4839c420 Fix negated condition 2018-03-29 11:22:53 -07:00
Alex P 7f50403114 Rename ConfirmButtons to "ConfirmOrCancel" 2018-03-29 11:22:13 -07:00
ebb-tide d78dbb939e Fix delay in sortBy field name propagation 2018-03-29 11:18:53 -07:00
ebb-tide cff8f08494 Letting code breathe 2018-03-29 11:03:01 -07:00
ebb-tide dfb7527809 Improve naming of time series transformer functions 2018-03-29 10:56:27 -07:00
Alex P eee9b94cc2 Use ConfirmButton when deleting a InfluxDB Connection 2018-03-29 10:50:22 -07:00
Alex P ceb2ed2b83 Merge branch 'master' into moar-colors-n-stuff 2018-03-29 10:26:27 -07:00
Alex P a84401bb21 Merge branch 'master' into polish/improve-add-new-cell 2018-03-29 10:24:07 -07:00
ebb-tide 91145f22dc Merge branch 'master' into feature/table-graph-polish 2018-03-29 09:56:54 -07:00
ebb-tide dbb6a31a66 Use fast.js for map, reduce, and filter 2018-03-29 09:54:29 -07:00
ebb-tide a4c42865a4 include unix time in time format length calculations 2018-03-28 18:28:38 -07:00
Iris Scholten 3e33bf3982 Merge branch '1.4.3.x' 2018-03-28 18:26:00 -07:00
ebb-tide 5a66eccd47 Merge branch 'master' into flip-table-graph-feature-flag 2018-03-28 17:45:48 -07:00
Alex P 57c554b3f1 Make current org delete user UX consistent with all users table 2018-03-28 17:04:18 -07:00
Alex P dddc8a2807 Remove lodash 2018-03-28 17:04:06 -07:00
Alex P a7a22dbb45 Use plain JS arrow function instead of lodash curry 2018-03-28 17:03:46 -07:00
Alex Paxton b85a0263b7 Merge pull request #3073 from influxdata/bugfix/delete-chrono-user
Fix Delete Button in All Users Admin Table
2018-03-28 16:59:33 -07:00
Alex P 05f58ef7ec Exit annotation editing mode when user leaves dashboard 2018-03-28 16:29:52 -07:00
Alex P ebaa8172b9 Fix typo 2018-03-28 16:29:38 -07:00
Alex P f3cdfa923d Limit render of Done Editing button to cell types that support annotations 2018-03-28 16:29:18 -07:00
Luke Morris 5863a5e764 Support custom time range in annotations api wrapper 2018-03-28 14:13:34 -07:00
Alex Paxton d2f6906236 Merge branch 'master' into polish/done-editing-annotations 2018-03-28 14:12:43 -07:00
Iris Scholten e3556a2ae6 Merge pull request #3082 from influxdata/fetch-annotations-custom-time-range
Support custom time range in annotations api wrapper
2018-03-28 14:02:02 -07:00
Alex P 88b4353eee Make new dashboard cells match the most common cell size 2018-03-28 14:00:10 -07:00
Alex P b40601e50c Add new cells at bottom of dashboard 2018-03-28 13:33:03 -07:00
Andrew Watkins e1ef619d11 Fix date format 2018-03-28 13:10:02 -07:00
Alex P d59f851256 Exit annotation editing mode when user leaves dashboard 2018-03-28 12:36:57 -07:00
Alex P e4106265ee Fix typo 2018-03-28 12:31:44 -07:00
Andrew Watkins c63e511872 Fix date format 2018-03-28 11:52:32 -07:00
Iris Scholten 21daf088c9 update versions with bumpversion 2018-03-28 11:34:23 -07:00
Luke Morris 850e8c5533 Support custom time range in annotations api wrapper 2018-03-28 11:11:09 -07:00
ebb-tide bde397be68 Flip feature flag for table graphs 2018-03-28 11:00:27 -07:00
Iris Scholten d6351a3716 Merge pull request #3054 from influxdata/table-tests
Table Graph tests
2018-03-28 10:55:01 -07:00
Alex P 5e4e17c65f Limit render of Done Editing button to cell types that support annotations 2018-03-28 10:36:41 -07:00
Alex Paxton 9424847e9f Merge branch 'master' into bugfix/delete-chrono-user 2018-03-28 10:09:06 -07:00
Alex P a65b482419 Guard against colors being passed in as an empty array 2018-03-28 10:04:33 -07:00
Andrew Watkins 173509c0ce Merge pull request #3068 from influxdata/bugfix/graph-fill
Fix graph fill bug: Other graphs hate him
2018-03-28 09:49:18 -07:00
Andrew Watkins e3328cba4b Merge pull request #3074 from influxdata/spike/feature-flag
Feature Flag with this one weird trick
2018-03-28 09:49:02 -07:00
Andrew Watkins bfbfcc04bd Introduce feature flag component
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-27 17:19:03 -07:00
Alex P aa08edac99 Fix some of the minute spacing problems in table graph 2018-03-27 17:00:05 -07:00
Alex P e1c6febc84 Merge branch 'master' into polish/table-column-measurement 2018-03-27 16:52:02 -07:00
Alex P 5d3be94f04 Make RuleGraph comply with new shape of overrideColors 2018-03-27 15:33:06 -07:00
Alex P 98c2a67575 Make current org delete user UX consistent with all users table 2018-03-27 15:08:09 -07:00
Alex P 4bd5f71cd2 Remove lodash 2018-03-27 15:06:58 -07:00
ebb-tide b4f5081ccc Improve timeformat options 2018-03-27 15:06:33 -07:00
Alex P c491f74cd5 Use plain JS arrow function instead of lodash curry 2018-03-27 15:03:35 -07:00
Alex P 7fab9b3f64 Improve color palette contrast 2018-03-27 12:19:56 -07:00
Alex P c32c0eb24a Silence console error 2018-03-27 12:19:23 -07:00
Alex P cf30c773ea Improve contrast of color palette 2018-03-27 12:05:12 -07:00
Alex P 763ce1b353 Remove obsolete code 2018-03-27 12:03:03 -07:00
Andrew Watkins 6995bdfbca Fix dropdowns rendering 0 2018-03-27 11:47:25 -07:00
Alex P 4b4425e45c Improve color selection for graphs with 1 or 2 lines 2018-03-27 11:41:13 -07:00
Deniz Kusefoglu 0b35690252 Merge pull request #3059 from influxdata/bugfix/fix-hoverTime
Bugfix/fix hover time
2018-03-27 11:24:15 -07:00
ebb-tide 99c1481332 Make calcScrollToColRow function a lot nicer 2018-03-27 11:02:35 -07:00
Andrew Watkins 8e204b7a0b Fix graph fill bug 2018-03-27 09:12:33 -07:00
Alex P 7d08f0bf23 Remove dots from static legend 2018-03-26 19:33:47 -07:00
ebb-tide 4b08bdd42a fix default time format to include fractions of seconds 2018-03-26 19:14:48 -07:00
Alex P 6edb4f30e4 Write reducer test for updating line graph colors 2018-03-26 19:14:06 -07:00
Alex P a3fc9b778c Implement updating and rendering of line color scales 2018-03-26 19:10:19 -07:00
Alex P c1f3de244c Introduce component for selecting color scales 2018-03-26 19:09:29 -07:00
ebb-tide bf2361efee Store table graph labels in state 2018-03-26 18:38:13 -07:00
ebb-tide c3d12ee1d0 Determine hoverStateIndex correctly even if table graph is filtered and sorted
Co-authored-by: Iris Scholten <iris@influxdata.com>
2018-03-26 17:47:28 -07:00
Alex P 635b0b91cf WIP Introduce a handful of color presets 2018-03-26 16:55:46 -07:00
Alex P a28a30d45c Refactor color operations to use Chroma 2018-03-26 16:24:15 -07:00
Alex P 853a3c0d6e Add Chroma.js Package 2018-03-26 16:23:46 -07:00
ebb-tide 135fe527b6 Fix hoverTime even in sorted conditions 2018-03-26 15:54:35 -07:00
Andrew Watkins 8e58a8859b Delete DropdownMenu.js 2018-03-26 14:42:56 -07:00
Andrew Watkins 15bf15cc7f Convert Dropdown to TypeScript 2018-03-26 14:42:39 -07:00
Andrew Watkins b6530b9c09 Convert types file from tsx to ts and add new types 2018-03-26 14:42:25 -07:00
Alex P 1e1d0c656f Merge branch 'master' into moar-colors-n-stuff 2018-03-26 13:14:53 -07:00
Alex P c74adab816 Prototype HSL shifting color spectrum 2018-03-26 13:14:42 -07:00
Iris Scholten aad5bce052 add test for processing TableGraph data 2018-03-26 12:21:33 -07:00
Alex P ca8ae8e9ca Factor difference in column sizes into calculation to remove gap on right side of table 2018-03-26 12:04:13 -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
ebb-tide 0d628bfdab Reset hoverTime on mouse leave instead of mouse out 2018-03-26 09:03:14 -07:00
Iris Scholten 5789f41b7c update getters in TableOptions.test 2018-03-23 18:39:45 -07:00
Jared Scheib da8d8804e1 Merge pull request #3048 from influxdata/bugfix/multi-select-dropdown
Prevent Multi-Select Dropdown in InfluxDB Admin Users and Roles tabs from losing selection state
2018-03-23 18:27:00 -07:00
Jared Scheib b58621174e Prevent InfluxDB Admin reset state of MultiSelectDropdown on props refresh 2018-03-23 18:10:49 -07:00
Jared Scheib 0a1ddf7a8d Revert "Prevent props change from affecting local state"
This reverts commit f2bb8db12a.
2018-03-23 18:02:57 -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 e58e184710 Merge branch 'master' into table-tests 2018-03-23 17:14:12 -07:00
Iris Scholten 5d62e4a059 update GraphOptionsSortBy.test 2018-03-23 17:13:21 -07:00
Iris Scholten 2bcbed9157 create a class for puestionmarkTooltip in a link and format tooltip text 2018-03-23 16:50:28 -07:00
Iris Scholten 1723292504 update GraphOptionsTimeFormat.test 2018-03-23 16:10:33 -07:00
Iris Scholten e3a33d0e75 open moment formatting guide when clicking on the question mark in the time format table component 2018-03-23 15:24:44 -07:00
Alex P 8f53fb5e1f Simplify logic 2018-03-23 15:14:27 -07:00
Alex P f2bb8db12a Prevent props change from affecting local state 2018-03-23 15:14:18 -07:00
Iris Scholten cc0720cb34 fix prettier errors 2018-03-23 14:13:41 -07:00
Iris Scholten caf0409d5a remove unused var 2018-03-23 14:06:21 -07:00
Iris Scholten c703b14042 respond to review 2018-03-23 14:06:21 -07:00
Iris Scholten 9bd0cfac23 fix bug with fieldNames not updating in time for calculating column size 2018-03-23 14:06:21 -07:00
Iris Scholten 609c77b77a fix issue of no fields to customize when switching to table graph type 2018-03-23 14:06:21 -07:00
Andrew Watkins 43f59f5809 Merge pull request #3044 from influxdata/lint-scripts
Add linting fix scripts
2018-03-23 11:20:10 -07:00
Alex Paxton b2989bc7c8 Merge pull request #3042 from influxdata/refactor/make-notifications-functions
Make Notification Constants into Functions
2018-03-23 11:18:59 -07:00
Andrew Watkins ee09aa5594 Add jslinting to Makefile 2018-03-23 11:08:06 -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 Paxton 043f4f0893 Merge pull request #3041 from influxdata/rename-fix-column
Change "Fix First Column" to "Lock First Column"
2018-03-23 09:32:26 -07:00
Alex P 03ce32e082 Improve database confirm delete copy 2018-03-22 21:51:14 -07:00
Alex P 0e0ef31020 Replace data write errorThrown with notify
Moving to copy as well
2018-03-22 21:42:01 -07:00
Alex P 2155217a60 Replace errorThrown with notify for csv download fail notification
Also moving to copy
2018-03-22 21:38:44 -07:00
Alex P 240e31d823 Replace JSON load failure error with notification; move to notifications copy 2018-03-22 21:23:28 -07:00
Alex P fa3405e1db Centralize new version and loading local settings notifications 2018-03-22 21:08:34 -07:00
Alex P c183fc7989 Use notify when flushing error queue if error type is object 2018-03-22 21:06:09 -07:00
Alex P 473ed1aa4a Fix linter errors 2018-03-22 20:45:51 -07:00
Alex P 7eee681443 Refactor notifications to be functions 2018-03-22 20:44:19 -07:00
Alex P ceaf9c1e09 WIP Refactor notifications to be functions 2018-03-22 20:26:55 -07:00
Alex P 420fb517fa Rename notifications that are already functions to camel case 2018-03-22 20:15:00 -07:00
Alex P 3da13afb5a Refactor dashboard notifications 2018-03-22 19:57:32 -07:00
Alex P 72458308b6 Refactor tickscript notifications 2018-03-22 19:55:51 -07:00
Alex P 7c88f82ca0 Update copy 2018-03-22 19:00:49 -07:00
Alex P e2bddbadb3 Implement FancyScrollbar in Customize Fields list 2018-03-22 18:54:16 -07:00
Alex P 40c07242a2 Polish Customizable Fields UI
Also moving styles to own stylesheet
2018-03-22 18:21:34 -07:00