Evan Rusackas
87aea31236
fix(chart): restore JSX.Element return type on ChartDataProvider
...
The earlier pivot to `ReactNode` broke tsc with TS2786 — `ReactNode`
widens to `undefined`, which isn't assignable to the
`ReactElement<any, any> | null` type TypeScript requires for a JSX
component. This failed the lint-frontend and sharded-jest-tests (2)
CI checks.
Keep the render-prop `children` signature permissive (`ReactNode`)
but wrap each `children(...)` call in a Fragment so the component
itself returns `JSX.Element | null`. No unsafe casts, and consumers
can still return strings / fragments / arrays from the render prop.
2026-04-23 01:36:37 -07:00
Evan Rusackas
ed58fc51e0
address review: correct stale comment on data-fetch effect
...
Previous comment claimed changing callback props would trigger a
refetch, but the dependency array only includes [formData, sliceId].
Update the comment to describe the actual behavior (which matches
the original class component's componentDidUpdate) and explain why
exhaustive-deps is disabled.
2026-04-22 13:57:24 -07:00
Evan Rusackas
9a446677e3
address review: return ReactNode from ChartDataProvider
...
The children prop is typed as returning ReactNode (which covers
strings, fragments, arrays, etc.), so casting the return to
JSX.Element was unsafe. Change the component's return type to
ReactNode and drop the casts.
2026-04-22 13:56:49 -07:00
Evan Rusackas
e4eb0fc33d
address review: drop redundant useTheme + theme prop in StatefulChart
...
SuperChart is exported via withTheme(...), so the theme flows in from
context automatically. The explicit useTheme() call and theme={theme}
prop are redundant, and the cast on useTheme from @emotion/react
(rather than the guarded @apache-superset/core/theme hook) was an
unnecessary type workaround.
2026-04-22 13:55:41 -07:00
Evan Rusackas
a9771609c3
Merge branch 'master' into chore/fc-05-chart-data-provider
2026-04-19 15:25:42 -04:00
dependabot[bot]
fbd062165e
chore(deps): bump @swc/core from 1.15.24 to 1.15.26 in /docs ( #39374 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-19 21:40:19 +07:00
dependabot[bot]
55625c911f
chore(deps-dev): bump timezone-mock from 1.4.0 to 1.4.2 in /superset-frontend ( #38049 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Li <joe@preset.io >
Co-authored-by: hainenber <dotronghai96@gmail.com >
2026-04-19 17:19:08 +07:00
dependabot[bot]
fca64de8e9
chore(deps-dev): bump prettier from 3.8.2 to 3.8.3 in /superset-frontend ( #39372 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-19 11:19:22 +07:00
dependabot[bot]
03725d1aaa
chore(deps): bump dompurify from 3.3.3 to 3.4.0 in /superset-frontend ( #39399 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hainenber <dotronghai96@gmail.com >
2026-04-19 10:58:36 +07:00
dependabot[bot]
a9487cbc84
chore(deps): bump aws-actions/amazon-ecr-login from 2.1.2 to 2.1.3 ( #39403 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-18 12:51:07 +07:00
dependabot[bot]
ce5b2aa424
chore(deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 ( #39320 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-18 12:49:30 +07:00
dependabot[bot]
e535dce030
chore(deps-dev): bump prettier from 3.8.1 to 3.8.3 in /docs ( #39400 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-18 11:58:29 +07:00
dependabot[bot]
a7310b1fce
chore(deps): bump @docusaurus/core from 3.9.2 to 3.10.0 in /docs ( #39188 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Đỗ Trọng Hải <41283691+hainenber@users.noreply.github.com >
Co-authored-by: hainenber <dotronghai96@gmail.com >
2026-04-18 11:43:47 +07:00
dependabot[bot]
cd6ce881a5
chore(deps): bump dompurify from 3.3.3 to 3.4.0 in /docs ( #39398 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-18 09:54:38 +07:00
dependabot[bot]
f0ef9f5e9c
chore(deps-dev): bump webpack from 5.105.4 to 5.106.2 in /docs ( #39401 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: hainenber <dotronghai96@gmail.com >
2026-04-18 09:52:53 +07:00
dependabot[bot]
4ae16cb140
chore(deps-dev): bump typescript-eslint from 8.58.0 to 8.58.2 in /docs ( #39426 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-18 09:27:11 +07:00
David Hotham
3d85e8e23b
chore: publish wheels ( #36746 )
...
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2026-04-17 17:21:23 -03:00
Evan Rusackas
690a411cf3
chore(ci): require PMC review for CI-executed scripts ( #39462 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-04-17 12:55:27 -07:00
Evan Rusackas
d820f16173
fix(imports): rewrite stale @apache-superset/core bare and api/core imports to correct subpaths
2026-04-17 11:35:19 -07:00
Evan Rusackas
393c018681
fix(imports): rewrite stale @apache-superset/core/ui to current subpaths
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-17 10:56:20 -07:00
Evan Rusackas
a5f0c31e05
chore(lint): convert ChartDataProvider and StatefulChart to function components
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-17 10:34:37 -07:00
JUST.in DO IT
be680408c9
fix(sqllab): enhance table explore tree with schema pinning, column sorting, and table schema refresh ( #39396 )
...
Co-authored-by: Michael S. Molina <michael.s.molina@gmail.com >
2026-04-17 09:08:46 -07:00
JUST.in DO IT
4bdc8d4c68
fix(sqllab): Relocate schema display on table preview ( #39420 )
2026-04-17 09:09:52 -03:00
dependabot[bot]
db7a2bd682
chore(deps): bump protocol-buffers-schema from 3.6.0 to 3.6.1 in /superset-frontend ( #39418 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 20:49:37 -07:00
Gabriel Torres Ruiz
2e0d482ccf
fix(mcp): support explicit query_mode in TableChartConfig ( #39412 )
2026-04-16 18:53:25 -03:00
Gabriel Torres Ruiz
e5b3a9c25d
fix(mcp): replace inputSchema with parameters_hint in search_tools results by default ( #39411 )
2026-04-16 18:53:10 -03:00
Gabriel Torres Ruiz
c289731212
fix(mcp): prevent LLM from creating new dashboard instead of adding chart to existing one ( #39353 )
2026-04-16 18:52:53 -03:00
Gabriel Torres Ruiz
f850c6b1b1
fix(parallel-coordinates): improve dark mode visibility for labels, axis text, and data lines ( #39415 )
2026-04-16 18:51:36 -03:00
Evan Rusackas
8ce234371b
test(core): restore 100% TS coverage for core-packages-ts (copy utility) ( #39384 )
...
Co-authored-by: Claude Code <noreply@anthropic.com >
2026-04-16 12:02:52 -07:00
Michael S. Molina
e5820b6b2b
chore: Bump core packages to 0.1.0 RC2 ( #39406 )
2026-04-16 15:28:37 -03:00
Mehmet Salih Yavuz
69f062b804
feat(mcp): add a preview flow to mcp chart updates ( #39383 )
...
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-16 20:31:02 +03:00
dependabot[bot]
735dd5dbae
chore(deps): bump @swc/core from 1.15.21 to 1.15.24 in /docs ( #39133 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io >
2026-04-16 10:24:39 -07:00
dependabot[bot]
cd7dddb5a1
chore(deps): bump baseline-browser-mapping from 2.10.16 to 2.10.19 in /docs ( #39373 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 10:24:26 -07:00
Mehmet Salih Yavuz
7c76fd3d81
fix(SelectFilter): auto clear search input ( #39157 )
2026-04-16 18:54:34 +03:00
Luiz Otavio
0b419a07f5
fix: add comments to SQL clause validation ( #39167 )
2026-04-16 09:19:39 -03:00
JUST.in DO IT
0b51e9cd5e
fix(sqllab): format_sql to apply db dialect by database_id ( #39393 )
2026-04-16 08:27:51 -03:00
Amin Ghadersohi
e7b9fb277e
fix(mcp): always push fresh app context per tool call to prevent g.user race ( #39385 )
2026-04-15 20:48:21 -04:00
Amin Ghadersohi
838ee870d0
fix(mcp): update instructions to use correct request wrapper and identifier params ( #39392 )
2026-04-15 20:17:07 -04:00
dependabot[bot]
84af6c9f29
chore(deps-dev): bump @docusaurus/tsconfig from 3.9.2 to 3.10.0 in /docs ( #39189 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 15:28:40 -07:00
dependabot[bot]
05227e8a80
chore(deps): bump caniuse-lite from 1.0.30001786 to 1.0.30001788 in /docs ( #39376 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 15:12:46 -07:00
dependabot[bot]
76a209663d
chore(deps-dev): bump baseline-browser-mapping from 2.10.13 to 2.10.16 in /superset-frontend ( #39150 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:56:40 -07:00
dependabot[bot]
61c45e3dd8
chore(deps-dev): bump @docusaurus/module-type-aliases from 3.9.2 to 3.10.0 in /docs ( #39194 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:53:37 -07:00
dependabot[bot]
e11a50bedf
chore(deps): bump @docusaurus/faster from 3.9.2 to 3.10.0 in /docs ( #39195 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:53:05 -07:00
dependabot[bot]
f4a6ea0fde
chore(deps): bump actions/github-script from 8.0.0 to 9.0.0 ( #39267 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:52:48 -07:00
dependabot[bot]
e542e9f840
chore(deps): bump actions/cache from 5.0.4 to 5.0.5 ( #39368 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:52:32 -07:00
dependabot[bot]
e0dcb2908d
chore(deps): bump swagger-ui-react from 5.32.1 to 5.32.4 in /docs ( #39377 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:51:42 -07:00
innovark
eaccb2e471
fix(EmptyState): prevent SVG cropping in empty state images ( #37287 )
...
Co-authored-by: Joe Li <joe@preset.io >
2026-04-15 14:49:18 -07:00
Laurent Ouattara
c1a1f2e7e7
docs: add Hifadih Business & Technology to In the Wild ( #38824 )
2026-04-15 14:48:58 -07:00
Robert A
45d5501aa7
fix(documentation): FAQ grammar for SQL query wording ( #38923 )
2026-04-15 14:48:41 -07:00
dependabot[bot]
388596e4fe
chore(deps): bump baseline-browser-mapping from 2.10.13 to 2.10.16 in /docs ( #39148 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-15 14:48:25 -07:00