You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by kg...@apache.org on 2023/03/20 21:54:29 UTC

[superset] branch master updated: chore: Add DRILL_BY feature flag (#23430)

This is an automated email from the ASF dual-hosted git repository.

kgabryje pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 7ef06b0a60 chore: Add DRILL_BY feature flag (#23430)
7ef06b0a60 is described below

commit 7ef06b0a60874761cf0ccfcecb13cf0a89cb9e3e
Author: Kamil Gabryjelski <ka...@gmail.com>
AuthorDate: Mon Mar 20 22:54:20 2023 +0100

    chore: Add DRILL_BY feature flag (#23430)
---
 superset-frontend/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 1492d83846..132d48c7a6 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 4671e203c8..c9234e521d 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -478,6 +478,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
     # 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,