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:
Kamil Gabryjelski
2021-03-12 05:31:17 +01:00
committed by GitHub
parent 1b95ed7267
commit d439da2fe0
9 changed files with 357 additions and 38 deletions

View File

@@ -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,