mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
Time Series Annotation Layers (#3521)
* Adding annotations to backend * Auto fetching Annotations on the backend * Closing the loop * Adding missing files * annotation layers UI for https://github.com/apache/incubator-superset/issues/3502 * a few fixes per code review. - add annotation input sanity check before add and before update. - make SelectAsyncControl component statelesis, and generic - add annotation description in d3 tool tip - use less variable to replace hard-coded color
This commit is contained in:
committed by
Maxime Beauchemin
parent
3d72eb475a
commit
d1a7a7b85c
@@ -3,15 +3,16 @@ import PropTypes from 'prop-types';
|
||||
|
||||
import BoundsControl from './controls/BoundsControl';
|
||||
import CheckboxControl from './controls/CheckboxControl';
|
||||
import ColorSchemeControl from './controls/ColorSchemeControl';
|
||||
import DatasourceControl from './controls/DatasourceControl';
|
||||
import DateFilterControl from './controls/DateFilterControl';
|
||||
import FilterControl from './controls/FilterControl';
|
||||
import HiddenControl from './controls/HiddenControl';
|
||||
import SelectAsyncControl from './controls/SelectAsyncControl';
|
||||
import SelectControl from './controls/SelectControl';
|
||||
import TextAreaControl from './controls/TextAreaControl';
|
||||
import TextControl from './controls/TextControl';
|
||||
import VizTypeControl from './controls/VizTypeControl';
|
||||
import ColorSchemeControl from './controls/ColorSchemeControl';
|
||||
|
||||
const controlMap = {
|
||||
BoundsControl,
|
||||
@@ -25,6 +26,7 @@ const controlMap = {
|
||||
TextControl,
|
||||
VizTypeControl,
|
||||
ColorSchemeControl,
|
||||
SelectAsyncControl,
|
||||
};
|
||||
const controlTypes = Object.keys(controlMap);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user