mirror of
https://github.com/apache/superset.git
synced 2026-04-23 10:04:45 +00:00
refactor: Removes the deprecated DASHBOARD_FILTERS_EXPERIMENTAL feature flag (#26330)
This commit is contained in:
committed by
GitHub
parent
8539dfd0ba
commit
ae0eb4b8d9
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { isFeatureEnabled, Preset, FeatureFlag } from '@superset-ui/core';
|
||||
import { Preset } from '@superset-ui/core';
|
||||
import CalendarChartPlugin from '@superset-ui/legacy-plugin-chart-calendar';
|
||||
import ChordChartPlugin from '@superset-ui/legacy-plugin-chart-chord';
|
||||
import CountryMapChartPlugin from '@superset-ui/legacy-plugin-chart-country-map';
|
||||
@@ -73,7 +73,6 @@ import {
|
||||
TimeFilterPlugin,
|
||||
TimeColumnFilterPlugin,
|
||||
TimeGrainFilterPlugin,
|
||||
GroupByFilterPlugin,
|
||||
} from 'src/filters/components';
|
||||
import { PivotTableChartPlugin as PivotTableChartPluginV2 } from '@superset-ui/plugin-chart-pivot-table';
|
||||
import { HandlebarsChartPlugin } from '@superset-ui/plugin-chart-handlebars';
|
||||
@@ -82,12 +81,6 @@ import TimeTableChartPlugin from '../TimeTable';
|
||||
|
||||
export default class MainPreset extends Preset {
|
||||
constructor() {
|
||||
const experimentalplugins = isFeatureEnabled(
|
||||
FeatureFlag.DASHBOARD_FILTERS_EXPERIMENTAL,
|
||||
)
|
||||
? [new GroupByFilterPlugin().configure({ key: 'filter_groupby' })]
|
||||
: [];
|
||||
|
||||
super({
|
||||
name: 'Legacy charts',
|
||||
presets: [new DeckGLChartPreset()],
|
||||
@@ -164,7 +157,6 @@ export default class MainPreset extends Preset {
|
||||
new EchartsSunburstChartPlugin().configure({ key: 'sunburst_v2' }),
|
||||
new HandlebarsChartPlugin().configure({ key: 'handlebars' }),
|
||||
new EchartsBubbleChartPlugin().configure({ key: 'bubble_v2' }),
|
||||
...experimentalplugins,
|
||||
],
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user