Claude
471b4bafc4
fix(tests): resolve jest 30.4 + jsdom 26 compatibility issues
...
- Patch Object.defineProperties in jsDomWithFetchAPI.ts to make
window.location configurable, enabling jest.spyOn in tests with
jest-environment-jsdom 30 (which bundles jsdom 26)
- Update TableChart.test.tsx: jsdom 26 returns rgba(0,0,0,0) for
elements with no background, replacing empty string expectations
- Apply prettier formatting fixes to logger.test.ts and
RedirectWarning/utils.test.ts
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-18 16:48:31 -05:00
Claude
421252b343
fix(tests): update test mocks for jsdom 30 window.location and CSS changes
...
jsdom 30 (shipped with jest-environment-jsdom 30) makes window.location
non-configurable, breaking the Object.defineProperty and delete patterns
used across 19 test files. Also introduces stricter CSS normalization
(rgba(x,y,z,1) -> rgb(x,y,z), alpha precision rounding, named colors to
rgb()) and stricter CSS font-shorthand parsing on SVG nodes.
Changes:
- Replace every Object.defineProperty(window, 'location', ...) and
delete window.location; window.location = ... with
jest.spyOn(window, 'location', 'get').mockReturnValue(...) plus
.mockRestore() for cleanup
- Use getter/setter objects on the mock return value for tests that write
to window.location.href or window.location.protocol
- Replace jest.spyOn(window, 'window', 'get') (also broken in jsdom 30)
with jest.spyOn(window, 'location', 'get') in getDashboardUrl tests
- TableChart: rgba(172,225,196,1) -> rgb(172,225,196);
rgba(172,225,196,0.812) -> rgba(172,225,196,0.81)
- DropdownContainer: 'background-color: red' -> 'background-color: rgb(255, 0, 0)'
- updateTextNode: fix CSS font shorthand order from
'italic 30px Lobster 700' (invalid) to 'italic 700 30px Lobster' (valid)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-18 08:19:24 -07:00
Maxime Beauchemin
a60860c969
fix(table): fall back to datasource columns for conditional formatting when query results are empty ( #39345 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: Joe Li <joe@preset.io >
2026-05-08 16:10:41 -07:00
Jay Masiwal
cb74438865
fix(viz): correct table chart drill-to-detail temporal boundaries and null handling ( #39668 )
...
Co-authored-by: Samuelinto <samuel.mantilla@mail.utoronto.ca >
Co-authored-by: Amin Ghadersohi <amin.ghadersohi@gmail.com >
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-05-01 11:46:18 -04:00
Jean Massucatto
9c3c8dcc0b
fix(table): restore dropdown arrow visibility on paginated table page… ( #39305 )
2026-04-30 05:56:51 -07:00
Sam Firke
3395620b6e
fix(table chart): fix rerender bug that continuously cleared search box ( #39707 )
2026-04-28 08:40:56 -03:00
Maxime Beauchemin
c2d96e0dce
fix(table): fix cross-filter not clearing on second click in Interactive Table ( #39253 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-15 10:30:36 -07:00
Enzo Martellucci
aba7e6dae4
fix(table): cross-filtering breaks after renaming column labels via Custom SQL ( #38858 )
2026-04-10 06:02:18 +02:00
João Pedro Alves Barbosa
02ffb52f4a
fix(table): improve conditional formatting text contrast ( #38705 )
2026-03-22 18:59:15 -03:00
Michael S. Molina
357e35dc62
refactor(core): reorganize superset-core packages into feature-based structure ( #38448 )
2026-03-05 17:41:15 -03:00
Vanessa Giannoni
f4acce5727
fix(table): preserve time grain aggregation when temporal column casing changes ( #37893 )
2026-02-19 16:46:39 -08:00
Levis Mbote
c175346808
fix(table-charts): Prevent time grain from altering Raw Records in Tables + Interactive Tables ( #37561 )
2026-02-19 10:24:09 +01:00
SBIN2010
33441ccf3d
feat: add formatting column and formatting object to conditional formating table ( #35897 )
2026-02-19 02:07:15 +03:00
Michael S. Molina
19ec7b48a0
fix: Conditional formatting painting empty cells ( #37894 )
2026-02-12 10:22:00 -03: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
SBIN2010
c4e7c3b03b
refactor: consolidating ColorSchemeEnum settings into one place ( #37591 )
2026-02-07 23:04:20 -08: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
Jamile Celento
3347b9bf6c
fix(table): only show increase/decrease color options when time comparison enabled ( #37362 )
2026-01-28 13:32:30 +01:00
Nitish Agarwal
17d6f4ebc4
fix(table): align group headers correctly when filtering time compari… ( #37236 )
2026-01-21 12:50:18 -08:00
Richard Fogaca Nienkotter
f4474b2e3e
feat: Dynamic currency ( #36416 )
2026-01-16 21:58:41 -08:00
Luiz Otavio
1e8d648f47
feat: Chart query last run timestamp ( #36934 )
2026-01-09 17:02:18 -03:00
Luis Sánchez
c31224c891
fix(TableChart): render cell bars for columns with NULL values ( #36819 )
2025-12-31 17:51:35 +03:00
Mohammad Al-Qasem
4479614754
feat(table): Gradient Toggle ( #36280 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-04 12:31:44 -08:00
Edison Liem
eabb5bdf7d
feat(dashboard): implement boolean conditional formatting ( #36338 )
...
Co-authored-by: Morris <morrisho215215@gmail.com >
2025-12-04 09:53:49 -08:00
Kaito Watanabe
6e0960c3f5
feat: show search filtered total ( #36083 )
2025-12-01 22:29:23 +01:00
Joe Li
e7c54376e2
test(table): remove conditionals from TableChart tests ( #36149 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-21 13:28:16 -08:00
Joe Li
008c7c6517
fix(table-chart): fix missing table header IDs ( #35968 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-12 13:15:55 -08:00
Mehmet Salih Yavuz
9546ee37e5
chore(superset-core): move ui to new core ( #35308 )
2025-11-07 13:53:06 -03:00
SBIN2010
514d56d1ae
feat: conditional formatting improvements add flag toAllRow and toTextColor in tables ( #34762 )
2025-10-28 16:40:40 -07: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
SBIN2010
852adaa6cc
feat: conditional formatting improvements in tables ( #34330 )
2025-08-18 15:13:16 -07:00
JUST.in DO IT
8700a0b939
fix(table chart): render bigint value in a raw mode ( #34556 )
2025-08-05 13:11:28 -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
Levis Mbote
7deca8f2cd
feat(chart): add toggle for percentage metric calculation mode in Table chart ( #33656 )
2025-06-13 21:00:58 +03:00
Levis Mbote
d75ff9e784
feat(charts): add subtitle option and metric customization controls ( #32975 )
2025-04-10 17:24:24 +02:00
Vitor Avila
ab22bb1878
fix(Jinja): Emit time grain to table charts even if they don't have a temporal column ( #32871 )
2025-03-28 13:48:49 -03:00
Fardin Mustaque
7d77dc4fd2
fix: Time Comparison Feature Reverts Metric Labels to Metric Keys in Table Charts ( #32665 )
...
Co-authored-by: Fardin Mustaque <fardinmustaque@Fardins-Mac-mini.local >
2025-03-25 14:22:15 +02:00
Michael S. Molina
93ba8e16c3
refactor: Creates the VizType enum ( #31193 )
2024-11-29 10:05:02 -03:00
Antonio Rivero
6c2bd2a968
fix(table): Use extras in queries ( #30335 )
2024-09-19 16:45:39 +02:00
Đỗ Trọng Hải
e9094659d3
refactor(frontend): migrate 6 tests from Enzyme to RTL ( #30151 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com >
2024-09-13 15:02:03 -06:00
Ross Mabbett
dac69e2092
feat(explorer): Add configs and formatting to discrete comparison columns ( #29553 )
2024-07-25 18:43:56 -04:00
Đỗ Trọng Hải
0ca42a8e4d
chore: remove React 16.4's obsolete React imports ( #28571 )
...
Signed-off-by: hainenber <dotronghai96@gmail.com >
2024-06-05 08:13:24 -03:00
Maxime Beauchemin
12fe2929a4
fix: row limits & row count labels are confusing ( #27700 )
2024-04-02 13:58:35 -07:00
JUST.in DO IT
6f402991e5
fix(plugins): missing currency on small number format in table chart ( #27041 )
2024-02-08 15:24:24 -08:00
Ville Brofeldt
19f8405bc0
chore: make TS enums strictly PascalCase ( #26875 )
2024-01-31 17:40:44 -08:00
Michael S. Molina
8a2f7d378a
refactor: Removes the deprecated GENERIC_CHART_AXES feature flag ( #26372 )
2024-01-31 09:45:57 -05:00
Arko
916f7bcbba
fix(table chart): Show Cell Bars correctly #25625 ( #25707 )
2023-11-06 08:36:21 -03:00
Kamil Gabryjelski
ea21e800a7
fix: Currency formatting in Table raw mode ( #25248 )
2023-09-11 16:48:39 +02:00
Michael S. Molina
317aa989c2
fix: Dashboard time grain in Table ( #24746 )
2023-07-20 14:02:52 -03:00