Joe Li
51c3e2133d
refactor(tests): improve type safety and modernize dataset hook tests
...
- Add typed response helpers (buildSupersetResponse, buildCachedResponse) to consolidate mocking boilerplate
- Replace waitForNextUpdate() with explicit waitFor(() => expect(result.current.X)...) patterns for better async assertions
- Flatten describe() blocks to standalone test() calls following Kent C. Dodds style
- Add proper TypeScript interfaces for Rison query decoding
- Remove eslint-disable comments for describe blocks
- Use 'as unknown as T' double-cast pattern (matching DashboardCard.test.tsx) for incomplete test mocks
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-11 11:27:04 -08:00
Joe Li
4cbdff6338
test: add React Testing Library tests for DatasetList
...
Add comprehensive RTL test coverage for the DatasetList page, with test-local
fixture types that don't modify production code.
**Test Structure**
- Component tests (DatasetList.test.tsx): Basic rendering, UI state
- Integration tests (DatasetList.listview.test.tsx): User interactions, API workflows
- Behavior tests (DatasetList.behavior.test.tsx): Bulk operations, duplication
- Permission tests (DatasetList.permissions.test.tsx): Role-based access control
- Modal tests (DuplicateDatasetModal.test.tsx): Duplicate workflow (9 tests)
- Test helpers (DatasetList.testHelpers.tsx): Shared fixtures and utilities
**Test Quality**
- Test-local fixture types (DatasetFixture, VirtualDatasetFixture)
- No production code modifications required
- Zero type assertions ("as any", "as Dataset")
- Async queries use findBy (no waitFor anti-patterns)
- Observable behavior verification (API calls, DOM state)
- Clean hook tests (removed describe() nesting in useDatasetLists.test.ts)
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-11 11:27:04 -08:00
Joe Li
c39a2e89ab
fix: resolve ESLint and TypeScript issues in dataset unit tests
...
- Add ESLint disable comments for describe blocks (following ChartList pattern)
- Fix TypeScript mock typing using jest.mocked() helper
- Update supersetGetCache.delete mock to be properly typed
- Fix mockDb.owners type to be tuple [number]
- Add 'as any' casts for test fixtures to avoid strict type checking
- All 30 unit tests passing
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-11-11 11:27:04 -08:00
Richard Fogaca Nienkotter
d123249bd2
fix(dashboard): align filter bar elements vertically in horizontal mode ( #36036 )
2025-11-11 11:48:25 +03:00
Richard Fogaca Nienkotter
4376476ec4
fix: saved query preview modal not highlighting active rows ( #35866 )
2025-11-11 11:15:27 +03:00
Richard Fogaca Nienkotter
9be61a1245
fix(dashboard): prevent validation error in properties modal when ope… ( #36045 )
2025-11-11 11:09:07 +03:00
Mehmet Salih Yavuz
e2e831e322
fix(permalink): exclude edit mode from dashboard permalink ( #35889 )
2025-11-11 10:58:02 +03:00
Joe Li
21d585d586
fix(explore): show validation errors in View Query modal ( #35969 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-10 14:47:52 -08:00
Joe Li
0a5144fc1d
fix(tests): fix flakey tests with PropertiesModal.test.tsx, FiltersConfigModal.test.tsx and ChartList.listview.test.tsx ( #36037 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-10 14:31:48 -08:00
Joe Li
64ca080bb8
feat(playwright): Remove Cypress auth tests in favor of Playwright auth tests ( #35938 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-10 14:29:01 -08:00
Daniel Garcia Briseno
b85621e9a7
docs: Add custom chart plugin deployment instructions ( #36028 )
...
Co-authored-by: Daniel Garcia Briseno <daniel.garciabriseno@nasa.gov >
Co-authored-by: Joe Li <joe@preset.io >
2025-11-10 12:19:51 -08:00
dependabot[bot]
e915d7d1d0
chore(deps): bump min-document from 2.19.0 to 2.19.1 in /superset-frontend ( #36046 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-10 12:18:36 -08:00
Richard Fogaca Nienkotter
ae63f64771
style(sqllab): restore Template Parameters modal styling ( #35965 )
2025-11-10 18:51:12 +03:00
Kamil Gabryjelski
63dfd95aa2
fix: Flakiness around scrolling during taking tiled screenshots with Playwright ( #36051 )
2025-11-10 12:57:28 +01:00
Mehmet Salih Yavuz
c9f65cf1c2
fix(date_parser): add check for time range timeshifts ( #36039 )
2025-11-10 13:46:03 +03:00
Elizabeth Thompson
c42e3c6837
fix(reports): improve error handling for report schedule execution ( #35800 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-07 17:57:43 -08:00
Amin Ghadersohi
3167a0dbc0
chore(mcp-service): upgrade fastmcp from 2.10.6 to 2.13.0.2 ( #36014 )
2025-11-07 17:52:03 -08:00
Elizabeth Thompson
909bd877c9
fix(filters): preserve backend metric-based sorting ( #35152 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-07 11:40:56 -08:00
Mehmet Salih Yavuz
4d0fdba97a
fix(webpack): webpack refresh plugin ( #36041 )
2025-11-07 10:26:08 -08:00
Amin Ghadersohi
d2550a525b
refactor(mcp): shorten tool name from get_superset_instance_info to get_instance_info ( #36032 )
2025-11-07 10:19:32 -08:00
Vedant Prajapati
258512fef2
fix(echarts): Series style hidden for line charts ( #33677 )
...
Co-authored-by: Vedant Prajapati <vedantprajapati@geotab.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-07 20:28:01 +03:00
Mehmet Salih Yavuz
9546ee37e5
chore(superset-core): move ui to new core ( #35308 )
2025-11-07 13:53:06 -03:00
Kamil Gabryjelski
728bc2c632
fix: Ensure that Playwright tile height is always positive ( #36027 )
2025-11-07 13:39:05 +01:00
amaannawab923
0307c71945
fix(Context-Menu): Fixing Context Menu for Table Chart with Html Content ( #33791 )
2025-11-07 10:09:25 +03:00
Michael S. Molina
208b1f7fa3
docs: Reorganize and improve developer portal documentation ( #36005 )
2025-11-06 16:50:31 -03:00
dependabot[bot]
2f2128ac48
chore(deps): bump caniuse-lite from 1.0.30001753 to 1.0.30001754 in /docs ( #36018 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-06 10:20:37 -08:00
Gabriel Torres Ruiz
c11be72ead
fix(UI): spacings + UI fixes ( #36010 )
2025-11-06 10:19:07 -08:00
Amin Ghadersohi
f5f5913a29
test: revert unrelated flaky test fix from MCP PR ( #36015 )
2025-11-06 09:41:27 -08:00
Mehmet Salih Yavuz
af37e12de4
fix(SelectFilterPlugin): clear all clears all filters including dependent ones ( #35303 )
2025-11-06 18:18:42 +02:00
Evan Rusackas
0827ff7687
feat(build): Migrate webpack to SWC for ~70%+ faster builds ( #35946 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-06 08:14:52 -08:00
Antonio Rivero
3765c31163
chore(logs): Use correct log level and remove duplicates for get_query ( #36023 )
2025-11-06 16:18:39 +01:00
Enzo Martellucci
84a1abd357
fix(ui): bump AntD to 5.26.0 to fix Splitter drag menu issue ( #35782 )
2025-11-06 07:43:28 +01:00
ethan-l-geotab
14f20e644e
fix(chart list): Facepile shows correct users when saving chart properties ( #33392 )
2025-11-05 21:56:58 -08:00
Enzo Martellucci
1f960d5761
fix(DatabaseModal): prevent errors when pasting text into supported database select ( #35916 )
2025-11-05 20:38:41 +01:00
dependabot[bot]
32099d8f49
chore(deps): bump swagger-ui-react from 5.30.1 to 5.30.2 in /docs ( #35994 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-05 10:21:25 -08:00
Enzo Martellucci
392b880b52
fix(view-in-sqllab): unable to open virtual dataset after discarding chart edits ( #35931 )
2025-11-05 17:03:40 +01:00
Mehmet Salih Yavuz
3f49938b79
fix(explore): Overwriting a chart updates the form_data_key ( #35888 )
2025-11-05 17:44:53 +02:00
Antonio Rivero
a1d4dff99d
feat(logs): Add is_cached as part of ChartDataRestApi.data actions ( #36001 )
2025-11-05 15:49:56 +01:00
Mehmet Salih Yavuz
04231c86db
fix(TimeTable): Match calculations between filtered and non filtered states ( #35619 )
2025-11-05 10:43:05 +03:00
Mehmet Salih Yavuz
7265567561
fix(DatasourceEditor): preserve calculated column order when editing sql ( #35790 )
2025-11-04 21:22:39 +03:00
Evan Rusackas
0d70373d95
feat(npm): New npm run clear-npm script to nuke node_modules faster. ( #35923 )
2025-11-03 20:16:57 -08:00
Rafael Benitez
53687ae659
fix(dashboard): fix dataset search in filter config modal ( #35488 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-03 13:29:39 -08:00
Rafael Benitez
46db8b7803
fix(dataset): sync columns checkbox not responding to clicks in virtual dataset modal ( #35650 )
2025-11-03 10:47:23 -08:00
dependabot[bot]
7cd04c088c
chore(deps-dev): bump globals from 16.4.0 to 16.5.0 in /superset-websocket ( #35948 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 10:45:26 -08:00
dependabot[bot]
51b4df7a1f
chore(deps-dev): bump globals from 16.4.0 to 16.5.0 in /docs ( #35949 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 10:44:54 -08:00
dependabot[bot]
b92b725fe2
chore(deps-dev): bump eslint from 9.38.0 to 9.39.0 in /docs ( #35951 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-03 10:44:37 -08:00
dependabot[bot]
1c1d1ddbec
chore(deps): bump caniuse-lite from 1.0.30001752 to 1.0.30001753 in /docs ( #35957 )
...
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 >
2025-11-03 10:44:23 -08:00
Joe Li
5224347c39
test(useThemeMenuItems): fix race conditions by awaiting all userEvent calls ( #35918 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-03 10:28:12 -08:00
Richard Fogaca Nienkotter
27011d0239
fix(sqllab): align refresh buttons with select input fields ( #35917 )
2025-11-03 10:26:04 -08:00
Akshat Sinha
bae2c90bae
docs: correct spelling typos in project codebase ( #35935 )
2025-11-03 12:09:58 -05:00