From 7ef06b0a60874761cf0ccfcecb13cf0a89cb9e3e Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Mon, 20 Mar 2023 22:54:20 +0100 Subject: [PATCH] chore: Add DRILL_BY feature flag (#23430) --- .../packages/superset-ui-core/src/utils/featureFlags.ts | 1 + superset/config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts b/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts index 1492d83846e39..132d48c7a6767 100644 --- a/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts +++ b/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts @@ -38,6 +38,7 @@ export enum FeatureFlag { DISABLE_LEGACY_DATASOURCE_EDITOR = 'DISABLE_LEGACY_DATASOURCE_EDITOR', DISPLAY_MARKDOWN_HTML = 'DISPLAY_MARKDOWN_HTML', DRILL_TO_DETAIL = 'DRILL_TO_DETAIL', + DRILL_BY = 'DRILL_BY', DYNAMIC_PLUGINS = 'DYNAMIC_PLUGINS', EMBEDDABLE_CHARTS = 'EMBEDDABLE_CHARTS', EMBEDDED_SUPERSET = 'EMBEDDED_SUPERSET', diff --git a/superset/config.py b/superset/config.py index 4671e203c8c73..c9234e521d754 100644 --- a/superset/config.py +++ b/superset/config.py @@ -478,6 +478,7 @@ def _try_json_readsha(filepath: str, length: int) -> Optional[str]: # Enable sharing charts with embedding "EMBEDDABLE_CHARTS": True, "DRILL_TO_DETAIL": False, + "DRILL_BY": False, "DATAPANEL_CLOSED_BY_DEFAULT": False, "HORIZONTAL_FILTER_BAR": False, # The feature is off by default, and currently only supported in Presto and Postgres,