You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2021/09/06 11:54:25 UTC

[superset] 16/17: feat: Experimental cross-filter plugins (#16594)

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

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

commit 69143b60f5ba2e336d65f771212f5a35883ae78f
Author: simcha90 <56...@users.noreply.github.com>
AuthorDate: Mon Sep 6 08:25:14 2021 +0300

    feat: Experimental cross-filter plugins (#16594)
    
    * fix:fix get permission function
    
    * feat: add cross filter chart in charts gallery under FF
    
    (cherry picked from commit df5c0fbce9edb4d9b570022dc06ede2cc2efaf1f)
---
 superset-frontend/src/filters/components/GroupBy/index.ts    | 1 +
 superset-frontend/src/filters/components/Range/index.ts      | 1 +
 superset-frontend/src/filters/components/Select/index.ts     | 1 +
 superset-frontend/src/filters/components/Time/index.ts       | 1 +
 superset-frontend/src/filters/components/TimeColumn/index.ts | 1 +
 superset-frontend/src/filters/components/TimeGrain/index.ts  | 1 +
 6 files changed, 6 insertions(+)

diff --git a/superset-frontend/src/filters/components/GroupBy/index.ts b/superset-frontend/src/filters/components/GroupBy/index.ts
index 44055fa..30e3ac0 100644
--- a/superset-frontend/src/filters/components/GroupBy/index.ts
+++ b/superset-frontend/src/filters/components/GroupBy/index.ts
@@ -28,6 +28,7 @@ export default class FilterGroupByPlugin extends ChartPlugin {
       name: t('Group By'),
       description: t('Group By filter plugin'),
       behaviors: [Behavior.INTERACTIVE_CHART, Behavior.NATIVE_FILTER],
+      tags: [t('Experimental')],
       thumbnail,
     });
 
diff --git a/superset-frontend/src/filters/components/Range/index.ts b/superset-frontend/src/filters/components/Range/index.ts
index 5762810..6c44b6e 100644
--- a/superset-frontend/src/filters/components/Range/index.ts
+++ b/superset-frontend/src/filters/components/Range/index.ts
@@ -28,6 +28,7 @@ export default class RangeFilterPlugin extends ChartPlugin {
       name: t('Range filter'),
       description: t('Range filter plugin using AntD'),
       behaviors: [Behavior.INTERACTIVE_CHART, Behavior.NATIVE_FILTER],
+      tags: [t('Experimental')],
       thumbnail,
     });
 
diff --git a/superset-frontend/src/filters/components/Select/index.ts b/superset-frontend/src/filters/components/Select/index.ts
index 3e9dcf8..7ded0c3 100644
--- a/superset-frontend/src/filters/components/Select/index.ts
+++ b/superset-frontend/src/filters/components/Select/index.ts
@@ -29,6 +29,7 @@ export default class FilterSelectPlugin extends ChartPlugin {
       description: t('Select filter plugin using AntD'),
       behaviors: [Behavior.INTERACTIVE_CHART, Behavior.NATIVE_FILTER],
       enableNoResults: false,
+      tags: [t('Experimental')],
       thumbnail,
     });
 
diff --git a/superset-frontend/src/filters/components/Time/index.ts b/superset-frontend/src/filters/components/Time/index.ts
index 4b72113..8a46949 100644
--- a/superset-frontend/src/filters/components/Time/index.ts
+++ b/superset-frontend/src/filters/components/Time/index.ts
@@ -28,6 +28,7 @@ export default class TimeFilterPlugin extends ChartPlugin {
       description: t('Custom time filter plugin'),
       behaviors: [Behavior.INTERACTIVE_CHART, Behavior.NATIVE_FILTER],
       thumbnail,
+      tags: [t('Experimental')],
       datasourceCount: 0,
     });
 
diff --git a/superset-frontend/src/filters/components/TimeColumn/index.ts b/superset-frontend/src/filters/components/TimeColumn/index.ts
index 492f48f..ada1864 100644
--- a/superset-frontend/src/filters/components/TimeColumn/index.ts
+++ b/superset-frontend/src/filters/components/TimeColumn/index.ts
@@ -28,6 +28,7 @@ export default class FilterTimeColumnPlugin extends ChartPlugin {
       name: t('Time column'),
       description: t('Time column filter plugin'),
       behaviors: [Behavior.INTERACTIVE_CHART, Behavior.NATIVE_FILTER],
+      tags: [t('Experimental')],
       thumbnail,
     });
 
diff --git a/superset-frontend/src/filters/components/TimeGrain/index.ts b/superset-frontend/src/filters/components/TimeGrain/index.ts
index 8ce943f..d44ec4e 100644
--- a/superset-frontend/src/filters/components/TimeGrain/index.ts
+++ b/superset-frontend/src/filters/components/TimeGrain/index.ts
@@ -28,6 +28,7 @@ export default class FilterTimeGrainPlugin extends ChartPlugin {
       name: t('Time grain'),
       description: t('Time grain filter plugin'),
       behaviors: [Behavior.INTERACTIVE_CHART, Behavior.NATIVE_FILTER],
+      tags: [t('Experimental')],
       thumbnail,
     });