You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2022/10/26 11:39:24 UTC

[superset] branch master updated: feat: Adds the HORIZONTAL_FILTER_BAR feature flag (#21935)

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

michaelsmolina 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 779d9f7533 feat: Adds the HORIZONTAL_FILTER_BAR feature flag (#21935)
779d9f7533 is described below

commit 779d9f75336ce38ab346e27dcb6a77e5a68cf823
Author: Michael S. Molina <70...@users.noreply.github.com>
AuthorDate: Wed Oct 26 08:39:10 2022 -0300

    feat: Adds the HORIZONTAL_FILTER_BAR feature flag (#21935)
---
 RESOURCES/FEATURE_FLAGS.md                                            | 1 +
 superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts | 1 +
 superset/config.py                                                    | 1 +
 3 files changed, 3 insertions(+)

diff --git a/RESOURCES/FEATURE_FLAGS.md b/RESOURCES/FEATURE_FLAGS.md
index 6b5b201066..40db66f80b 100644
--- a/RESOURCES/FEATURE_FLAGS.md
+++ b/RESOURCES/FEATURE_FLAGS.md
@@ -35,6 +35,7 @@ These features are considered **unfinished** and should only be used on developm
 - ENABLE_ADVANCED_DATA_TYPES
 - ENABLE_EXPLORE_JSON_CSRF_PROTECTION
 - ENABLE_TEMPLATE_REMOVE_FILTERS
+- HORIZONTAL_FILTER_BAR
 - KV_STORE
 - PRESTO_EXPAND_DATA
 - REMOVE_SLICE_LEVEL_LABEL_COLORS
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 e230d4f611..380704f018 100644
--- a/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts
+++ b/superset-frontend/packages/superset-ui-core/src/utils/featureFlags.ts
@@ -52,6 +52,7 @@ export enum FeatureFlag {
   FORCE_DATABASE_CONNECTIONS_SSL = 'FORCE_DATABASE_CONNECTIONS_SSL',
   GENERIC_CHART_AXES = 'GENERIC_CHART_AXES',
   GLOBAL_ASYNC_QUERIES = 'GLOBAL_ASYNC_QUERIES',
+  HORIZONTAL_FILTER_BAR = 'HORIZONTAL_FILTER_BAR',
   LISTVIEWS_DEFAULT_CARD_VIEW = 'LISTVIEWS_DEFAULT_CARD_VIEW',
   SCHEDULED_QUERIES = 'SCHEDULED_QUERIES',
   SHARE_QUERIES_VIA_KV_STORE = 'SHARE_QUERIES_VIA_KV_STORE',
diff --git a/superset/config.py b/superset/config.py
index 04fdb382e0..62bb225887 100644
--- a/superset/config.py
+++ b/superset/config.py
@@ -469,6 +469,7 @@ DEFAULT_FEATURE_FLAGS: Dict[str, bool] = {
     "EMBEDDABLE_CHARTS": True,
     "DRILL_TO_DETAIL": False,
     "DATAPANEL_CLOSED_BY_DEFAULT": False,
+    "HORIZONTAL_FILTER_BAR": False,
 }
 
 # Feature flags may also be set via 'SUPERSET_FEATURE_' prefixed environment vars.