mirror of
https://github.com/apache/superset.git
synced 2026-05-11 19:05:24 +00:00
feat: Implement drag and drop for metrics (#13575)
* Convert MetricsControl to functional component * Implement drag and drop for metrics * Implement customizable placeholder for DndSelectLabel
This commit is contained in:
committed by
GitHub
parent
1b95ed7267
commit
d439da2fe0
@@ -42,6 +42,7 @@ import FilterBoxItemControl from './FilterBoxItemControl';
|
||||
import DndColumnSelectControl, {
|
||||
DndColumnSelect,
|
||||
DndFilterSelect,
|
||||
DndMetricSelect,
|
||||
} from './DndColumnSelectControl';
|
||||
|
||||
const controlMap = {
|
||||
@@ -57,6 +58,7 @@ const controlMap = {
|
||||
DndColumnSelectControl,
|
||||
DndColumnSelect,
|
||||
DndFilterSelect,
|
||||
DndMetricSelect,
|
||||
FixedOrMetricControl,
|
||||
HiddenControl,
|
||||
SelectAsyncControl,
|
||||
|
||||
Reference in New Issue
Block a user