mirror of
https://github.com/apache/superset.git
synced 2026-08-12 11:11:01 +00:00
[Feature] Dashboard filter indicators (#7908)
* dashboard filter indicators * add/fix unit tests
This commit is contained in:
@@ -37,6 +37,7 @@ import {
|
||||
import newComponentFactory from '../../../../src/dashboard/util/newComponentFactory';
|
||||
|
||||
import { sliceId as chartId } from './mockChartQueries';
|
||||
import { filterId } from './mockDashboardFilters';
|
||||
|
||||
export const sliceId = chartId;
|
||||
|
||||
@@ -187,3 +188,22 @@ export const dashboardLayoutWithTabs = {
|
||||
},
|
||||
future: [],
|
||||
};
|
||||
|
||||
export const filterComponent = {
|
||||
...newComponentFactory(CHART_TYPE),
|
||||
id: 'CHART-rwDfbGqeEn',
|
||||
parents: [
|
||||
'ROOT_ID',
|
||||
'TABS-VPEX_c476g',
|
||||
'TAB-PMJyKM1yB',
|
||||
'TABS-YdylzDMTMQ',
|
||||
'TAB-O9AaU9FT0',
|
||||
'ROW-l6PrlhwSjh',
|
||||
],
|
||||
meta: {
|
||||
chartId: filterId,
|
||||
width: 3,
|
||||
height: 10,
|
||||
chartName: 'Filter',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user