Repository navigation
feat(dashboard): add column allowlist to Group By native filter - #43736
Conversation
Code Review Agent Run #3d365cActionable Suggestions - 0Additional Suggestions - 2
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #43736 +/- ##
==========================================
+ Coverage 82.72% 82.76% +0.03%
==========================================
Files 3011 3012 +1
Lines 188350 188475 +125
Branches 43725 43785 +60
==========================================
+ Hits 155819 155985 +166
+ Misses 29761 29720 -41
Partials 2770 2770
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Code Review Agent Run #6f4af7Actionable Suggestions - 0Additional Suggestions - 1
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Code Review Agent Run #571669Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
gabotorresruiz
left a comment
There was a problem hiding this comment.
Thanks Elizabeth, this is a well put together feature, and I appreciate how much of the behavior is pinned by tests. I ran all three new test files plus the full FiltersConfigModal and FilterBar suites on the branch and everything passes (394 tests). Approving with two non-blocking questions below, plus one heads-up: this PR shares four files with #42539, which moves the card's column fetching from cachedSupersetGet to useDisplayControlDatasource. The two new viewer tests here mock cachedSupersetGet directly, so whichever PR merges second will need to rework those mocks, and ColumnSelect.tsx will have a small conflict in the SemanticView branch. The features compose fine semantically since the allowlist filters columnOptions regardless of where they come from.
| // the builder can choose from. Seeding does not mark the form as changed, so | ||
| // editing a legacy control that never stored an allowlist stays a no-op | ||
| // unless the builder actually narrows the selection. | ||
| const seedGroupByAllowlist = useCallback( |
There was a problem hiding this comment.
Not a blocker, but this block worries me a bit. I verified on this branch that opening the config form on a legacy Group By control (saved before this PR, so no columnsAllowlist) seeds the full column list into the form values, and useModalSaveLogic transforms modified customizations straight from those form values. So the moment a builder edits that filter for any other reason and saves, the unset allowlist silently becomes a snapshot of today's columns. From then on, a column added to the dataset later is hidden from viewers, while an untouched legacy filter (or an explicitly emptied one) would have offered it. The same drift applies to every newly created control, since the seed materializes "all columns" as an explicit list.
Are we certain we want "all columns" to freeze at seed time? Two cheaper alternatives that keep the "all selected" UX:
- keep
undefinedas the "all" state and only write a list into the form when the builder actually narrows it, or - normalize on save: if the allowlist equals the full groupable column set, collapse it back to
undefined.
Either way, a test along the lines of "editing a legacy Group By control leaves columnsAllowlist unset unless the builder narrows it" in GroupByColumnAllowlist.test.tsx would lock the intent in. Happy to dig in with you if you want to pair on it.
There was a problem hiding this comment.
Went with normalize-on-save. The form still shows "all selected", but the save step collapses an allowlist covering every groupable column back to unset, so new dataset columns stay available. Added the test you suggested ("editing a legacy control leaves columnsAllowlist unset on save unless narrowed") plus unit tests on the collapse. Fixed in a756611.
| | string[] | ||
| | undefined; | ||
|
|
||
| const allowedColumnOptions = useMemo( |
There was a problem hiding this comment.
Just a question, not a blocker: if a viewer already has a group-by applied and the builder later narrows the allowlist to exclude it, the applied value survives. I verified it on this branch: with columnsAllowlist: ['country'] and an applied value of state, the Select renders the raw column name state (the verbose label "State" is lost because the option is gone), and the chart keeps grouping by the excluded column since the dataMask is untouched. Is that the intended behavior? If so, merging the active value into allowedColumnOptions would at least keep the verbose label; if not, the card could clear an applied value that the allowlist excludes. A small test like "keeps or clears an applied selection that a narrowed allowlist excludes" would pin whichever way you decide.
There was a problem hiding this comment.
We decided to keep it: the applied value is now included in the options so it renders with its verbose label, and it stops being offered once the viewer clears it. Clearing it automatically felt too surprising for charts viewers already have grouped. Pinned with "keeps an applied selection that a narrowed allowlist excludes, with its label". Fixed in a756611.
b87e6ab to
a195dad
Compare
Code Review Agent Run #2f4d96Actionable Suggestions - 0Additional Suggestions - 4
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
gabotorresruiz
left a comment
There was a problem hiding this comment.
Re-reviewed at a195dad. My approval was on b87e6ab, which the branch force-pushed away, so it no longer covers the head.
The delta itself is clean. b87e6ab sat on 1f1539f and a195dad sits on 7024401, and diffing each side against its own merge base shows the added and removed lines in GroupByFilterCard.tsx, ColumnSelect.tsx, FiltersConfigForm.tsx and customizationTransformer.test.ts are identical. The only rewritten content is GroupByFilterCard.test.tsx, moved to the fetchMock idiom that suite now uses on master. That resolves the conflict I flagged last time, and it holds up: I ran src/dashboard/components/nativeFilters plus src/chartCustomizations on the head and got 62 suites, 525 passed, 1 skipped. Replaying the new tests against 7024401 fails 8 of them, so they pin the feature rather than an invariant.
Two things before this goes in, plus two threads that are still open.
Blocking: babel-extract is red and it is ours
superset/translations/messages.pot is out of sync, and the job names exactly the two strings this PR adds:
In source, not in the template (2):
+ 'Columns viewers are allowed to group by. Leave empty to allow all groupable columns.'
+ 'Groupable columns'
This is not master churn: the Translations workflow is green on the recent master pushes I checked. Fix is ./scripts/translations/babel_update.sh, then commit the regenerated messages.pot and any changed .po catalogs.
Still open from my last pass
Neither thread got a reply, and the code behind both is byte-identical on the head, so they still stand: the seed freezing "all columns" into an explicit snapshot in FiltersConfigForm.tsx, and an applied group-by value that a narrowed allowlist excludes in GroupByFilterCard.tsx. Happy to drop either if you disagree, I just did not want them lost in the rebase.
I dropped a couple of smaller nits so they do not dilute the above. Happy to pair on any of it.
| datasourceType={datasourceType} | ||
| filterValues={(column: Column) => | ||
| !!column?.filterable | ||
| } |
There was a problem hiding this comment.
This block worries me a bit. The allowlist select narrows with !!column?.filterable (line 1308), while the viewer builds its options with col.filterable !== false (GroupByFilterCard.tsx:339). filterable is nullable in superset/connectors/sqla/models.py:1065 (Python-side default=True, no nullable=False), so the API can return null for a column and the two predicates then disagree.
I verified both halves on this branch. With a dataset whose third column is { column_name: 'legacy_col', filterable: null }, seedGroupByAllowlist writes ["country","state"] and silently drops legacy_col. Rendering GroupByFilterCard against that same dataset offers legacy_col while no allowlist is stored, and stops offering it once columnsAllowlist: ['country', 'state'] is stored. So a builder who creates a Group By control and narrows nothing still ends up hiding a column viewers could group by before.
Cheapest fix is to hand the allowlist the viewer's predicate:
filterValues={(column: Column) => column?.filterable !== false}A case in GroupByColumnAllowlist.test.tsx with a filterable: null column, asserting it lands in the seed, would lock it in. The current tests miss it because both mocked columns are explicitly filterable: true.
There was a problem hiding this comment.
Good catch. The allowlist now uses the viewer's predicate (column?.filterable !== false). Added a filterable: null case asserting it's offered and seeded. Fixed in a756611.
| } | ||
| data-test="groupby-columns-allowlist" | ||
| > | ||
| <ColumnSelect |
There was a problem hiding this comment.
Not a blocker, and nothing reaches it today. This ColumnSelect does not pass formField, so it falls back to 'column' (ColumnSelect.tsx:62), and its resetColumnField() writes ['filters', filterId, 'column'] = null whenever none of the current allowlist values match a loaded dataset column (ColumnSelect.tsx:145 and :168).
I verified it on this branch: for a Group By customization with no columnsAllowlist, filters[<id>].column flips to null once the columns load, while the same harness on 7024401 leaves it untouched. It is harmless right now only because the main control items are gated behind !isChartCustomization (FiltersConfigForm.tsx:1244), so column is never populated for a chart customization in the first place.
Since this select owns its own value and an empty selection is legitimate, skipping the lookup when there is nothing to look up looks like cheap insurance:
const lookupValue = ensureIsArray(value);
const valueExists =
lookupValue.length === 0 ||
result.columns.some((column: Column) =>
lookupValue.includes(column.column_name),
);Or am I misunderstanding something here?
There was a problem hiding this comment.
Took your suggestion: an empty selection skips the lookup. Added a test that loading the allowlist leaves column untouched. Fixed in a756611.
9170d5f to
7ed1465
Compare
Code Review Agent Run #93a0caActionable Suggestions - 0Additional Suggestions - 37
Filtered by Review RulesBito filtered these suggestions based on rules created automatically for your feedback. Manage rules.
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
7ed1465 to
018b691
Compare
gabotorresruiz
left a comment
There was a problem hiding this comment.
Thanks Elizabeth, this is in good shape now. Clearing my change request.
messages.pot is back in sync and the catalog update is surgical: +24/-1 per .po, the one removal being POT-Creation-Date, and no existing msgstr dropped anywhere. babel-extract and frontend-check-translations are both green at 018b691, and all six of the new strings are in the template with none of the superseded ones left behind.
All four of my earlier threads are genuinely fixed rather than just answered, and I think the normalize-on-save route you took on the seeding one is better than either option I had suggested. The bot threads on the same ground (the frozen snapshot, the hidden active selection, the ColumnSelect request race) land on the same fixes. What I ran on 018b691: the six changed suites (7 suites, 62 passed), then the whole of src/dashboard/components/nativeFilters plus src/chartCustomizations (66 suites, 599 passed, 1 skipped), all green. Replaying the new tests against the merge base 1386156 fails 27 of them, so they pin the feature rather than an invariant. Also worth noting that #42539 merged on Sep 18, so the mock conflict I warned about in my first pass is gone on its own: the card reads through useDisplayControlDatasource now and the fetchMock tests here pass against it.
One thing to sort before merge. This PR's CI is not red on its own account, but a batch of jobs was cancelled rather than failed: sharded-jest-tests (4) and (5), test-storybook, validate-frontend, lint-check, License Check, dependency-review, chromatic, Analyze (javascript) and playwright-tests (chromium, /app/prefix) all started at 20:47 and were killed around 21:04, across six separate workflows, which is what makes playwright-tests-required red. A re-kick should settle it.
Two non-blocking notes inline. I dropped a few smaller nits so they do not dilute those.
| return controlValues ?? {}; | ||
| } | ||
| const selected = new Set<string>(allowlist); | ||
| if (!groupableColumns.every(column => selected.has(column))) { |
There was a problem hiding this comment.
Normalize-on-save is the right call and I am not asking for the snapshot behavior back. One consequence is worth naming though, because it is the mirror image of the bug it fixes: the test here is "the allowlist covers every groupable column", not "equals", so a saved narrowing collapses to unset as soon as the dataset shrinks down to it.
I ran collapseFullColumnsAllowlist({ canSelectMultiple: true, columnsAllowlist: ['country', 'state', 'dropped_col'] }, ['country', 'state']) on this branch and got { canSelectMultiple: true } back. So a builder who allowed only country and state out of a wider set, and whose dataset later lost dropped_col, has the restriction dropped by the next save they make for some unrelated reason, and anything added to the dataset afterwards becomes groupable for viewers. The form has the evidence in hand on that very render, since unavailableAllowlistColumns is warning about dropped_col at the same time.
Requiring equality keeps that case restricted:
const selected = new Set<string>(allowlist);
if (
allowlist.length !== groupableColumns.length ||
!groupableColumns.every(column => selected.has(column))
) {
return controlValues;
}The case where the allowlist is exactly the current groupable set is genuinely ambiguous and I think your reading of it is the defensible one, so I would leave that half alone. A case in customizationTransformer.test.ts like "keeps an allowlist that still carries a column the dataset no longer has" would pin whichever way you go.
| } | ||
| setColumns(result.columns); | ||
| onColumnsLoaded?.(filterColumnNames(result.columns), requestKey); | ||
| }, handleError) |
There was a problem hiding this comment.
Just a question, not a blocker: isStale() guards the resolve path and the finally, but handleError is still the bare rejection handler, so a failure for a dataset the builder already switched away from still toasts. Deliberate, or worth the same guard?
There was a problem hiding this comment.
Code Review Agent Run #79b0a8
Actionable Suggestions - 3
-
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/ColumnSelect.tsx - 1
- Stale error toast unguarded · Line 203-216
-
superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/transformers/customizationTransformer.ts - 1
- Empty allowlist not collapsed · Line 124-128
-
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/GroupByFilterCard.tsx - 1
- Unmemoized per-render recompute · Line 439-443
Additional Suggestions - 41
-
superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/GroupByFilterCard.tsx - 1
-
Test-only re-export · Line 682-682`export { applyColumnAllowlist };` re-exports the `columnAllowlist` utility, but the only consumer of this re-export is `GroupByFilterCard.test.tsx` (repo grep found no production import of the symbol from this module). Having the test import from `src/chartCustomizations/components/DynamicGroupBy/columnAllowlist` and dropping this line keeps the component's public surface limited to the component itself.
-
-
superset/translations/es/LC_MESSAGES/messages.po - 6
-
Empty Spanish translation · Line 1849-1850New entry `msgid "All groupable columns"` ships with an empty `msgstr ""`, so Spanish users see untranslated English. Per BITO.md rule 12743 all user-facing messages need complete translations. Fill in the Spanish `msgstr` before merging.
-
Empty Spanish translation · Line 4461-4462New entry `msgid "Columns viewers can choose to group charts by."` has an empty `msgstr ""`. Spanish users will see English. Fill the `msgstr` per BITO.md rule 12743.
-
Empty Spanish translation · Line 8568-8569New entry `msgid "Groupable columns"` has an empty `msgstr ""`. Spanish users will see English. Fill the `msgstr` per BITO.md rule 12743.
-
Empty Spanish translation · Line 9575-9578New multi-line entry (lines 9575-9578) has an empty `msgstr ""`. Spanish users will see English help text. Fill the `msgstr` per BITO.md rule 12743.
-
Empty Spanish translation · Line 11132-11134New `#, python-format` entry `msgid "Not in this dataset, so viewers will not see: %s"` has an empty `msgstr ""`. Spanish users will see English. Fill the `msgstr` (keep the `%s` placeholder) per BITO.md rule 12743.
-
Empty Spanish translation · Line 16233-16236New multi-line entry (lines 16233-16236) has an empty `msgstr ""`. Spanish users will see English. Fill the `msgstr` per BITO.md rule 12743.
-
-
superset/translations/sr/LC_MESSAGES/messages.po - 6
-
Untranslated string added · Line 2172-2172New msgid "All groupable columns" has an empty `msgstr`, so Serbian users will see the English fallback. Per BITO.md rule 12743, empty msgstr fields should be filled before merge. Add the Serbian translation.
-
Untranslated string added · Line 5198-5198New msgid "Columns viewers can choose to group charts by." has an empty `msgstr`, so Serbian users see the English fallback. Per BITO.md rule 12743, fill the empty msgstr before merge.
-
Untranslated string added · Line 9989-9989New msgid "Groupable columns" has an empty `msgstr`, so Serbian users see the English fallback. Per BITO.md rule 12743, fill the empty msgstr before merge.
-
Untranslated string added · Line 11162-11162New multi-line msgid "Leave empty, or keep every column selected..." has an empty `msgstr`, so Serbian users see the English fallback. Per BITO.md rule 12743, fill the empty msgstr before merge.
-
Untranslated error message · Line 12967-12967New error msgid "Not in this dataset, so viewers will not see: %s" has an empty `msgstr`, so Serbian users see the English fallback. Per BITO.md rule 13343, error messages must have complete translations before merge. The `#, python-format` flag is correctly applied.
-
Untranslated error message · Line 18834-18834New msgid "The columns allowed for this control are no longer in the dataset..." has an empty `msgstr`, so Serbian users see the English fallback. Per BITO.md rule 13343, error messages must have complete translations before merge.
-
-
superset/translations/zh_TW/LC_MESSAGES/messages.po - 1
-
Untranslated new strings · Line 1935-1936All six newly added msgids ship with empty `msgstr ""` (lines 1935, 4630, 8985, 10077, 11761, 17093), so zh_TW users will see untranslated English. Per BITO.md rule 12743, fill these before merge. `# python-format` on the `%s` entry is correct.
-
-
superset/translations/zh/LC_MESSAGES/messages.po - 1
-
Untranslated new strings · Line 1862-1863All six newly added msgids have empty `msgstr ""`, so zh users will see the English source text for these new controls. Add Chinese translations for lines 1862, 4379, 8435, 9444, 11030, and 16022 to complete the locale.
-
-
superset/translations/ko/LC_MESSAGES/messages.po - 1
-
Empty Korean translations · Line 2492-2493Six new msgids are added with empty `msgstr ""` (lines 2492, 6232, 12116, 13637, 16008, 23380). Korean users will see untranslated English text for these user-facing strings, including the `%s`-formatted error at 16008. Fill in Korean translations before merge (BITO.md rule 12743).
-
-
superset/translations/fr/LC_MESSAGES/messages.po - 6
-
Untranslated msgstr · Line 1822-1823New msgid "All groupable columns" is added with an empty msgstr, so French users will see the untranslated English string. BITO.md rule 12743 requires empty msgstr fields to be filled before merge. Please add the French translation.
-
Untranslated msgstr · Line 4373-4374New msgid "Columns viewers can choose to group charts by." is added with an empty msgstr, so French users see untranslated English. BITO.md rule 12743 requires empty msgstr fields to be filled before merge. Please add the French translation.
-
Untranslated msgstr · Line 8315-8316New msgid "Groupable columns" is added with an empty msgstr, so French users see untranslated English. BITO.md rule 12743 requires empty msgstr fields to be filled before merge. Please add the French translation.
-
Untranslated msgstr · Line 9270-9273New multi-line msgid "Leave empty, or keep every column selected, to let viewers group by any groupable column..." is added with an empty msgstr, so French users see untranslated English. BITO.md rule 12743 requires empty msgstr fields to be filled before merge. Please add the French translation.
-
Untranslated error msgstr · Line 10767-10769New error msgid "Not in this dataset, so viewers will not see: %s" is added with an empty msgstr, so French users see untranslated English for an error message. BITO.md rules 13343 and 12743 require error messages to have complete translations before merge. Please add the French translation.
-
Untranslated msgstr · Line 15703-15706New multi-line msgid "The columns allowed for this control are no longer in the dataset. Ask the dashboard owner to update it." is added with an empty msgstr, so French users see untranslated English. BITO.md rule 12743 requires empty msgstr fields to be filled before merge. Please add the French translation.
-
-
superset/translations/cs/LC_MESSAGES/messages.po - 6
-
Missing Czech translation · Line 1861-1862New msgid "All groupable columns" is added with an empty `msgstr`, so Czech users will see the English source string. Fill in the Czech translation before merging (BITO.md rule 12743).
-
Missing Czech translation · Line 4367-4368New msgid "Columns viewers can choose to group charts by." has an empty `msgstr`, so Czech users see the English source. Fill in the Czech translation before merging (BITO.md rule 12743).
-
Missing Czech translation · Line 8367-8368New msgid "Groupable columns" has an empty `msgstr`, so Czech users see the English source. Fill in the Czech translation before merging (BITO.md rule 12743).
-
Missing Czech translation · Line 9335-9338New multi-line msgid about leaving the groupable-columns control empty has an empty `msgstr`, so Czech users see the English source. Fill in the Czech translation before merging (BITO.md rule 12743).
-
Missing Czech error translation · Line 10860-10862New python-format msgid "Not in this dataset, so viewers will not see: %s" has an empty `msgstr`, so Czech users see the English error. Fill in the Czech translation before merging (BITO.md rule 13343).
-
Missing Czech error translation · Line 15833-15836New multi-line msgid about columns no longer in the dataset has an empty `msgstr`, so Czech users see the English error. Fill in the Czech translation before merging (BITO.md rule 13343).
-
-
superset-frontend/src/chartCustomizations/components/DynamicGroupBy/DynamicGroupByPlugin.tsx - 1
-
Duplicated prune logic · Line 143-144This effect re-implements the prune-and-detect semantics of `pruneGroupByDataMask` in `columnAllowlist.ts` (filter by allowed set, compare lengths, then normalize the mask via `handleChange`). Extracting a shared values-level helper would keep the exclusion rule and mask normalization in one place.
-
-
superset/translations/lv/LC_MESSAGES/messages.po - 1
-
Missing translation · Line 1850-1851New msgid "All groupable columns" has an empty `msgstr`, so Latvian users will see untranslated English. Per BITO.md rule 12743, fill all new entries with translations (same applies to the other 5 new entries at lines 4320, 8216, 9154, 10652, 15525).
-
-
superset/translations/pl/LC_MESSAGES/messages.po - 1
-
Untranslated new strings · Line 1955-1956All six newly added msgids (lines 1955, 4649, 9061, 10111, 11734, 17164) have empty `msgstr`, so Polish users will see the English source string for these new UI labels. Fill in the Polish translations (or mark the entries `#, fuzzy` if intentionally pending) so the pl catalog actually translates the new strings it declares.
-
-
superset/translations/ta/LC_MESSAGES/messages.po - 1
-
Missing Tamil translations · Line 1807-1807Six new `msgid` entries (lines 1807, 4279, 8139, 9064, 10500, 15151) were added with empty `msgstr`, so Tamil users will see untranslated English text. Per BITO.md rules 12743/13343, fill in Tamil translations (or mark `#, fuzzy`) before merge.
-
-
superset/translations/fa/LC_MESSAGES/messages.po - 6
-
Untranslated new string · Line 1886-1887New msgid `All groupable columns` was added with an empty `msgstr`, so Persian users will see the English fallback for this control label. Fill in the translation to keep the fa locale complete.
-
Untranslated new string · Line 4514-4515New msgid `Columns viewers can choose to group charts by.` has an empty `msgstr`, so fa users see the English tooltip text. Add the Persian translation to complete the locale.
-
Untranslated new string · Line 8706-8707New msgid `Groupable columns` has an empty `msgstr`, so fa users see the English control label. Add the Persian translation to complete the locale.
-
Untranslated new string · Line 9737-9740New multi-line msgid `Leave empty, or keep every column selected, to let viewers group by any groupable column...` has an empty `msgstr`, so fa users see the English helper text. Add the Persian translation.
-
Untranslated new string · Line 11322-11324New `#, python-format` msgid `Not in this dataset, so viewers will not see: %s` has an empty `msgstr`, so fa users see the English message. Add the Persian translation, preserving the `%s` placeholder.
-
Untranslated new string · Line 16479-16482New multi-line msgid `The columns allowed for this control are no longer in the dataset...` has an empty `msgstr`, so fa users see the English message. Add the Persian translation.
-
-
superset-frontend/src/chartCustomizations/components/DynamicGroupBy/columnAllowlist.ts - 2
-
Redundant ensureIsArray no-op · Line 68-68Line 68 wraps `allowlist` in `ensureIsArray`, but `hasAllowlist` (line 54) already proves it is a non-empty array, and line 64 builds `new Set(allowlist)` without it — so the wrapper is a runtime no-op that implies the input might not be an array. Drop it to match line 64.
-
ownState not pruned · Line 90-104The docstring says this prunes "the shape the Group By control writes", but the FilterBar control (`GroupByFilterCard`) also writes `ownState.column`, which `ActionButtons` (`isDefined(mask?.ownState?.column)`) and `FilterControls` read as group-by state; a pruned mask would keep a stale excluded column there. Today only config-modal masks without `ownState` reach this — consider pruning `ownState` or correcting the docstring.
-
-
superset-frontend/src/chartCustomizations/components/DynamicGroupBy/DynamicGroupByPlugin.test.tsx - 1
-
Unneeded async modifier · Line 116-116`test('drops an existing default...', async () => {` declares `async` but never awaits anything (unlike the sibling tests that use `getOpenedOptionOrder`). The `async` modifier is dead here and will trip `require-await` linting. Drop it to match the non-async `leaves a default untouched` test below.
-
Filtered by Review Rules
Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.
-
superset/translations/fi/LC_MESSAGES/messages.po - 6
- Incomplete translation · Line 2809-2810
- Incomplete translation · Line 6981-6982
- Incomplete translation · Line 13608-13609
- Incomplete translation · Line 15273-15276
- Incomplete error translation · Line 17822-17824
- Incomplete error translation · Line 25972-25975
-
superset/translations/de/LC_MESSAGES/messages.po - 1
- Missing German translations · Line 1805-1806
-
superset/translations/ru/LC_MESSAGES/messages.po - 6
- Missing Russian translation · Line 1811-1812
- Missing Russian translation · Line 4257-4258
- Missing Russian translation · Line 8088-8089
- Missing Russian translation · Line 9021-9024
- Missing error translation · Line 10490-10492
- Missing error translation · Line 15225-15228
Review Details
-
Files reviewed - 45 · Commit Range:
0c3411f..018b691- superset-frontend/src/chartCustomizations/components/DynamicGroupBy/DynamicGroupByPlugin.test.tsx
- superset-frontend/src/chartCustomizations/components/DynamicGroupBy/DynamicGroupByPlugin.tsx
- superset-frontend/src/chartCustomizations/components/DynamicGroupBy/columnAllowlist.test.ts
- superset-frontend/src/chartCustomizations/components/DynamicGroupBy/columnAllowlist.ts
- superset-frontend/src/chartCustomizations/components/DynamicGroupBy/types.ts
- superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/GroupByFilterCard.test.tsx
- superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterControls/GroupByFilterCard.tsx
- superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/ColumnSelect.test.tsx
- superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/ColumnSelect.tsx
- superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/FiltersConfigForm.tsx
- superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/FiltersConfigForm/GroupByColumnAllowlist.test.tsx
- superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/transformers/customizationTransformer.test.ts
- superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/transformers/customizationTransformer.ts
- superset-frontend/src/dashboard/components/nativeFilters/FiltersConfigModal/types.ts
- superset/translations/ar/LC_MESSAGES/messages.po
- superset/translations/ca/LC_MESSAGES/messages.po
- superset/translations/cs/LC_MESSAGES/messages.po
- superset/translations/de/LC_MESSAGES/messages.po
- superset/translations/en/LC_MESSAGES/messages.po
- superset/translations/es/LC_MESSAGES/messages.po
- superset/translations/fa/LC_MESSAGES/messages.po
- superset/translations/fi/LC_MESSAGES/messages.po
- superset/translations/fr/LC_MESSAGES/messages.po
- superset/translations/it/LC_MESSAGES/messages.po
- superset/translations/ja/LC_MESSAGES/messages.po
- superset/translations/ko/LC_MESSAGES/messages.po
- superset/translations/lv/LC_MESSAGES/messages.po
- superset/translations/messages.pot
- superset/translations/mi/LC_MESSAGES/messages.po
- superset/translations/nl/LC_MESSAGES/messages.po
- superset/translations/pl/LC_MESSAGES/messages.po
- superset/translations/pt/LC_MESSAGES/messages.po
- superset/translations/pt_BR/LC_MESSAGES/messages.po
- superset/translations/ro/LC_MESSAGES/messages.po
- superset/translations/ru/LC_MESSAGES/messages.po
- superset/translations/sk/LC_MESSAGES/messages.po
- superset/translations/sl/LC_MESSAGES/messages.po
- superset/translations/sr/LC_MESSAGES/messages.po
- superset/translations/sr_Latn/LC_MESSAGES/messages.po
- superset/translations/ta/LC_MESSAGES/messages.po
- superset/translations/th/LC_MESSAGES/messages.po
- superset/translations/tr/LC_MESSAGES/messages.po
- superset/translations/uk/LC_MESSAGES/messages.po
- superset/translations/zh/LC_MESSAGES/messages.po
- superset/translations/zh_TW/LC_MESSAGES/messages.po
-
Files skipped - 0
-
Tools
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
- Eslint (Linter) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers an incremental AI Review. -
/review full- Manually triggers a full AI Review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
| if (isStale()) { | ||
| return; | ||
| } | ||
| if (!isValueInColumns(result.columns)) { | ||
| resetColumnField(); | ||
| } | ||
| setColumns(result.columns); | ||
| onColumnsLoaded?.(filterColumnNames(result.columns), requestKey); | ||
| }, handleError) | ||
| .finally(() => setLoading(false)); | ||
| .finally(() => { | ||
| if (!isStale()) { | ||
| setLoading(false); | ||
| } | ||
| }); |
There was a problem hiding this comment.
The new stale-response guard drops stale responses in .then and skips setLoading in .finally, but handleError (line 161) still fires for a stale request, showing an error toast for a datasource the user already switched away from. Guard handleError with isStale() for consistency with the guard's stated purpose.
Code Review Run #79b0a8
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
| const selected = new Set<string>(allowlist); | ||
| if (!groupableColumns.every(column => selected.has(column))) { | ||
| return controlValues; | ||
| } | ||
| return omit(controlValues, 'columnsAllowlist'); |
There was a problem hiding this comment.
collapseFullColumnsAllowlist collapses an allowlist selecting every groupable column, but leaves columnsAllowlist: [] intact. The viewer treats an empty allowlist as 'no restriction' too (see applyColumnAllowlist), so saving [] is a redundant snapshot that is inconsistent with the full-selection collapse. Consider collapsing the empty case as well for consistent saved config.
Code suggestion
Check the AI-generated fix before applying
| const selected = new Set<string>(allowlist); | |
| if (!groupableColumns.every(column => selected.has(column))) { | |
| return controlValues; | |
| } | |
| return omit(controlValues, 'columnsAllowlist'); | |
| const selected = new Set<string>(allowlist); | |
| if ( | |
| allowlist.length > 0 && | |
| !groupableColumns.every(column => selected.has(column)) | |
| ) { | |
| return controlValues; | |
| } | |
| return omit(controlValues, 'columnsAllowlist'); |
Code Review Run #79b0a8
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
| const allowlistUnavailable = | ||
| !loading && | ||
| columnOptions.length > 0 && | ||
| ensureIsArray(columnsAllowlist).length > 0 && | ||
| applyColumnAllowlist(columnOptions, columnsAllowlist).length === 0; |
There was a problem hiding this comment.
allowlistUnavailable (lines 439-443) re-runs applyColumnAllowlist on every render — and this component re-renders on every redux dataMask update via the state.dataMask selector (lines 391-393) — partially duplicating the memoized allowedColumnOptions filter above. Wrapping it in useMemo keyed on [loading, columnOptions, columnsAllowlist] matches the sibling memo and removes the redundant per-render scan.
Code Review Run #79b0a8
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
…19327] Let dashboard builders curate which columns viewers may group by in a Dynamic Group By native filter (chart_customization_dynamic_groupby). - Add a multi-select "Groupable columns" control to the filter's config panel (reusing ColumnSelect in mode="multiple"), stored in the customization's controlValues.columnsAllowlist. - Respect the allowlist in the viewer (GroupByFilterCard): only allowed columns are offered. An unset or empty allowlist means no restriction, so existing filters behave exactly as before (backwards compatible). - The allowlist rides along in controlValues, so it survives save/reload and dashboard export/import with no backend changes. - Clear the allowlist when the builder changes the dataset to avoid stale, dataset-specific column entries. - Add unit/RTL tests for the filtering helper, the viewer rendering, the config-form control, and controlValues persistence. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…nfig [sc-119327] Wrap the new "Groupable columns" allowlist Form.Item in the same StyledRowContainer used by the Datasource control directly above it, so it inherits the standard padded container (sizeUnit * 4) and its left edge lines up with the sibling sections instead of stretching toward the panel edge. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…[sc-119327] Seed a newly created Dynamic Group By display control's "Groupable columns" allowlist with every groupable column of the chosen dataset, so it defaults to "all selected" and builders deselect to restrict. - Add an onColumnsLoaded callback to ColumnSelect that reports the exact column names backing the rendered options (already narrowed by filterValues), so the seeded default matches the available options. - In FiltersConfigForm, seed controlValues.columnsAllowlist from that callback, but only when no allowlist is set yet. An existing selection, including a deliberately narrowed or emptied one, is never overwritten, so editing a configured control is untouched. Seeding does not mark the form changed, so editing a legacy control that never stored an allowlist stays a no-op unless the builder narrows the selection. - On dataset switch, keep clearing the allowlist to undefined so the seeding effect re-seeds all columns of the new dataset (dropping stale, dataset-specific entries). - Viewer semantics are unchanged: an unset/empty allowlist still means "no restriction", preserving backwards compatibility. - Add config-form tests for the new-control seed and the no-overwrite edit cases; existing viewer tests already cover empty/unset = no restriction. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…[sc-119327] Relocate the "Groupable columns" control from the top Settings area (under Datasource) into the collapsible "Display control configuration" section, above the Sort display control values checkbox. Drop the StyledRowContainer wrapper so it aligns with the section's other items (e.g. dependencies, Sort type) via StyledRowFormItem. Pure reposition/restyle; the create-time seeding, no-clobber-on-edit rule, dataset-switch re-seed, and viewer empty=no-restriction behavior are unchanged. Co-Authored-By: Claude Opus 4.8 <[email protected]>
- Collapse an allowlist that selects every groupable column back to unset on save, so the "all selected" default no longer freezes a snapshot of the dataset's columns. Columns added to the dataset later stay available to viewers. The groupable set is recorded in a form-only `groupableColumns` field (registered via a hidden FormItem) and stripped by the save transform. - Build the builder's allowlist options with the viewer's predicate (`filterable !== false`) so columns with a null `filterable` flag are offered and seeded instead of silently hidden. - Keep a viewer's applied group-by value in the options when a narrowed allowlist excludes it, so it still renders with its verbose label. - ColumnSelect: skip the reset lookup for an empty selection, so loading the allowlist's columns no longer nulls the unrelated `column` field. - Tests for each behavior; each fails without its fix. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…sc-119327]
Regenerated with ./scripts/translations/babel_update.sh. Adds only the two
strings introduced by the Group By allowlist ("Groupable columns" and its
tooltip) to messages.pot and each .po catalog.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Product acceptance review findings for the Group By column allowlist: - F1: switching the dataset away and back no longer saves the other dataset's columns. The dataset picker's reset compares against a stale datasetId, so returning to the original dataset skipped clearing the allowlist. The allowlist now tracks the datasource it was chosen for and reseeds whenever columns load for a different one. ColumnSelect also ignores responses for a datasource the user already switched away from. - F2: the default value respects the allowlist. The default-value picker offers only allowlisted, groupable columns and drops an excluded default; the save transform prunes it as a backstop. - F4: the builder list shows verbose names (falling back to the column name) and search matches either. - F5: the empty state reads "All groupable columns", with a visible help line explaining that empty or all-selected also picks up new columns. - F6: the builder is warned about allowlisted columns the dataset no longer offers, and viewers see a message (rather than a dead control) when none of the allowed columns remain. The allowlist helpers move to a shared module used by the viewer card, the default-value picker and the save transform. Each fix has a test that fails without it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…c-119327] Satisfies the un-awaited userEvent custom lint rule added on master (#44947). Co-Authored-By: Claude Opus 5.5 <[email protected]>
018b691 to
20e9499
Compare
CodeAnt PR Risk: Low Risk
Assessed commit: |
…s [sc-119327] Adds the new placeholder, help, warning and viewer message strings and the reworded tooltip; removes the old, untranslated tooltip string. Regenerated with babel_update.sh, keeping only this PR's entries. Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
* refactor(mcp): one plugin lifecycle contract and compact chart config schemas (apache#44746) * fix(doris): quarter grain, SSL toggle, parameters URI, error mapping and column types (apache#44718) * chore(deps): bump the security group across 1 directory with 2 updates (apache#44824) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * test(semantic-views): wait for views refetches to settle before selecting a view (apache#44792) * chore(build): remove unused dependencies in `docs` and `superset-frontend` (apache#44697) Signed-off-by: hainenber <[email protected]> * chore(deps): bump the security group across 1 directory with 2 updates (apache#44831) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: avoid provider calls when rendering datasource access denials (apache#44432) * fix(csv-import): add primary key when MySQL requires one (apache#44411) Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(mcp): align histogram and waterfall query contracts (apache#44744) * ci(python): run the Python-next canary nightly, bump to 3.13 (apache#44767) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump dompurify from 3.4.15 to 3.4.16 in /superset-frontend in the security group across 1 directory (apache#44830) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(matrixify): fan metrics-axis selection into multi-query fields (apache#44629) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sqllab): ignore non-object template_params in format_sql instead of 500 (apache#44826) Co-authored-by: Claude Opus 4.6 <[email protected]> * fix(core): stop discarding API errors that quote an HTML tag (apache#42489) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(i18n): make babel_update.sh .pot normalization actually run (apache#44395) * fix(sql): reject client-side file-transfer statements in query execution (apache#44496) Co-authored-by: Claude Opus 4.8 <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(sqllab): preserve exact decimals in results and exports (apache#44739) * fix(exasol): classify common server errors (apache#44721) * fix(elasticsearch): classify byte, short, half_float, scaled_float and unsigned_long columns (apache#44713) * fix(db2): accept sqlglot's parse_mod in the DB2 term parser (apache#44708) * fix(databricks): keep the user's OAuth2 token and extra connect_args; re-auth on HTTP 401 (apache#44705) * fix(gsheets): align service-account validation and serialize upload dates (apache#44695) * fix(mcp): prioritize exact tool names in BM25 search (apache#44682) * test(embedded-sdk): cross-document test rig for the navigation fix (apache#44608) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(auth): drain flash messages on the login page (apache#44605) * fix(gantt): prevent y-axis category labels from being clipped (apache#44321) * fix(auth): remove the legacy FAB password reset views and move password resets into the SPA (apache#44626) Co-authored-by: jayvenn21 <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> * fix: increase dataset edit modal size (apache#38215) (apache#39257) Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> Co-authored-by: rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(doris): offer the connection form by matching the installed driver (apache#44736) * chore(deps): bump @googleapis/sheets from 18.0.0 to 18.0.1 in /superset-frontend (apache#44862) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github/codeql-action/analyze from 4.38.1 to 4.38.2 (apache#44861) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump github/codeql-action/upload-sarif from 4.38.1 to 4.38.2 (apache#44859) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: add sadpandajoe as a codeowner for .asf.yaml (apache#44855) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore: drop cypress-matrix-required from required status checks (apache#44854) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump github/codeql-action/init from 4.38.1 to 4.38.2 (apache#44860) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(e2e): remove Cypress infrastructure (apache#44829) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(oauth2): refresh a token rejected when a connection opens (apache#44765) * feat(table): add multi-level column header groups (apache#43938) Co-authored-by: Cursor <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(mcp): enforce tool deadlines without blocking the server (apache#44581) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * test(playwright): select existing dashboards without creating duplicates (apache#44856) * feat(mcp): support tab-scoped dashboard layouts (apache#44797) * fix: size 'Drill to detail' table header correctly (apache#44807) * fix(mcp): use DEFAULT_PAGE_SIZE constant in list_charts test (apache#44786) * fix(mcp): keep a bubble chart's colors and row limit across updates (apache#44618) Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> * fix(frontend): use html2canvas for chart image export on Safari (apache#44529) * chore(deps): bump deck.gl and luma.gl from 9.2.5 to 9.4.0 in /superset-frontend (apache#42608) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(home): redirect users without an ID before rendering (apache#44456) * chore(deps-dev): update google-cloud-storage requirement from >=1.37 to >=3.14.1 (apache#44693) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(mcp): enforce dashboard filter scope on dataset, SQL and chart tool calls (apache#44800) * fix(postprocessing): preserve NULL index values through pivot() (apache#43547) (apache#43693) Co-authored-by: Copilot Autofix powered by AI <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(mcp): execute_sql request limit caps, never raises, an explicit SQL LIMIT (apache#44604) Co-authored-by: Claude Opus 5.5 <[email protected]> * ci: require babel-extract to pass before merging master (apache#44543) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(mcp): report a chart's live dataset id and name (apache#44681) * fix(retention): skip models without purge policies before scanning (apache#44874) * fix(semantic-layers): export/import semantic-view charts by typed reference (apache#44396) * fix(semantic-layer): require explicit member identity reselection (apache#44370) * fix(logging): register LogRestApi only once (apache#44732) * chore(deps-dev): bump baseline-browser-mapping from 2.11.25 to 2.11.26 in /superset-frontend (apache#44890) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dompurify from 3.4.15 to 3.4.16 in /superset-frontend (apache#44889) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dom-to-image-more from 3.10.2 to 3.11.0 in /superset-frontend (apache#44888) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump maplibre-gl from 6.8.0 to 6.11.2 in /superset-frontend (apache#44887) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump minimizer-webpack-plugin from 5.11.0 to 5.12.0 in /superset-frontend (apache#44886) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump webpack-sources from 3.5.1 to 3.5.3 in /superset-frontend (apache#44885) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint-tsgolint from 7.0.2002 to 7.0.2003 in /docs (apache#44883) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint-tsgolint from 7.0.2002 to 7.0.2003 in /superset-websocket (apache#44882) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(superset-ui-chart-controls): forward-compat fixes for TypeScript 6.0 (apache#44877) Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(export/import): add annotation layer export/import support for charts and dashboards (apache#43232) Co-authored-by: rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> * fix(users): stop update_me setting self-referential changed_by_fk (apache#44866) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * chore(deps): bump dawidd6/action-download-artifact from 24 to 25 (apache#44884) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(build): de-vendor `helm/chart-testing-action` GHA (apache#44722) Signed-off-by: hainenber <[email protected]> * fix(ci): floor pyfakefs at 5.7.4 to fix Python 3.13 pytest-cov crash (apache#44853) Co-authored-by: Claude Opus 5 <[email protected]> * docs(databases): add ClickHouse Managed Postgres (apache#44870) Co-authored-by: Đỗ Trọng Hải <[email protected]> * test(explore): cover time range frames, comparison labels, and metric popover state (apache#44847) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(change-detector): classify changed files by language, not directory (apache#44895) * chore(mcp): fix malformed tool and prompt docstrings (apache#44572) Co-authored-by: Claude Opus 5 <[email protected]> * feat(chart): cross-filter by x-axis label on charts with dimensions (apache#44869) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): cover color scheme selection, BigNumber subheader/trendline, and WorldMap bubbles (apache#44846) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(plugin-chart-table): cover server-side sort, query mode controls, and sort ordering (apache#44845) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): cover viz switch and control dependency logic (apache#44842) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(explore): add fetchTopNValues unit tests (apache#44841) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): add saveModalReducer unit tests (apache#44839) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(dashboard): show the configured refresh warning alongside the limit error (apache#44836) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): add datasourcesReducer unit tests (apache#44840) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test(explore): port remaining deleted Cypress explore specs to RTL (apache#44838) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(frontend): await the userEvent calls that needed restructuring (apache#44799) * fix(chart): wrap raw pandas TypeError/DataError from post-processing as QueryObjectValidationError (apache#44463) * fix(reports): catch TypeError when validating non-string extra.dashboard.anchor (apache#44404) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix(import): avoid UnboundLocalError when load_yaml fails during load_configs (SC-121288) (apache#44390) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix(api): return 401 not 500 for auth errors in CurrentUserRestApi (SC-120417) (apache#44213) * fix(security): guard is_guest_user against NoAuthorizationError on unauthenticated error paths (apache#43826) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix: downgrade deprecated query_object field warnings to info (apache#43520) * docs: remove stale Selenium references after Playwright-only switch (apache#44243) * fix(mcp): include feature_availability in instance://metadata resource (apache#44891) * fix(echarts): recognize Date and ISO-string temporal x-axis values in getXAxisDomain (apache#44818) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(native-filters): keep cascade dependency gate in sync with live filter type (apache#44366) Co-authored-by: Superset Dev <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(ci): add Chromatic visual regression testing for Storybook (apache#44103) Co-authored-by: Claude Code <[email protected]> * fix(mcp): skip dashboard live updates when websockets are disabled or realtime access is missing (apache#44796) * test(dashboard): cover "View as table" end-to-end for a view-as-table-only role (apache#44881) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(clickhouse): cover GROUP BY ALL against a real instance (apache#40482) (apache#44879) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sec): sanitize HTML text before shown as impact item's label (apache#43825) * fix(chart): accept quarter and day in end-of time ranges (apache#43204) * fix(sql-lab): avoid duplicate generated result column names (apache#44189) * fix(chart): sort Heatmap Y-axis by default when unset (apache#44588) Co-authored-by: Claude Sonnet 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(select): remove Space wrapper from optionRender to fix option label truncation (apache#44357) * fix(sql-lab): use function valueGetter for GridTable row numbers (apache#41574) Co-authored-by: chenshaobo <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> * fix(mcp): stop partial-update tools from advertising null defaults (apache#44573) Co-authored-by: Claude Opus 5 <[email protected]> * fix(cartodiagram): share Pie colors across locations in Explore (apache#44794) * fix(mcp): use create_proxy in simple_proxy for fastmcp 4 compatibility (apache#44787) * fix(post-processing): stop treating gaps as zero for cumprod, cummin and cummax (apache#44828) * fix(import): remove duplicate config redefinition in load_configs (apache#44932) Co-authored-by: Claude Sonnet 5 <[email protected]> * perf(deletion-retention): one window pass for repeat predicate (apache#44349) * chore(deps): bump markdown from 3.10.3 to 3.11 (apache#44941) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): update google-cloud-storage requirement from >=3.14.1 to >=3.15.0 (apache#44940) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump cachetools from 7.1.8 to 7.2.0 (apache#44939) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): update databricks-sql-connector requirement from <4.6.0,>=4.5.0 to >=4.6.0,<4.7.0 (apache#44937) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump holidays from 0.104 to 0.105 (apache#44936) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps): bump sqlglot from 30.18.0 to 30.19.0 (apache#44935) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps-dev): bump clickhouse-connect from 1.8.0 to 1.9.0 (apache#44934) Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix(mcp): preserve calling constraints in compact tool discovery (apache#44656) Co-authored-by: Claude Opus 5.5 <[email protected]> * feat: Add GUI for label_colors in Dashboard Properties Modal (apache#39434) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * test(opensearch): cover pagination and Content-Type regression against a real instance (apache#44924) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(frontend): finish migrating off direct antd imports, enforce it in custom rules (apache#44927) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(mysql): cover require_mysql_tls fail-closed and verified-TLS paths (apache#44910) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(oracle): cover cancel-query against a real running statement (apache#44908) Co-authored-by: Claude Sonnet 5 <[email protected]> * test(cratedb): cover epoch-ms timestamp decoding against a real instance (apache#44904) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(deps): restore dompurify 3.4.16 in frontend lockfile (apache#44960) * fix(mypy): ignore false-positive union-attr on Slice.uuid.in_() (apache#44944) Co-authored-by: Claude Sonnet 5 <[email protected]> * docs(mcp): document semantic-layer MCP tools (apache#44130) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dataset-editor): preserve edits across sort and sync external SQL changes (apache#44858) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(sqlite): write midnight as a bare date for DATE columns in time filters (apache#44805) Co-authored-by: Amin Ghadersohi <[email protected]> * chore(deps): bump dawidd6/action-download-artifact from 25 to 26 (apache#44977) * chore(deps): bump chromaui/action from 18.7.3 to 18.10.1 (apache#44973) * chore(deps-dev): bump postcss-styled-syntax from 0.7.2 to 0.7.3 in /superset-frontend (apache#44980) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-frontend (apache#44979) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump webpack-sources from 3.5.3 to 3.6.0 in /superset-frontend (apache#44978) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump chalk from 6.0.0 to 6.0.1 in /superset-frontend (apache#44976) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump vitest from 5.0.1 to 5.0.2 in /superset-embedded-sdk (apache#44974) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-embedded-sdk (apache#44972) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node from 26.6.2 to 26.6.3 in /superset-websocket (apache#44971) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump vitest from 5.0.1 to 5.0.2 in /superset-websocket (apache#44970) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump ws from 8.21.3 to 8.22.0 in /superset-websocket (apache#44969) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: remove unused INCLUDE_FIREFOX build arg and dead screenshot config (apache#44245) * fix(explore): preserve pending column configuration edits (apache#44931) * fix(mcp): return actionable authorized column suggestions (apache#44603) * chore(deps-dev): bump the swc group in /superset-frontend with 2 updates (apache#44975) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(build): remove unused `polyline` Python dep (apache#44961) * fix: full CSV download in AgGrid (apache#41696) Co-authored-by: rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(mcp): support filter_range and filter_timegrain filters (apache#44893) * fix(models): silence pandas silent-downcasting FutureWarning in normalize_df (apache#44897) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(mcp): avoid duplicate SQL execution results (apache#44949) * fix(charts): return 404 when chart export hits an inaccessible dataset (apache#44900) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(mcp): allow bounding dashboard dataset columns (apache#44951) * feat(mcp): return the Big Number headline from chart and dashboard data (apache#44948) * fix(logging): stop logging tracebacks for client-side HTTP errors (apache#44666) * fix(ag-grid-table): refresh totals when summary aggregation changes (apache#44612) * feat(ci): conditionally run CodeQL analysis workflows only when there are detected JS/Python file changes (apache#44699) * fix(embedded): refuse guest row-level security on semantic views (apache#44987) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Mike Bridge <[email protected]> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /superset-websocket (apache#45005) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(ag-grid-table): expand JSON values in table cells (apache#44907) Co-authored-by: Enzo Martellucci <[email protected]> * chore(i18n): update pt/pt_BR translations and rebuild translation index (apache#43022) Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dashboards): close CSS validation gaps in dashboard import and edits (apache#43666) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(themes): overwrite-import guard, missing index, dedupe extra_editors (follow-up to apache#42404) (apache#44362) Co-authored-by: Claude Code <[email protected]> * feat(bignumber): add an alignment control (apache#44554) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(reports): propagate force flag to dashboard-tab permalink report URLs (apache#44775) Co-authored-by: Ferjani Nasraoui <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]> * refactor(list-view): eliminate any usage in ListView.tsx and TableCollection (apache#44208) Co-authored-by: Claude Sonnet 5 <[email protected]> * fix(dashboard,explore): wire addWarningToast into download callers (apache#44154) Co-authored-by: Claude Sonnet 5 <[email protected]> * chore(deps): bump the rjsf group in /superset-frontend with 3 updates (apache#45004) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(deps-dev): bump @swc/core from 1.16.2 to 1.16.12 in /superset-frontend in the swc group (apache#45012) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @swc/core from 1.16.2 to 1.16.12 in /docs (apache#45008) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump source-map-js from 1.2.1 to 1.2.2 in /superset-websocket in the security group across 1 directory (apache#45028) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat: add global async query playwright tests (apache#43004) Co-authored-by: Claude Fable 5 <[email protected]> * fix(table): omit dormant grains from semantic aggregate requests (apache#44455) * fix(semantic-layers): offer valid table ordering choices (apache#44806) Co-authored-by: Mike Bridge <[email protected]> * fix(semantic-layers): remove child view permissions when a layer is deleted (apache#44905) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * chore(deps): bump proxy-addr from 2.0.7 to 2.0.8 in /superset-websocket/utils/client-ws-app in the security group across 1 directory (apache#45027) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump dawidd6/action-download-artifact from 26 to 27 (apache#45011) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump source-map-js from 1.2.1 to 1.2.2 in /superset-embedded-sdk in the security group across 1 directory (apache#45024) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(pivot-table): respect per-metric formatters in result aggregation (apache#44815) Co-authored-by: Evan Rusackas <[email protected]> * fix(query-context): match an adhoc granularity_sqla by its expression (apache#44773) * feat(mcp): allow default values on filter_select native filters (apache#44985) * feat(mcp): add structured dashboard text component management (apache#44560) * fix(explore): avoid mutating ZoomConfigControl configs (apache#44957) Co-authored-by: Cursor <[email protected]> * test(frontend): await remaining userEvent calls and lint for un-awaited ones (apache#44947) * fix(explore): open SQL Lab in a new tab on Ctrl+click in View query modal (apache#44933) * chore(deps): bump the security group across 1 directory with 9 updates (apache#45026) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the security group across 1 directory with 6 updates (apache#45025) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump wait-on from 9.1.0 to 9.4.0 in /superset-frontend (apache#45015) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /superset-frontend (apache#45014) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxlint from 1.85.0 to 1.86.0 in /docs (apache#45009) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump the typescript-eslint group in /superset-frontend with 2 updates (apache#45007) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxfmt from 0.70.0 to 0.71.0 in /superset-websocket (apache#45006) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(mcp): support filter-bar dividers in manage_native_filters (apache#45021) * fix(mcp): state that dataset tools are SQL-only and point to semantic tools (apache#44994) Co-authored-by: Mike Bridge <[email protected]> * fix(dashboards): return 404 when dashboard export hits an inaccessible chart or dataset (apache#44929) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * feat(semantic): add optional metadata refresh SDK contract (apache#44834) Signed-off-by: Mike Bridge <[email protected]> * fix(semantic): map layer views as a collection (apache#44902) * feat(retention): let a host install purge policies for its own soft-delete roots (apache#44892) * fix(semantic): reject SQL clauses on semantic views (apache#44899) * fix(security): bind contextual access checks to the datasource type and id (apache#45002) Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Mike Bridge <[email protected]> * fix(permalink): handle concurrent creation of identical dashboard permalinks (apache#45059) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * chore(deps-dev): bump @types/ws from 8.18.1 to 8.18.2 in /superset-websocket (apache#45045) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the storybook group in /docs with 2 updates (apache#45046) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump the storybook group in /superset-frontend with 5 updates (apache#45047) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(post-processing): stop duplicating columns in _append_columns (apache#45018) * feat(plugin-chart-echarts): add a value axis label control (apache#43660) * fix(layout): restore growable app shell so injected content above #app doesn't clip it (apache#45056) Co-authored-by: Claude Sonnet 5 <[email protected]> * feat(pivot-table): collapse row groups by default (apache#45030) * fix(versioning): refuse a chart restore whose datasource no longer exists (apache#44925) * fix(semantic): hide and ignore series limits that have no series columns (apache#44909) Co-authored-by: Mike Bridge <[email protected]> * fix(async): show the real error for a failed async chart query (apache#45054) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * feat(semantic-layer): show provider queries from chart results (apache#44206) Co-authored-by: Mike Bridge <[email protected]> * perf(security): batch dashboard fallback datasource resolution (apache#44993) Co-authored-by: Mike Bridge <[email protected]> * fix(mcp): refuse changes to externally managed dashboards in all dashboard tools (apache#45062) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(versioning): preserve history across savepoint rollback (apache#45033) * fix(cache): evict rejected cached GET requests (apache#45055) * fix(semantic): return a client error for unsupported time grains (apache#45053) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * chore(deps-dev): bump vitest from 5.0.2 to 5.0.3 in /superset-websocket (apache#45072) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: add DouroECI logo and contributor to In the Wild (apache#45096) Co-authored-by: José Henrique <[email protected]> * fix(charts): clear perms of charts whose datasource no longer exists (apache#44926) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> * fix(date_parser): use pyparsing snake_case API to silence PyparsingDeprecationWarning (apache#45094) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * fix(mcp): don't page MCP_ERROR_HOOK for user-class errors in the last-resort catch (SC-125493) (apache#45093) Co-authored-by: Claude Sonnet 5.5 <[email protected]> * feat: SIP-209 Improved Alerts & Reports (apache#44992) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(ci): configure more grouped dep upgrades across npm subprojects (apache#44696) Signed-off-by: hainenber <[email protected]> * fix(explore): skip Ctrl/Cmd+Enter query while controls have errors or chart is loading (apache#44963) * fix(explore): show 0 zoom, latitude and longitude in the map view extent tag (apache#44962) Co-authored-by: Joe Li <[email protected]> * fix(explore): honor a controlled ControlPopover open prop (apache#44959) * fix(native-filters): show a clear error instead of "Network error" when filter values fail to load (apache#44585) Co-authored-by: Claude Opus 5.5 <[email protected]> * fix(explore): dispatch datasource metadata fetch (apache#44958) * fix(semantic-layer): fail incomplete or unverified semantic query results (apache#44832) * fix(dashboard): refresh semantic metadata across edits (apache#45052) Co-authored-by: Mike Bridge <[email protected]> * chore: Update CODEOWNERS to include @sadpandajoe (apache#45120) * feat(mcp): add typed Sunburst chart support (apache#43771) * fix(semantic-layer): require write access for configuration schema enrichment (apache#45107) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(dashboard): wait for async submenu and debounced validation in flaky tests (apache#45106) Co-authored-by: Mike Bridge <[email protected]> * fix(datasets): accept certification fields on dataset column and metric PUT (apache#45091) * chore(deps): bump chromaui/action from 18.10.1 to 18.10.2 (apache#45134) * fix(semantic-layer): honor provider preferred time dimension (apache#44997) Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> * feat(dashboard): add column allowlist to Group By native filter (apache#43736) Co-authored-by: Claude Opus 4.8 <[email protected]> * fix(soft-delete): preserve a shared datasource permission on purge (apache#45034) Co-authored-by: Claude Opus 5.5 <[email protected]> * perf(versioning): defer capture policy until versioned work (apache#44928) * fix(date-parser): reject malformed time ranges instead of scanning everything (apache#45098) * chore(deps-dev): bump wait-on from 9.4.0 to 9.5.1 in /superset-frontend (apache#45048) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(deps): bump mapbox-gl from 3.31.0 to 3.32.0 in /superset-frontend (apache#45049) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Li <[email protected]> * chore(deps-dev): bump vitest from 5.0.2 to 5.0.3 in /superset-embedded-sdk (apache#45074) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the swc group across 2 directories with 1 update (apache#45118) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @types/node in /superset-embedded-sdk (apache#45121) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump swagger-ui-react from 5.33.0 to 5.33.1 in /docs (apache#45122) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump yargs from 18.1.0 to 18.2.0 in /superset-frontend (apache#45129) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump oxfmt in /docs (apache#45119) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: hainenber <[email protected]> Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Mike Bridge <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sepuri Sai Krishna <[email protected]> Co-authored-by: Đỗ Trọng Hải <[email protected]> Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Joe Li <[email protected]> Co-authored-by: Claude Opus 5 <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Evan Rusackas <[email protected]> Co-authored-by: Elizabeth Thompson <[email protected]> Co-authored-by: Gaurav Dubey <[email protected]> Co-authored-by: Gaston Laterza <[email protected]> Co-authored-by: Shaitan <[email protected]> Co-authored-by: chadek <[email protected]> Co-authored-by: 47th <[email protected]> Co-authored-by: jayvenn21 <[email protected]> Co-authored-by: Vikash Kumar <[email protected]> Co-authored-by: codeant-ai-for-open-source[bot] <244253245+codeant-ai-for-open-source[bot]@users.noreply.github.com> Co-authored-by: SBIN2010 <[email protected]> Co-authored-by: Cursor <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: mattmc3 <[email protected]> Co-authored-by: Viktor Högberg <[email protected]> Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: Greg Neighbors <[email protected]> Co-authored-by: hadi mobarra <[email protected]> Co-authored-by: Bexultan <[email protected]> Co-authored-by: Archita-kale <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]> Co-authored-by: Mallikarjuna Reddy Nimmakayala <[email protected]> Co-authored-by: Enzo Martellucci <[email protected]> Co-authored-by: Younes Beriane <[email protected]> Co-authored-by: Alasdair Brown <[email protected]> Co-authored-by: Krishna kumar singh <[email protected]> Co-authored-by: Luiz Otavio <[email protected]> Co-authored-by: Sam Firke <[email protected]> Co-authored-by: Superset Dev <[email protected]> Co-authored-by: Dennis Khylkouski <[email protected]> Co-authored-by: Piyush Raj <[email protected]> Co-authored-by: hahaok <[email protected]> Co-authored-by: chenshaobo <[email protected]> Co-authored-by: Nguyen Dang Trung Tien <[email protected]> Co-authored-by: Endi Monan <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Jay Masiwal <[email protected]> Co-authored-by: Daniel Alyoshin <[email protected]> Co-authored-by: Amin Ghadersohi <[email protected]> Co-authored-by: Minwook Shin <[email protected]> Co-authored-by: Beto Dealmeida <[email protected]> Co-authored-by: Mike Bridge <[email protected]> Co-authored-by: Rafael Benitez <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Israel Demetrios Diacov <[email protected]> Co-authored-by: Ferjani Nasraoui <[email protected]> Co-authored-by: drivaspreset <[email protected]> Co-authored-by: Abhinav <[email protected]> Co-authored-by: Trakshan Mishra <[email protected]> Co-authored-by: Amogh Atreya <[email protected]> Co-authored-by: Divyansh Yadav <[email protected]> Co-authored-by: Alexandru Soare <[email protected]> Co-authored-by: Michael S. Molina <[email protected]> Co-authored-by: rlei <[email protected]> Co-authored-by: J0s3-H3nr1qu3 <[email protected]> Co-authored-by: José Henrique <[email protected]> Co-authored-by: Vitor Avila <[email protected]> Co-authored-by: Mayuri <[email protected]> Co-authored-by: Mehmet Salih Yavuz <[email protected]>
SUMMARY
Dashboard builders can configure a Group By native filter (the Dynamic Group By chart customization,
chart_customization_dynamic_groupby), but until now viewers could group by any groupable column of the underlying dataset. This PR lets the builder curate an allowlist of columns that viewers are allowed to group by.Tracking: Shortcut sc-119327
What changed
FiltersConfigForm.tsx): adds a multi-select "Groupable columns" control for the Group By filter, reusing the existingColumnSelectinmode="multiple". The selection is the allowlist. It renders only for the Dynamic Group By customization and only once a dataset is chosen. Changing the dataset clears the allowlist so it can't hold stale, dataset-specific column names.controlValues.columnsAllowlist.controlValuesis already serialized with the customization, so the allowlist survives save/reload and dashboard export/import with no backend changes.GroupByFilterCard.tsx): filters the offered column options through the allowlist via a small pure helperapplyColumnAllowlist.BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
sc-119327-groupby-allowlist-demo.webm
TESTING INSTRUCTIONS
Automated (frontend):
Covers: the filtering helper (allowlist unset/empty → all columns; non-empty → only allowlisted, ignoring non-existent entries), the viewer only rendering allowlisted options (and all options when unconfigured), the config-form control rendering and reading back its persisted value, and
controlValues.columnsAllowlistsurviving the save transform.Manual:
ADDITIONAL INFORMATION