mirror of
https://github.com/apache/superset.git
synced 2026-04-21 00:54:44 +00:00
Full Annotation Framework (#3518)
* Adding full Annotation Framework * Viz types * Re organizing native annotations * liniting * Bug fix * Handle no data * Cleanup * Refactor slice form_data to data
This commit is contained in:
committed by
Maxime Beauchemin
parent
e79d05fd77
commit
500e6256c0
@@ -31,6 +31,7 @@ const propTypes = {
|
||||
clearFilter: PropTypes.func,
|
||||
removeFilter: PropTypes.func,
|
||||
editMode: PropTypes.bool,
|
||||
annotationQuery: PropTypes.object,
|
||||
};
|
||||
|
||||
const defaultProps = {
|
||||
@@ -84,7 +85,7 @@ class GridCell extends React.PureComponent {
|
||||
const {
|
||||
exploreChartUrl, exportCSVUrl, isExpanded, isLoading, isCached, cachedDttm,
|
||||
removeSlice, updateSliceName, toggleExpandSlice, forceRefresh,
|
||||
chartKey, slice, datasource, formData, timeout,
|
||||
chartKey, slice, datasource, formData, timeout, annotationQuery,
|
||||
} = this.props;
|
||||
return (
|
||||
<div
|
||||
@@ -104,6 +105,7 @@ class GridCell extends React.PureComponent {
|
||||
toggleExpandSlice={toggleExpandSlice}
|
||||
forceRefresh={forceRefresh}
|
||||
editMode={this.props.editMode}
|
||||
annotationQuery={annotationQuery}
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user