Commit Graph

6346 Commits (8cade8458d0de5f9398daa2ff3ef0afc0a9386fd)

Author SHA1 Message Date
ebb-tide de438404cc Fix table coloring bug 2018-05-01 15:57:54 -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
Brandon Farmer 4241691b6b Guard against missing me 2018-05-01 15:48:08 -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 83de9a977f Update getActiveQuery to set isQuerySupportedByExplorer in active query 2018-05-01 15:32:23 -07:00
Alex P 26bae2da6f Send notification when query text contains user-defined template variable 2018-05-01 15:32:22 -07:00
Alex P ab1838889a Add disabled styles for field, tag, and measurement items 2018-05-01 15:32:22 -07:00
Iris Scholten 23940c0961 Add types for CEO actions 2018-05-01 15:32:22 -07:00
Iris Scholten f8940863f4 Convert files to Typescript and fix errors
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-05-01 15:32:22 -07:00
Iris Scholten 39278205d7 Convert dashboard QueryMaker & children to TypeScript
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-01 15:32:22 -07:00
Jared Scheib 691805dc48 Add types to handleEditRawText in CEO
Remove duplicate Query type, which was actually a QueryConfig

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-05-01 15:32:22 -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
Brandon Farmer f232853ef1 Fixes inputting negative numbers from gauges 2018-05-01 14:40:57 -07:00
Alex Paxton bb37a872e9 Merge branch 'master' into enhancement/introduce-overlay-layer 2018-05-01 14:16:50 -07:00
Brandon Farmer 86a7ae507a Transform result data on component did mount 2018-05-01 13:21:03 -07:00
Brandon Farmer 9e09b4db30 Fix prettier errors 2018-05-01 13:14:57 -07:00
Brandon Farmer 6ab0718d1c Load table graph state on componentDidMount
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-05-01 13:14:56 -07:00
ebb-tide dcd0874156 dont require props that are not required. 2018-05-01 11:43:36 -07:00
ebb-tide 2e3db26b06 Fix backend defaults for decimal places 2018-05-01 11:19:11 -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 a2062245af Change location of decimal places field 2018-04-30 13:56:35 -07:00
ebb-tide 7bb238440a Use decimal points in calculating table widths 2018-04-30 13:49:57 -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
Brandon Farmer bb5e623273 Show message when there are no results 2018-04-27 17:06:39 -07:00
Brandon Farmer 844d860cd9 Convert and refactor AutoRefresh 2018-04-27 17:06:39 -07:00
Andrew Watkins bfdce4594f Fix formatting for body sources missing newlines 2018-04-27 10:33:08 -07:00
Brandon Farmer 2656f610d5 Return correct value in column for falsey data
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-04-26 16:59:01 -07:00
Brandon Farmer 25681ce553 Merge pull request #3318 from influxdata/fixes/line-graph-with-strings
Fixes line graph data with strings errors
2018-04-26 15:57:00 -07:00
Andrew Watkins fe97935e8f Prettier 2018-04-26 13:47:57 -07:00
Andrew Watkins 239da1103e Fix sources not being provided by props 2018-04-26 13:34:58 -07:00
Andrew Watkins 97919903df Prettier 2018-04-26 13:34:41 -07:00
Andrew Watkins a91ab8412c Fix OverlayTechnology 2018-04-26 13:21:56 -07:00
Alex P 97edb7d316 Capitalize "overlayNode" prop 2018-04-26 12:49:20 -07:00
Alex P f077d28ec4 Remove context types from template query builder dropdowns
This is partially working
2018-04-26 12:48:13 -07:00
ebb-tide 39f2eeb146 Add timeFormat and fieldOptions to default new cell 2018-04-26 12:30:01 -07:00
ebb-tide b91e1274cf DEFAULT's should come first 2018-04-26 11:15:33 -07:00
Alex Paxton 90584072a6 Merge pull request #3313 from influxdata/polish/chrono-admin-tabs
Polish Chronograf Admin Tabs
2018-04-26 11:09:57 -07:00
Deniz Kusefoglu fba9ed88bf Merge pull request #3316 from influxdata/table/handle-errors
Table/bug squashing
2018-04-25 17:51:08 -07:00
ebb-tide 78bfe2cec3 PR review suggestions 2018-04-25 17:05:56 -07:00
Brandon Farmer 8b52c83c40 Stricter check for line graph data 2018-04-25 16:42:30 -07:00
ebb-tide e0dc57e4e3 Fix linter error. 2018-04-25 15:11:01 -07:00
Alex Paxton af15307678 Merge pull request #3307 from influxdata/polish/condense-dash-header
Shrink Width of Time Range & Auto Refresh Dropdowns
2018-04-25 15:05:58 -07:00
ebb-tide d9455a7646 Restore groupBy naming behavior for lineGraphs 2018-04-25 14:53:54 -07:00
Brandon Farmer 973d514c04 Properly handle strings in data for line graphs 2018-04-25 14:35:36 -07:00
ebb-tide 3615f13c21 Pass ability to editQueryStatus to all graph types 2018-04-25 14:26:00 -07:00
ebb-tide 2892a22e04 Handle responses from queries with errors 2018-04-25 14:25:37 -07:00
Alex P 3afa98ce73 Remove obsolete component 2018-04-25 12:30:11 -07:00
Alex P 1589282891 Implement SubSections in Chronograf admin page 2018-04-25 12:29:58 -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
Alex P 940b1e9234 Make time range dropdown more compact 2018-04-24 17:14:23 -07:00
Alex P 0bdc032ce6 Make auto refresh dropdown more compact 2018-04-24 17:14:11 -07:00
Alex P 3e5a27ce6f Polish error state in line graph 2018-04-24 16:49:38 -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
Alex P 6c364a9efe Set overlay back to initial state when dismissed 2018-04-24 15:54:10 -07:00
Deniz Kusefoglu 550a82d1b8 Merge pull request #3304 from influxdata/table/fix-click-to-sort
replace sortField and sortDirection everywhere
2018-04-24 15:51:07 -07:00
Alex P aede92130b Cleanup 2018-04-24 15:38:03 -07:00
Alex P ae4fd18a89 Convert to typescript 2018-04-24 15:24:00 -07:00
Alex P 8171fd5c76 Make error go bye bye 2018-04-24 15:17:31 -07:00
Andrew Watkins f0ee615e54 Fix tests 2018-04-24 15:02:19 -07:00
Andrew Watkins ca1cb97225 Fix not handling literal variable declarations 2018-04-24 15:02:13 -07:00
ebb-tide 2a2a315e46 replace sortField and sortDirection everywhere 2018-04-24 15:02:09 -07:00
Brandon Farmer f7457f7753 Remove error handling debug flag 2018-04-24 15:00:08 -07:00
Brandon Farmer eaa3ef4623 Add custom error handling for line graphs 2018-04-24 14:52:12 -07:00
Andrew Watkins 996c143536 Fix boolean arg 2018-04-24 14:51:38 -07:00
Alex P c463699d5f Merge branch 'master' into enhancement/introduce-overlay-layer 2018-04-24 14:51:27 -07:00
Alex P ae28dd5385 Animate overlays in and out 2018-04-24 14:50:58 -07:00
Andrew Watkins 6d5924adb7 Fix FROM db dropdown 2018-04-24 14:49:44 -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
Brandon Farmer 534276dec3 Merge pull request #3297 from influxdata/fixes/infinite-looping-dygraph
Prevent dygraph from continously updating
2018-04-24 14:12:01 -07:00
Iris Scholten 9e97934c12 Merge pull request #3299 from influxdata/fix/pager-duty-typo
Fix Deprecation to say PagerDuty v1 instead of v2
2018-04-24 13:53:44 -07:00
Deniz Kusefoglu d2af17d1e5 Merge pull request #3282 from influxdata/table/group-by
Table/group by
2018-04-24 13:43:47 -07:00
Iris Scholten 8029b38604 Fix Deprecation to say PagerDuty v1 instead of v2 2018-04-24 13:41:39 -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
Brandon Farmer 8ebd3a3cd9 Fix linting errors 2018-04-24 13:18:24 -07:00
Brandon Farmer 22c094aa30 Prevent dygraph from continously updating 2018-04-24 11:46:48 -07:00
Iris Scholten 20ce9c4c1d Merge pull request #3290 from influxdata/add-pager-duty-v2
Add pager duty v2 in UI
2018-04-24 11:16:00 -07:00
Andrew Watkins 29fe9d1119 Fix delete to work with variable declarations 2018-04-24 10:54:17 -07:00
Iris Scholten 300986ba20 Respond to PR Review
Fix types in Deprecation warning and Extract boolean comparison from ternary
2018-04-24 10:53:18 -07:00
Andrew Watkins 1b80d2a2ff Use correct ID in funcNode 2018-04-24 09:33:32 -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 66d64413ad Fix linter errors 2018-04-23 22:36:06 -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
Andrew Watkins 4bda9aeb41 Linter 2018-04-23 19:32:07 -07:00
ebb-tide 3481dc987d Make cell type a required prop again. 2018-04-23 19:20:55 -07:00
ebb-tide f5ea3727e2 Refactor groupByTimeSeriesTransform 2018-04-23 19:16:34 -07:00
ebb-tide d4a09d3dac UpdateTableOptions with data chance instead of when queryASTs changes. 2018-04-23 18:33:02 -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
Alex P 96b47b4dbe Implement Overlay Technology on Template Variable Manager 2018-04-23 17:15:58 -07:00
Andrew Watkins f6c387c809 Introduce new context and ExpressionNode component 2018-04-23 17:12:14 -07:00
ebb-tide 3b32ab98bc Fix DragDropContext error, by converting GraphOptionsCustomizeFields to a class. 2018-04-23 16:01:41 -07:00
ebb-tide 752956ba52 Merge branch 'master' into table/group-by 2018-04-23 15:43:47 -07:00
Alex P 352a5db058 Reorganize styles 2018-04-23 15:39:30 -07:00
Andrew Watkins 88b22343e9 WIP clear up errors and warnings 2018-04-23 15:32:06 -07:00
Andrew Watkins f3116aaab0 WIP move / change shape of body function 2018-04-23 15:27:27 -07:00
Alex P 85fb70fa87 Introduce OverlayTechnology with accompanying styles, actions, and reducer 2018-04-23 15:24:43 -07:00
Brandon Farmer 1fd011f1cc Only update template variables that are not csv type 2018-04-23 14:59:13 -07:00
Iris Scholten c812c0ff84 Merge branch 'master' into add-pager-duty-v2 2018-04-23 14:00:17 -07:00
Brandon Farmer 7081f0a1a5 Small tweaks 2018-04-23 13:54:03 -07:00
Brandon Farmer 1fb7a3cc48 Merge pull request #3289 from influxdata/fixes/crosshair-error
Fixes crosshair error when hovertime is zero
2018-04-23 12:18:58 -07:00
Brandon Farmer 745c27a4cd Only update table options when in CEO 2018-04-23 10:54:04 -07:00
Brandon Farmer f209ccd1e4 Fixes crosshair error when hovertime is zero 2018-04-23 10:43:00 -07:00
Alex Paxton 1d594d8fcf Merge pull request #3283 from influxdata/enhancement/generic-page-tabs
Generic Page Tabs
2018-04-23 09:54:56 -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
Andrew Watkins 60fa6567ac Merge pull request #3268 from influxdata/chore/buttery-performance
Buttery performance
2018-04-20 21:18:01 -07:00
Alex P e7a8fb305b Write render tests for component 2018-04-20 20:34:55 -07:00
Alex P 1136e750f4 Fix highlight of active tab 2018-04-20 20:34:41 -07:00
Andrew Watkins 0ec1bc6ae8 Allow babel-jest to load dygraphs module 2018-04-20 20:02:30 -07:00
Alex P 4880f14347 Convert tabs to subcomponent 2018-04-20 19:48:09 -07:00
Iris Scholten 5da9a00b93 Add ErrorHandling decorator to crosshairs 2018-04-20 17:08:19 -07:00
Iris Scholten 6d98ff5d01 Remove leftover isDragging 2018-04-20 17:05:01 -07:00
Iris Scholten 0bcbf6297d Fix bug with Dygraph legend not rendering until rerender triggered 2018-04-20 17:00:08 -07:00
Alex P fd7ebe6807 Set autocomplete using string instead of boolean
Fixing this in response to a browser error I noticed in this branch
after changing a bunch of things
2018-04-20 16:49:38 -07:00
ebb-tide 8c5c2fa1ed remove js component cell editor overlay 2018-04-20 16:28:52 -07:00
Alex P 7d8568af48 Refactor sidenav to allow more specificity for highlighting nav items 2018-04-20 16:24:44 -07:00
Iris Scholten a06a391dae Add types and fixed linter errors 2018-04-20 16:20:13 -07:00
Alex Paxton 469d86edf7 Merge branch 'master' into ux/threshold-logic 2018-04-20 16:13:19 -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
ebb-tide 4c2c2afd46 Remove unused interfaces 2018-04-20 15:50:38 -07:00
ebb-tide 057223a8a6 Fix if two queries where one has no groupBy. 2018-04-20 15:48:03 -07:00
ebb-tide 5aa134851b Fix celleditoroverlay errors. 2018-04-20 15:47:23 -07:00
Alex P bfba090291 Replace InfluxDB AdminTabs component with SubSections component 2018-04-20 15:45:55 -07:00
Alex P 5270e11a49 Introduce subsections component 2018-04-20 15:44:46 -07:00
Iris Scholten 0cab8a414e Add more types 2018-04-20 15:41:34 -07:00
Iris Scholten 2b5857b994 Convert DygraphLegend to typescript 2018-04-20 15:36:03 -07:00
ebb-tide 0cd15580a7 Removed unused queryAST interface 2018-04-20 14:51:15 -07:00
ebb-tide e021bb9ef8 Fetch queryASTs only if graph type is table 2018-04-20 14:50:57 -07:00
Brandon Farmer 017ae93e3c Fix base path for kapacitor logs 2018-04-20 14:34:45 -07:00
Andrew Watkins f6d8a9ea41 Fix legends hanging around 2018-04-20 13:54:35 -07:00
ebb-tide 3f7ec2818c Connect TableGraph to redux, update fieldNames if query changes. 2018-04-20 13:50:03 -07:00
ebb-tide 5a34bde959 Stop passing around queryASTs 2018-04-20 13:48:38 -07:00
Brandon Farmer f81cd287bd Swap default error to be a Component instead of PureComponent 2018-04-20 11:54:02 -07:00
Brandon Farmer 45359191bf Extendable error handling 2018-04-20 11:10:34 -07:00
Alex Paxton 52ad822624 Merge pull request #3276 from influxdata/bugfix/jittery-tempvar-dropdowns
Fix Jittery Template Variable Dropdowns
2018-04-20 10:38:05 -07:00
Alex P addd5b6724 Change color when value is greater than or equal to a threshold
This seems to be the expected behavior
2018-04-20 10:28:51 -07:00
Alex P 15c738e428 Guard against empty values array 2018-04-20 10:15:34 -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
Alex Paxton c33a1c44a2 Merge pull request #3267 from influxdata/bugfix/tickscript-editor-overflow
Fix TICKscript Editor Overflow
2018-04-20 09:41:39 -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
Brandon Farmer 6c1bcb3d4b Merge pull request #3274 from influxdata/fixes/viewer-changes-temp-var
Guard against missing me
2018-04-19 16:37:06 -07:00
Alex P 123a6d0455 Expand min and max sizes for tempvar dropdowns 2018-04-19 16:23:48 -07:00
Alex P 4ddb35c972 Fix dropdown size calculation
Can’t pass an object into calculateSize
2018-04-19 16:23:29 -07:00
Brandon Farmer d399e6e864 Show proper name for components with error handling 2018-04-19 16:19:20 -07:00
Brandon Farmer 56e991cba4 Guard against missing me 2018-04-19 15:19:13 -07:00
Brandon Farmer 6d7126b634 Move KapacitorForm to class based component 2018-04-19 14:27:38 -07:00
Andrew Watkins 4f00cfbba8 WIP Stop crosshair flickering 2018-04-19 13:11:18 -07:00
Andrew Watkins 1ee99a5d46 Delete MiniGraph 2018-04-19 11:08:28 -07:00
Andrew Watkins eaf7c73e7b Delete crosshair 2018-04-19 11:05:57 -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 b502d0ca30 Update styles to match latest classname provided by code mirror 2018-04-19 10:45:54 -07:00
Andrew Watkins b470a8f6f0 Fix legends not appearing on new cells 2018-04-19 10:43:53 -07:00
Alex Paxton 7ba0920212 Merge pull request #3259 from influxdata/polish/small-details
Polish Some Small Details
2018-04-19 10:29:33 -07:00
Andrew Watkins b0f00c074e WIP legened wont render on initial render 2018-04-19 10:26:52 -07:00
Andrew Watkins 42e59d74aa Buttery smoothness 2018-04-19 10:26:52 -07:00
Andrew Watkins 40b62f5723 WIP dont update dygraph unless there are changes 2018-04-19 10:26:52 -07:00
Andrew Watkins d9a28708f7 WIP convert Crosshair to TypeScript 2018-04-19 10:26:52 -07:00
Alex P 27443d4c7d Organize code to prevent new dashboards from having an unnamed cell 2018-04-19 10:24:45 -07:00
Alex P 334e8dfa27 Show new cell name in new cell notification 2018-04-19 10:22:50 -07:00
Alex P 0695904075 Fix spelling error 2018-04-19 10:22:09 -07:00
Andrew Watkins 7e909c2752 Change header size 2018-04-19 10:07:21 -07:00
Andrew Watkins 229fa9b063 Replace casting with instantiating an array of with Body type 2018-04-19 10:07:06 -07:00
Andrew Watkins 413eedeb4b Switch from string interpolation to .toString string prototype 2018-04-19 10:00:27 -07:00
Andrew Watkins 2b3b93fb37 Fix test 2018-04-19 09:54:35 -07:00
Brandon Farmer 3033783695 Merge pull request #3252 from influxdata/fixes/selecting-tickscript-editor
Allows users to select tickscript editor with mouse
2018-04-19 09:50:25 -07:00
Brandon Farmer 6c3775d076 Correct autocomplete value 2018-04-19 09:38:21 -07:00
ebb-tide 5e3892bc73 Generate unique name for groupby fields 2018-04-18 18:47:48 -07:00
Alex P 20dca2639c Fix lopsided cell resize lines 2018-04-18 17:59:12 -07:00
Alex P 4700f67d24 Fix resizer handle overflow 2018-04-18 17:59:00 -07:00
Alex P ccd9136b5d Shrink dashboard text
Static legend items are smaller as well
2018-04-18 17:44:01 -07:00
Andrew Watkins e5a3e1fa41 Update addNode for use with multiple expressions 2018-04-18 17:27:57 -07:00
Brandon Farmer 90b0b2deb8 Convert stateful PureComponents to Component
Removing errors caused by shouldComponentUpdate being called
2018-04-18 17:12:01 -07:00
Brandon Farmer 24b3956aa5 Extract logic to update notification height 2018-04-18 17:11:29 -07:00
ebb-tide d721fe590f Fill with dashes instead of slashes or nulls 2018-04-18 16:50:42 -07:00
ebb-tide cb265aeb8c Add groupby responses without unnnecessary padding 2018-04-18 16:48:44 -07:00
Alex P 44c6a6382c Prevent users below EDITOR from seeing add cell menu on empty dashboard 2018-04-18 16:32:31 -07:00
Brandon Farmer 66adbdbf4b Allows users to select tickscript editor with mouse 2018-04-18 16:23:19 -07:00
Andrew Watkins 99c238592c Much math 2018-04-18 16:17:59 -07:00
Andrew Watkins 5e7f93f22f Remove type / lint errors 2018-04-18 16:04:49 -07:00
Andrew Watkins cff1fbaa97 WIP Update delete for FuncNodes 2018-04-18 16:00:55 -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
Brandon Farmer 3475373e6b Use lodash to determine value length 2018-04-18 14:05:22 -07:00
Brandon Farmer 98217790b6 Handle cases where no dropdown values are present 2018-04-18 14:04:28 -07:00
Brandon Farmer 2895bbb268 Fix error message grammer and style 2018-04-18 13:41:02 -07:00
Brandon Farmer 3542bbd9e6 Guard against values that are null in dropdown width calculation 2018-04-18 13:39:07 -07:00
Alex P 54ca5939bc Add error handling decorator to component 2018-04-18 13:16:40 -07:00
Alex P 8833b94651 Remove UUID as map key
Using the `type` key from `GRAPH_TYPES` which shouldn’t have any
conflicts because this component will not be visible at the same time
as other lists of graph types
2018-04-18 13:15:45 -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
Alex P 02b5f62044 Show mouse pointer on hover 2018-04-18 12:39:31 -07:00
Alex Paxton 64bd1e8f70 Merge pull request #3202 from influxdata/polish/grid-pack-new-cells
Improve box packing for New and Cloned cells
2018-04-18 12:38:02 -07:00
Andrew Watkins 475ee04ca1 Add test for from component 2018-04-18 12:32:19 -07:00
Alex P cbba2f3617 Improve accuracy of copy 2018-04-18 12:13:03 -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
Andrew Watkins 51c7ff116d Add FROM dropdown 2018-04-18 12:06:38 -07:00
Jared Scheib abda445464 Use lodash for db & database value getting in AutoRefresh
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-04-18 11:57:09 -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
Alex P 6dacca0bc3 Make cell types into constants 2018-04-18 11:54:41 -07:00
Alex P c2f6338d3d Allow new cells to be created with a type 2018-04-18 11:41:04 -07:00
Alex P 3a4ca66183 Implement empty state component in dashboard 2018-04-18 11:40:42 -07:00
Alex P 933dbef885 Introduce dashboard empty state component 2018-04-18 11:40:19 -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
Brandon Farmer d50880917c Fix typo in Crosshairs component 2018-04-17 15:59:59 -07:00
Brandon Farmer ce4d482634 Add error handling to shared components 2018-04-17 15:51:50 -07:00
Andrew Watkins 8b29d1873c Merge pull request #3228 from influxdata/ifql/boolean-args
Ifql/boolean args
2018-04-17 15:23:34 -07:00
Andrew Watkins 24c6a1c614 Add test 2018-04-17 15:08:05 -07:00
Andrew Watkins d12b933c70 Move KeyboardShortcuts test 2018-04-17 15:07:55 -07:00
Brandon Farmer 063c2edb96 Add error handling to side nav components 2018-04-17 14:45:45 -07:00
Andrew Watkins 0b621f37da Add support for keyboard shortcuts 2018-04-17 14:41:32 -07:00
Andrew Watkins 701b15cb2a Add support for boolean function values 2018-04-17 14:41:18 -07:00
Brandon Farmer c5fd5b1ac2 Add error handling to status components 2018-04-17 14:39:32 -07:00
Brandon Farmer 7c40496e2d Add error handling to kapacitor components 2018-04-17 14:28:21 -07:00
Brandon Farmer ac286ea8d4 Error handling in IFQL components 2018-04-17 13:48:34 -07:00
Brandon Farmer e6b767a97d Data explorer error handling 2018-04-17 13:37:09 -07:00
Brandon Farmer c03f7ec5ce Add error handling to dashboard components 2018-04-17 11:58:36 -07:00
Brandon Farmer f6823cdf9f Merge pull request #3222 from influxdata/error-handling
Convert admin components to have proper error handling
2018-04-17 11:26:57 -07:00
Andrew Watkins 7d7214a8b0 Handle array values 2018-04-17 11:13:12 -07:00
Brandon Farmer dfd69e205f Show error info as a warning 2018-04-17 11:13:04 -07:00
Alex Paxton 3df2998645 Merge pull request #3177 from influxdata/bugfix/tickscript-name-not-id
bugfix/TICKscript name instead of ID
2018-04-17 11:10:35 -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
Brandon Farmer d6d509f7af Add decorator plugin to production 2018-04-17 11:07:00 -07:00
Andrew Watkins 9f865efcc2 Merge pull request #3221 from influxdata/ifql/arg-inputs
Ifql/arg inputs
2018-04-17 11:03:54 -07:00
Brandon Farmer 278a532401 Convert admin components to have proper error handling 2018-04-17 10:53:13 -07:00
Alex P 2c51293735 Add shadow to template control bar for contrast with dashboard cells 2018-04-17 10:41:04 -07:00
Alex P 39c90cae78 Simplify evaluation 2018-04-17 10:26:19 -07:00
Alex P 8a63b30cf3 Move types to central location 2018-04-17 10:25:09 -07:00
Andrew Watkins 0f01af71ca Make switch statement clearer 2018-04-17 10:02:25 -07:00
Andrew Watkins e72c984f7c Add return types 2018-04-17 09:50:21 -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 3a3ce69fbd Treat GroupBy responses properly and insert groupbytag data 2018-04-16 21:44: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 Paxton 19946e0dc2 Merge branch 'master' into polish/sticky-tempvar-controls 2018-04-16 18:08:49 -07:00
Alex P 0ff7ca69f0 Write component test 2018-04-16 18:07:12 -07:00
Alex P 235dd7644d Implement TemplateControlDropdown in TemplateControlBar 2018-04-16 18:06:34 -07:00
Alex P 2baa9cf4d4 Introduce Template Control Dropdown component
cleanup
2018-04-16 18:02:51 -07:00
Andrew Watkins 814c2c63ba Update input types 2018-04-16 17:04:03 -07:00
Andrew Watkins 809d8718cc Add initial ability to handle string argument types 2018-04-16 16:56:38 -07:00
ebb-tide 12be732e1c update fieldNames upon new queryAST in tablegraph 2018-04-16 16:56:19 -07:00
Iris Scholten 21037ab55c Add :db: and :rp: tempVars to host queries
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-16 16:15:02 -07:00
Iris Scholten bee5dc7b8c Add db and rp tempate variables to hosts page queries
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-04-16 15:04:24 -07:00
Brandon Farmer e56e29df9b Address PRs comments and update Changelog 2018-04-16 15:00:45 -07:00
Brandon Farmer 4e21017136 CEO always has at least one query 2018-04-16 15:00:45 -07:00
Brandon Farmer d34ea10d98 Migrate CEO to typescript 2018-04-16 15:00:45 -07:00
Alex P 35e02abbb9 Merge branch 'master' into polish/sticky-tempvar-controls 2018-04-16 14:54:14 -07:00
Andrew Watkins 45d1c7ad33 Add inputs for various argument types 2018-04-16 14:53:54 -07:00
Alex P 1ecb8c5c2c Allow template control bar to grow without disrupting page layout 2018-04-16 14:49:21 -07:00
Alex P a07ffe0861 Convert component to TypeScript 2018-04-16 14:06:11 -07:00
Alex P ec5452230c Embolden proper noun 2018-04-16 13:25:37 -07:00
Alex P 78d96eb92b Redesign template variables control bar to not scroll with the page 2018-04-16 13:21:50 -07:00
Alex Paxton ce95bf9213 Merge pull request #3204 from influxdata/polish/notify-cell-actions
Notify when User adds, deletes, or clones a cell
2018-04-16 11:48:36 -07:00
Jared Scheib 9ecc05ff5d Add rp to HostsPage query & all Layout cell queries
Rename q.database to q.db in HostPage and AutoRefresh.

Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-16 11:42:53 -07:00
Jared Scheib b3bd851bcb Revert "Pass defaultRP from client to server for Host Page queries"
This reverts commit fd2af90e53.
2018-04-16 11:05:07 -07:00
Alex P 9571031fe4 Implement cell action notifications 2018-04-16 10:59:57 -07:00
Alex P d8c9c34bb9 Create notifications for cell add/delete/clone 2018-04-16 10:59:41 -07:00
Alex P 1ae08c6467 Introduce notification default for "Delete" actions
Planning to use this in the future to visually distinguish from
“Create” actions
2018-04-16 10:59:12 -07:00
Andrew Watkins d047f8fd1a Fix test 2018-04-16 10:56:53 -07:00
Andrew Watkins 3b7de5efb3 Replace react-codemirror with react-codemirror2 2018-04-16 10:56:53 -07:00
Andrew Watkins 85f2c3f26d Add ability to delete function 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 5078ee2167 Tweak styles 2018-04-16 10:56:53 -07:00
Andrew Watkins ebec2561cf Add text editor to builder 2018-04-16 10:56:53 -07:00
Andrew Watkins c6db2fe3ca Move sidenav for time machine 2018-04-16 10:56:53 -07:00
ebb-tide 3c308ba13e Merge branch 'master' into table/group-by 2018-04-15 01:03:13 -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
Jared Scheib fd2af90e53 Pass defaultRP from client to server for Host Page queries
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-13 18:20:10 -07:00
Alex P f1cedc4a28 Improve box packing for new and cloned cells 2018-04-13 15:00:30 -07:00
Brandon Farmer 199619c1e2 Fix function signature for threshold deletion 2018-04-12 16:51:16 -07:00
ebb-tide dc4953084d WIP - Determine groupby exists, and which are not selected 2018-04-12 16:50:06 -07:00
Brandon Farmer b6d8564164 Remove unnecessary type 2018-04-12 14:03:45 -07:00
Brandon Farmer 658b8e6e5a Remove console.dir 2018-04-12 13:42:52 -07:00
Brandon Farmer b23732a7a6 Prevent click tag filter input from closing tag list item 2018-04-12 13:40:11 -07:00
Brandon Farmer 9ff9f63dd2 Ensure that values are displayed on gauges 2018-04-12 13:29:27 -07:00
Brandon Farmer 00f9eccf86 Update get methods in GaugeChart.tsx for clarity 2018-04-12 11:08:36 -07:00
Brandon Farmer 361f6e5962 Series values can be strings or numbers 2018-04-12 10:09:00 -07:00
Brandon Farmer f73392c13b Fix typescript results key for last values 2018-04-12 09:13:19 -07:00
Brandon Farmer 4f401bf9c8 Update lastValues types 2018-04-12 00:43:04 -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
Brandon Farmer 19e0d9e33d Send notification when rp creation returns a failure 2018-04-11 23:52:46 -07:00
Jared Scheib 5e130240eb Add default retention policy field to Source config form
Co-authored-by Iris Scholten <ischolten.is@gmail.com>
2018-04-11 17:30:24 -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
Alex Paxton 8e877100f2 Merge pull request #3184 from influxdata/feature/clone-cells
Feature/Clone Cells
2018-04-11 16:25:28 -07:00
ebb-tide 935af05943 Remove react-sortable-hoc from deps 2018-04-11 16:22:23 -07:00
ebb-tide 70543d1ee1 Fix failing tests 2018-04-11 16:12:36 -07:00
Alex P 899c510c36 Move and rename add / clone cell helpers 2018-04-11 15:43:05 -07:00
Alex P 72005936c0 Require EDITOR permissions to clone a cell 2018-04-11 15:04:20 -07:00
Alex P 498b0f4f7b Replace duplicate icon with more legible version 2018-04-11 15:00:26 -07:00
Alex P 5d0c6d1a18 Always show download option but disable if no data 2018-04-11 14:53:47 -07:00
Alex P c2abd2dc0c Swap positions of Clone & Download CSV actions 2018-04-11 14:50:46 -07:00
Alex P fb38513fec Pass clone cell handler from DashboardPage to LayoutCellMenu 2018-04-11 14:45:38 -07:00
Alex P d9697f8f85 Create asynchronous action for cloning cells
Also ensuring cloned cell appears at bottom of dashboard to avoid
collisions
2018-04-11 14:45:06 -07:00
ebb-tide f1e4b5a79b Add newly generated yarn.lock 2018-04-11 14:40:59 -07:00
Alex P 13030e331f Prevent legend text from wrapping 2018-04-11 14:17:40 -07:00
ebb-tide a1502147cf Fix yarn.lock merge conflict 2018-04-11 13:30:04 -07:00
ebb-tide 154e1b3700 Merge branch 'master' into table/reorder-columns 2018-04-11 13:13:30 -07:00
ebb-tide dcfa7077ba Add space between timeFormat dropdown and input
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-04-11 13:08:23 -07:00
ebb-tide e80d5f93f5 Improve styles for customize fields dragging and visibility
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-04-11 12:56:14 -07:00
Alex P 1f435843bc Render TICKscript name instead of ID
But render ID if there is no name
2018-04-11 10:53:01 -07:00
Alex Paxton e3e51ac4c7 Merge pull request #3172 from influxdata/bugfix/confirm-user-delete
Fix Flickering Confirmation Tooltip
2018-04-11 10:19:06 -07:00
ebb-tide dc20715a44 Implement dragging from drag handle rather than whole component 2018-04-10 21:08:33 -07:00
Alex P a35b9695e3 Rename getter to be more semantic 2018-04-10 20:04:44 -07:00
ebb-tide 8a071581e9 Drag fields from drag icon only 2018-04-10 19:09:22 -07:00
ebb-tide c0454829cb Merge branch 'master' into table/reorder-columns 2018-04-10 18:38:08 -07:00
ebb-tide 6b5431edf9 Add dnd react types 2018-04-10 18:32:28 -07:00
Alex P b505935865 Limit re-rendering via deep compare 2018-04-10 17:30:00 -07:00
Alex P 75a5f452e3 Convert component to TypeScript 2018-04-10 17:20:15 -07:00
Alex P 063f62bf4f Update react-router types 2018-04-10 17:20:01 -07:00
Iris Scholten fc5e16ce56 WIP Create groupby time series trunction
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-04-10 17:05:25 -07:00
Andrew Watkins f4848ad3da Cleanup 2018-04-10 16:48:17 -07:00
Alex P 10224df176 Prevent excessive re-rendering 2018-04-10 16:12:46 -07:00
Alex P 99f5129447 Prevent excessive re-rendering 2018-04-10 16:12:30 -07:00
Alex P da4ed5f9f7 Convert component to TypeScript
Thanks for help @121watts
2018-04-10 15:52:58 -07:00
Iris Scholten 424ef25d13 Build out fieldNames is TableOptions using queryASTs
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-04-10 15:23:26 -07:00
Andrew Watkins 6117a903f2 Fix hostpage not rendering if no apps 2018-04-10 15:00:46 -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
Iris Scholten 0452022525 Make queryASTs available in TableGraph and TableOptions
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-04-10 14:26:57 -07:00
Andrew Watkins 10b9fdf507 Update tests and bugfix 2018-04-10 14:26:21 -07:00
Andrew Watkins f169e461d9 Remove highlight circle 2018-04-10 14:04:35 -07:00
Andrew Watkins ae4fd365ce Fix proptype 2018-04-10 14:04:35 -07:00
Andrew Watkins 703b146bc8 Remove the need for heartbeat and lastUpdated 2018-04-10 14:04:35 -07:00
Andrew Watkins 1540e8b8c7 Cleanup 2018-04-10 14:04:35 -07:00
Andrew Watkins f6165b9e4b Remove need for annotationsRef 2018-04-10 14:04:35 -07:00
Andrew Watkins 044dcfc7fd Move functions out of render and into getters 2018-04-10 14:04:35 -07:00
Andrew Watkins cd62e5cb53 Fix edit annotation rendering speed
The editTemplateVariableNames action would fire way too many times.
This cause poor rendering speeds with annotations.
2018-04-10 14:04:35 -07:00
Andrew Watkins 2d0342d62d Fix conflicts 2018-04-10 14:04:35 -07:00
Andrew Watkins 790834fe01 Convert functions to getters 2018-04-10 14:04:35 -07:00
Andrew Watkins b0294be1ea Move functions out of render and into getters 2018-04-10 14:02:02 -07:00
Andrew Watkins de53b96823 Fix crosshair hovering performance issue 2018-04-10 14:02:02 -07:00
Andrew Watkins 6fec8ecd91 Add test for bug 2018-04-10 13:56:53 -07:00
Iris Scholten d2eb208768 Get QueryAST in autorefresh and send up to CellEditorOverlay
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-04-10 11:52:41 -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
Andrew Watkins b7e39e77f7 Fix Tickscript resave on error bug 2018-04-10 11:18:18 -07:00