Evan Rusackas
2a7af9a237
test: add tests for high-risk class-to-function component conversions
...
Add test coverage for 5 components that were converted from class to
function components but lacked tests: TTestTable, SpatialControl,
FilterValue, TableRenderers, and FilterScopeSelector (56 new tests).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-01 19:04:38 -08:00
Evan Rusackas
f050ffd6e1
fix(pivot-table): use correct react-icons import path
...
Changed from @react-icons/all-files to react-icons/fa to match the
installed package and other usages in the codebase.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-27 15:39:10 -08:00
Evan Rusackas
131096da90
fix: add missing theme prop to SuperChart in story files
...
Add `theme={supersetTheme}` prop to all SuperChart components in story
files to fix TypeScript errors about missing required `theme` property.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-27 15:39:10 -08:00
Evan Rusackas
bf3d55809f
fix(tests): skip TableRenderer tests pending FC refactoring
...
The tableRenders.test.tsx tests were testing class instance methods
(sortData, sortAndCacheData, getAggregatedData, setState, state)
which no longer exist on the function component version of TableRenderer.
Added a placeholder test with a TODO comment explaining that these tests
need to be rewritten to either export helper functions or test through
component rendering.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-27 15:38:44 -08:00
Evan Rusackas
0879c8cddc
fix: address code review comments from bot
...
- ChartDataProvider: fix useEffect to only refetch on formData/sliceId changes
- reactify: preserve legacy `this` context for componentWillUnmount callbacks
- HorizonRow: add empty array guard for colorScale="change"
- TTestTable: clamp control index when data shrinks
- TableRenderers: fix sorting state reset to only trigger on structural props
- Chart: initialize renderStartTimeRef with Logger.getTimestamp()
- DatasourceEditor: pass fresh validation errors to onChange callback
- Dashboard: use event parameter instead of window.event in beforeunload
- SliceAdder: use refs to track latest values in cleanup effect
- Markdown: add ErrorBoundary and error handler to enable error message
- SaveModal: add isLoading check to "Save & go to dashboard" button
- CollectionControl: forward header props to ControlHeader
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-27 15:38:44 -08:00
Evan Rusackas
5dffbc26ed
chore(lint): convert class components to function components
...
Convert all remaining React class components to function components
using hooks (useState, useCallback, useEffect, useRef, useMemo) to
satisfy the react-prefer-function-component ESLint rule.
Key changes:
- Converted components in dashboard, explore, SqlLab, and Chart areas
- Updated associated test files with proper typing
- Fixed JSX.Element return types for components used as JSX
- Added explicit ControlHeader props where needed
- Fixed shouldFocus callback signature in WithPopoverMenu usage
Notable exceptions (not converted):
- ErrorBoundary (uses componentDidCatch)
- DragDroppable (react-dnd requires class instances)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-27 15:38:10 -08:00
Đỗ Trọng Hải
3d6644864d
build(deps): migrate to lighter and modern react-icons ( #38125 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-02-20 16:19:01 -08:00
SBIN2010
84f1ee4409
feat: added conditional formatting enhancements string to pivot table ( #35863 )
2026-02-17 01:08:41 +03:00
dependabot[bot]
afacca350f
chore(deps-dev): bump oxlint from 1.42.0 to 1.46.0 in /superset-frontend ( #37917 )
...
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-02-12 21:45:26 +07:00
Evan Rusackas
981b370fe9
chore(storybook): consolidate storybook and enhance plugin stories ( #37771 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-11 16:06:23 -08:00
Đỗ Trọng Hải
563d9f1a3f
chore(lint): migrate Jest lint rules from eslint to oxlint ( #37787 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2026-02-08 16:44:42 +07:00
Evan Rusackas
fc5506e466
chore(frontend): comprehensive TypeScript quality improvements ( #37625 )
...
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com >
2026-02-06 13:16:57 -08:00
dependabot[bot]
fd8c21591a
chore(deps-dev): update @babel/types requirement from ^7.28.6 to ^7.29.0 in /superset-frontend/plugins/plugin-chart-pivot-table ( #37603 )
...
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-02-05 10:31:56 -08:00
SBIN2010
d823dfd2b9
feat: add interactive column sorting to pivot table ( #36050 )
2026-01-23 11:10:13 -08:00
Richard Fogaca Nienkotter
f4474b2e3e
feat: Dynamic currency ( #36416 )
2026-01-16 21:58:41 -08:00
dependabot[bot]
91dba9dcbf
chore(deps-dev): bump @babel/types from 7.28.4 to 7.28.5 in /superset-frontend ( #36652 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-13 13:40:31 -08:00
Reynold Morel
0404c99e39
fix(dashboard): revert cell hover and active colors to grayscale ( #36991 )
2026-01-13 22:22:37 +03:00
Mehmet Salih Yavuz
e9b6791ffb
refactor: move translations and logging to new core ( #36929 )
2026-01-12 08:58:59 +03:00
dependabot[bot]
78081755aa
chore(deps-dev): bump jest and @types/jest in /superset-frontend ( #34477 )
...
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@rusackas.com >
2025-12-11 11:23:26 -08:00
Enzo Martellucci
062e4a2922
fix: Columns bleeding into other cells ( #36134 )
...
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com >
Co-authored-by: Geidō <60598000+geido@users.noreply.github.com >
2025-11-25 11:09:13 +02:00
Mehmet Salih Yavuz
9546ee37e5
chore(superset-core): move ui to new core ( #35308 )
2025-11-07 13:53:06 -03:00
Evan Rusackas
8ccdf3b32b
feat(frontend): Replace ESLint with OXC hybrid linting architecture ( #35506 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-10-30 09:26:21 -07:00
Gabriel Torres Ruiz
5e4a80e5d0
fix(ag-grid): fix conditional formatting theme colors and module extensibility ( #35605 )
2025-10-22 18:39:00 -07:00
dependabot[bot]
de0bd37a66
chore(deps-dev): update jest requirement from ^30.0.5 to ^30.2.0 in /superset-frontend/plugins/plugin-chart-pivot-table ( #35392 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-10 10:48:01 -07:00
Mehmet Salih Yavuz
412587ad41
fix(tables): Dark mode scrollbar styles for webkit ( #35338 )
2025-10-10 13:10:54 +03:00
dependabot[bot]
9a43a47e6a
chore(deps-dev): update @babel/types requirement from ^7.28.0 to ^7.28.4 in /superset-frontend/plugins/plugin-chart-pivot-table ( #35388 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-09 10:31:07 -07:00
Michael S. Molina
9b6876be62
fix: Typescript declaration files ( #35244 )
2025-09-23 14:22:28 -03:00
Michael S. Molina
78faaee685
chore: Reference GenericDataType from @apache-superset/core ( #35214 )
2025-09-23 10:12:18 -07:00
Michael S. Molina
6cb3ef9f5d
chore: TypeScript Configuration Modernization and Cleanup ( #35159 )
2025-09-18 16:27:57 -03:00
Elizabeth Thompson
7d0a472d1e
feat: Add comprehensive dark mode support for chart thumbnails and examples ( #35111 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-09-15 13:53:44 -07:00
SBIN2010
852adaa6cc
feat: conditional formatting improvements in tables ( #34330 )
2025-08-18 15:13:16 -07:00
Maxime Beauchemin
1f482b42eb
feat: completely migrate from DeprecatedThemeColors to Antd semantic tokens ( #34732 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-08-18 14:04:26 -07:00
dependabot[bot]
486b0122d0
chore(deps-dev): update jest requirement from ^30.0.4 to ^30.0.5 in /superset-frontend/plugins/plugin-chart-pivot-table ( #34462 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-05 17:46:01 -07:00
Mehmet Salih Yavuz
f554848c9f
fix(PivotTable): Render html in cells if allowRenderHtml is true ( #34351 )
2025-07-29 01:12:37 +03:00
Maxime Beauchemin
5d6a979cd0
chore: remove some of the deprecated theme.colors.* ( #34056 )
2025-07-04 11:39:03 -07:00
dependabot[bot]
5214ee6fd4
chore(deps-dev): update jest requirement from ^30.0.2 to ^30.0.4 in /superset-frontend/plugins/plugin-chart-pivot-table ( #34036 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Li <joe@preset.io >
2025-07-03 12:58:28 -07:00
dependabot[bot]
09c657c899
chore(deps-dev): update @babel/types requirement from ^7.26.9 to ^7.28.0 in /superset-frontend/plugins/plugin-chart-pivot-table ( #34038 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joe Li <joe@preset.io >
2025-07-03 11:44:21 -07:00
Đỗ Trọng Hải
42288c4784
build(dev-deps): upgrade Jest to major version v30 ( #33979 )
2025-07-03 11:01:40 +07:00
Maxime Beauchemin
dd129fa403
feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor ( #31590 )
...
Co-authored-by: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com >
Co-authored-by: Diego Pucci <diegopucci.me@gmail.com >
Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me >
Co-authored-by: Geido <60598000+geido@users.noreply.github.com >
Co-authored-by: Alexandru Soare <37236580+alexandrusoare@users.noreply.github.com >
Co-authored-by: Damian Pendrak <dpendrak@gmail.com >
Co-authored-by: Pius Iniobong <67148161+payose@users.noreply.github.com >
Co-authored-by: Enzo Martellucci <enzomartellucci@gmail.com >
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com >
2025-06-20 13:38:58 -07:00
JUST.in DO IT
a36e636a58
fix(pivot-table): Revert "fix(Pivot Table): Fix column width to respect currency config ( #31414 )" ( #32968 )
2025-04-01 19:05:36 -03:00
dependabot[bot]
a45ce1e8d1
chore(deps-dev): bump @babel/types from 7.26.7 to 7.26.9 in /superset-frontend ( #32460 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-04 12:29:50 -07:00
Evan Rusackas
6c3886aad0
fix(tooltip): displaying <a> tags correctly ( #32488 )
2025-03-03 15:04:05 -07:00
Đỗ Trọng Hải
19e8a7049b
feat(fe): upgrade superset-frontend to Typescript v5 ( #31979 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2025-01-29 08:40:33 -03:00
Kamil Gabryjelski
7e2b7941f3
refactor: Upgrade to React 17 ( #31961 )
2025-01-28 16:44:42 +01:00
dependabot[bot]
a5fdf6d14a
chore(deps-dev): update @babel/types requirement from ^7.25.6 to ^7.26.3 in /superset-frontend/plugins/plugin-chart-pivot-table ( #31524 )
...
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@rusackas.com >
2024-12-19 15:55:16 -07:00
Vitor Avila
43314dc8db
fix(Pivot Table): Fix column width to respect currency config ( #31414 )
2024-12-12 10:44:07 -03:00
Evan Rusackas
a6e05f4558
build(packages): npm build/publish improvements. Making packages publishable again. ( #30196 )
2024-12-10 16:54:41 -07:00
yousoph
3ec3f0a610
fix(explore): Update tooltip copy for rendering html in tables and pivot tables ( #30682 )
...
Co-authored-by: Joe Li <joe@preset.io >
2024-11-01 10:54:50 -07:00
dependabot[bot]
fed117fbf7
build(deps-dev): update @babel/types requirement from ^7.25.2 to ^7.25.6 in /superset-frontend/plugins/plugin-chart-pivot-table ( #30103 )
...
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@rusackas.com >
2024-09-09 14:55:28 -06:00
Geido
fb6efb9e9a
fix(PivotTable): Pass string only to safeHtmlSpan ( #29895 )
2024-08-08 20:01:18 +03:00