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 2026/03/23 13:17:01 UTC
(superset) branch 6.1 updated (8610f1359b4 -> 967e78a716e)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a change to branch 6.1
in repository https://gitbox.apache.org/repos/asf/superset.git
discard 8610f1359b4 fix(DropdownContainer): add fresh to avoid stale data (#38702)
new 967e78a716e fix(DropdownContainer): add fresh to avoid stale data (#38702)
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (8610f1359b4)
\
N -- N -- N refs/heads/6.1 (967e78a716e)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../superset-ui-core/test/utils/featureFlag.test.ts | 13 -------------
1 file changed, 13 deletions(-)
(superset) 01/01: fix(DropdownContainer): add fresh to avoid stale data (#38702)
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 6.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 967e78a716eadf18edecf720b10570fec285c038
Author: Mehmet Salih Yavuz <sa...@proton.me>
AuthorDate: Mon Mar 23 14:32:11 2026 +0300
fix(DropdownContainer): add fresh to avoid stale data (#38702)
(cherry picked from commit cc34d19d24db0b35b70631e1c00db12ad7f9ac40)
---
.../src/components/DropdownContainer/DropdownContainer.tsx | 1 +
.../superset-ui-core/test/utils/featureFlag.test.ts | 13 -------------
2 files changed, 1 insertion(+), 13 deletions(-)
diff --git a/superset-frontend/packages/superset-ui-core/src/components/DropdownContainer/DropdownContainer.tsx b/superset-frontend/packages/superset-ui-core/src/components/DropdownContainer/DropdownContainer.tsx
index 32a464f2ce8..e8deaf8e120 100644
--- a/superset-frontend/packages/superset-ui-core/src/components/DropdownContainer/DropdownContainer.tsx
+++ b/superset-frontend/packages/superset-ui-core/src/components/DropdownContainer/DropdownContainer.tsx
@@ -352,6 +352,7 @@ export const DropdownContainer = forwardRef(
onOpenChange={visible => setPopoverVisible(visible)}
placement="bottom"
forceRender={forceRender}
+ fresh // This prop prevents caching and stale data for filter scoping.
>
<Tooltip title={dropdownTriggerTooltip}>
<Button
diff --git a/superset-frontend/packages/superset-ui-core/test/utils/featureFlag.test.ts b/superset-frontend/packages/superset-ui-core/test/utils/featureFlag.test.ts
index 6a6646c6446..6ee4ccaf644 100644
--- a/superset-frontend/packages/superset-ui-core/test/utils/featureFlag.test.ts
+++ b/superset-frontend/packages/superset-ui-core/test/utils/featureFlag.test.ts
@@ -76,16 +76,3 @@ test('returns true for set feature flag', () => {
});
expect(isFeatureEnabled(FeatureFlag.DrillBy)).toEqual(true);
});
-
-test('GranularExportControls feature flag has expected string value', () => {
- expect(FeatureFlag.GranularExportControls).toBe('GRANULAR_EXPORT_CONTROLS');
-});
-
-test('returns true for set GranularExportControls feature flag', () => {
- Object.defineProperty(window, 'featureFlags', {
- value: {
- GRANULAR_EXPORT_CONTROLS: true,
- },
- });
- expect(isFeatureEnabled(FeatureFlag.GranularExportControls)).toEqual(true);
-});