You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/07/01 17:01:36 UTC

[GitHub] [superset] john-bodley commented on a change in pull request #14261: feat(native-filters): Show/Hide filter bar by metdata ff

john-bodley commented on a change in pull request #14261:
URL: https://github.com/apache/superset/pull/14261#discussion_r662455892



##########
File path: superset-frontend/src/dashboard/actions/hydrate.js
##########
@@ -302,6 +302,13 @@ export const hydrateDashboard = (dashboardData, chartData, datasourcesData) => (
     filterSetsConfig: metadata?.filter_sets_configuration || [],
   });
 
+  if (!metadata) {
+    metadata = {};
+  }
+
+  metadata.show_native_filters =

Review comment:
       @simcha90 @amitmiran137 @villebro should this use the `DASHBOARD_NATIVE_FILTERS` feature flag for defining the fallback rather than defaulting to `true`? We've seen instances at Airbnb where dashboard native filters are showing up in the dashboard metadata even though the feature is disabled.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org