You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2025/10/29 02:14:02 UTC

(superset) branch oxc-linter-migration updated (e079f029c9 -> 0edfeef032)

This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a change to branch oxc-linter-migration
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard e079f029c9 style(frontend): apply prettier formatting to AG Grid test mock objects
 discard 0c50e81471 fix(frontend): add type assertions for AG Grid mock modules in tests
 discard 07b56131b3 style(docs): apply prettier formatting to documentation files
 discard abd5dd6c6f style(frontend): apply prettier formatting to setupAGGridModules test
 discard edd70fe26b fix(frontend): add missing version property to AG Grid mock modules in tests
 discard 36a165ec38 feat(frontend): add eslint alias for backward compatibility and optimize theme hooks
 discard 626d596a91 perf(ag-grid): conditionally call useTheme hook in NumericCellRenderer
 discard 65caedf4f5 fix(docs): update remaining references from 'npm run eslint' to 'npm run lint'
 discard 0f83547c58 fix(docs): update references from 'npm run eslint' to 'npm run lint'
 discard 60f270d197 more linting
 discard fba09ddc1d fix(docs): regenerate yarn.lock after rebase
 discard 05cdddeae9 fix(docs): update yarn.lock to resolve merge conflicts
 discard 7bf910f2e9 fix(frontend): use current theme structure in storybook instead of legacy
 discard 5deb3abc06 fix: improve type safety in theme storybook with proper interface
 discard 1454e2b71f perf: revert unnecessary Array.from() conversion in hot path
 discard 57e2f3e8b6 cleanup: remove obsolete lint scripts from package.json
 discard 2cc98e565b fix(test): use 4 filters with truly unique columns
 discard 3890287c19 fix(test): use 4 unique filters with short names for proper overflow testing
 discard 908cd1e648 fix(test): use 6 unique filters with descriptive names for proper overflow testing
 discard e9e76079a6 fix(test): properly test overflow behavior with 8 filters and dropdown content
 discard c593f49c69 fix(test): use 4 unique filters to match test data constraints
 discard 5e0ea2332d fix(test): use more filters and adaptive approach for overflow testing
 discard b911c178a3 fix(test): properly handle DropdownContainer button conditional rendering
 discard 0ccc4d5e59 style: apply prettier formatting to horizontalFilterBar test
 discard a3c7a3e41d fix(test): improve DOM stability in horizontalFilterBar Cypress test
 discard e9b7214beb fix(test): prevent DOM detachment error in horizontalFilterBar Cypress test
 discard 7f0ce89b2e fix(test): update Cypress selector for filter bar orientation submenu
 discard 507408737f fix(frontend): restore plusRef.current dependency in useChildElementTruncation hook
 discard f09d1f7d29 more linting! ugh!
 discard ec1b97435c another linting catch
 discard 2cc3e0a680 fix(frontend): properly handle eslint-disable comments in custom rules and apply fixes
 discard 1e90e0eaf5 fix(ci): optimize pylint hook to avoid unnecessary git fetches
 discard baf4d71517 fix(frontend): revert ACCESSIBLE_COLOR_BOUNDS to hex values for algorithmic consistency
 discard 3c7feba112 fix(frontend): restore correct dependency array in useChildElementTruncation hook
 discard 4489857ee5 fix(ci): add plugins build back to type checking step
 discard c1a76d1b67 chore(docs): update yarn.lock after rebase
 discard 13e3d05a75 fix(test): correct test-id selector for new dropdown icon
 discard 2035f938f4 cleanup: remove migration artifacts
 discard 3edb22a485 perf(ci): remove unnecessary plugin builds from lint/type steps
 discard 33c45abfd3 revert(docker): remove unnecessary plugin builds from frontend build
 discard 92de8bc1b0 fix(typescript): add path mappings for legacy plugins
 discard a1d2e0cb72 refactor(ci): separate linting from type checking
 discard 200c9bd52b fix(docker): build plugins before main frontend build
 discard b5b5044d44 fixing action lint command to use oxc
 discard 9f9f44eb79 fixig pre-commit prettier hook
 discard 04df1328f1 adding prettier to precommit
 discard 349e14fe42 prettier/ts fixes
 discard 15db815a40 fix(frontend): Resolve additional literal color violations and update dependencies
 discard 08e8a3c198 fix(frontend): Fix TypeScript compilation for downloadAsImage utility
 discard f36c165cb9 refactor(frontend): Add proper theme support to ZoomConfigControl utilities
 discard 956a663b0f refactor(frontend): Improve literal color fixes with proper theme integration
 discard 72747abed9 fix(ci): Add plugin build step to frontend lint workflow
 discard 0c50531345 fix(frontend): Remove remaining oxc-custom-build artifacts
 discard 86d5cf0fae fix(frontend): Update CI workflow to use standard OXC without custom build
 discard d87f2d0cd7 Clean up unused OXC migration files and add ASF headers
 discard 14ea330755 Fix arrow function style in custom rules script
 discard 00810c9b22 Fix trailing whitespace in custom rules script
 discard 5ede6f0f0f Add missing ensure-oxc npm script
 discard 058683de6e Fix additional TypeScript and linting issues
 discard 91c9d089f4 chore: Remove unnecessary PR_DESCRIPTION.md file
 discard 5e97d7c4ba fix(frontend): Final TypeScript fixes for CI
 discard b690de74b3 feat(frontend): Add quiet mode for OXC linting to reduce noise
 discard 98e418db56 fix(frontend): Configure OXC to pass CI checks
 discard d33caee0e6 fix(frontend): Fix linting and TypeScript issues exposed by OXC migration
 discard 678ab755de chore(frontend): Complete OXC migration cleanup and documentation
 discard f8d539a0e0 feat(frontend): Implement hybrid OXC + AST linting architecture
 discard 88eee61d1d fix(frontend): Fix linting issues and migrate pre-commit to OXC
 discard 4c129b9dc6 fix(frontend): Replace execSync with execFileSync for security
 discard 4a4b516bc3 docs(frontend): Document complete OXC migration and fix build script
 discard 3f15f41bf6 feat(frontend): Add automatic custom OXC build system with native Superset rules
 discard 885d2d63ab feat(frontend): Add native Rust implementations of custom ESLint rules for OXC
 discard 431bdde1db feat(frontend): Add OXC-compatible tech debt metrics script
 discard 46b806e021 chore: Remove unnecessary documentation files
 discard ecbe33d387 feat(frontend): Add hybrid OXC + minimal ESLint setup
 discard 1a43f90b18 feat(frontend): Migrate to OXC linter for 1000x performance improvement
 discard c54920d751 refactor: Reduce ESLint config from 2805 to 501 lines (82% smaller)
 discard e7d89b2752 chore: Remove redundant no-undef ESLint directive
 discard a0e5e2d726 refactor: Remove duplicate rules from TypeScript overrides
 discard 84a3b23dbd fix: Disable no-unused-vars rule for TypeScript compatibility
 discard ab691139d7 fix: Disable formatting rules to match original ESLint behavior
 discard 3ee3ddc548 fix: Disable formatting rules from Airbnb that weren't previously enforced
 discard d21b073a1f chore(frontend): Remove redundant ESLint rules set to 'off'
 discard c8ba448dee refactor(frontend): Flatten ESLint configuration and remove Airbnb dependency
     add bf830b2dd5 fix(theme): add fontWeightStrong to allowedAntdTokens to fix bold markdown rendering (#35821)
     add 61758c07d2 fix: update Russian translations (#35750)
     add 7a759c903b chore(deps): bump swagger-ui-react from 5.29.5 to 5.30.0 in /docs (#35865)
     add e1455057e7 feat(mcp): PR2 - Add chart listing and info tools with core infrastructure (#35835)
     add 5218b4eea2 fix(echarts): fix time shift color matching functionality (#35826)
     add 61c68f7b8f fix(reports): Add celery task execution ID to email notification logs (#35807)
     add 7733265fa2 fix(mcp): remove hardcoded admin username fallbacks (#35875)
     add 5c57c9c0b2 fix: add utc=True to pd.to_datetime for timezone-aware datetimes (#35587)
     add 514d56d1ae feat: conditional formatting improvements add flag toAllRow and  toTextColor in tables (#34762)
     add 2db19008fb test(dashboard): strengthen fontWeightStrong assertion for markdown bold (#35872)
     add 20181677b4 refactor(frontend): Flatten ESLint configuration and remove Airbnb dependency
     add 3395563ee6 chore(frontend): Remove redundant ESLint rules set to 'off'
     add 05c0652514 fix: Disable formatting rules from Airbnb that weren't previously enforced
     add ee9ae64dd9 fix: Disable formatting rules to match original ESLint behavior
     add bcfc653adc fix: Disable no-unused-vars rule for TypeScript compatibility
     add d8248805ce refactor: Remove duplicate rules from TypeScript overrides
     add 764f006353 chore: Remove redundant no-undef ESLint directive
     add d3566bf5ca refactor: Reduce ESLint config from 2805 to 501 lines (82% smaller)
     add ae9ca47a7d feat(frontend): Migrate to OXC linter for 1000x performance improvement
     add 7966b65fa6 feat(frontend): Add hybrid OXC + minimal ESLint setup
     add 5c48834132 chore: Remove unnecessary documentation files
     add 2f2d0e860f feat(frontend): Add OXC-compatible tech debt metrics script
     add 712c8ef726 feat(frontend): Add native Rust implementations of custom ESLint rules for OXC
     add 83abeef91b feat(frontend): Add automatic custom OXC build system with native Superset rules
     add 323e939831 docs(frontend): Document complete OXC migration and fix build script
     add 190e3ba80a fix(frontend): Replace execSync with execFileSync for security
     add 61b0995a86 fix(frontend): Fix linting issues and migrate pre-commit to OXC
     add a946122b3e feat(frontend): Implement hybrid OXC + AST linting architecture
     add b8e06f0843 chore(frontend): Complete OXC migration cleanup and documentation
     add c3b6cd7c8b fix(frontend): Fix linting and TypeScript issues exposed by OXC migration
     add 8b397840f1 fix(frontend): Configure OXC to pass CI checks
     add 523cc84741 feat(frontend): Add quiet mode for OXC linting to reduce noise
     add 496893a979 fix(frontend): Final TypeScript fixes for CI
     add 3749644f69 chore: Remove unnecessary PR_DESCRIPTION.md file
     add 84f4a3ea95 Fix additional TypeScript and linting issues
     add 7f5f3b7fe2 Add missing ensure-oxc npm script
     add 57e38d1196 Fix trailing whitespace in custom rules script
     add 79e5fd2e3c Fix arrow function style in custom rules script
     add 03b4f57734 Clean up unused OXC migration files and add ASF headers
     add c1ed59c5f4 fix(frontend): Update CI workflow to use standard OXC without custom build
     add 037519fdfd fix(frontend): Remove remaining oxc-custom-build artifacts
     add 99cab3205a fix(ci): Add plugin build step to frontend lint workflow
     add 4db536f5f2 refactor(frontend): Improve literal color fixes with proper theme integration
     add 1c17fd5d2e refactor(frontend): Add proper theme support to ZoomConfigControl utilities
     add 8a472897cc fix(frontend): Fix TypeScript compilation for downloadAsImage utility
     add afde78c435 fix(frontend): Resolve additional literal color violations and update dependencies
     add cfac66b0c3 prettier/ts fixes
     add ce378160cd adding prettier to precommit
     add bb5f13585d fixig pre-commit prettier hook
     add cd18cc943b fixing action lint command to use oxc
     add 3b01f573c3 fix(docker): build plugins before main frontend build
     add d18493fbfc refactor(ci): separate linting from type checking
     add dc938ddac6 fix(typescript): add path mappings for legacy plugins
     add 84db342158 revert(docker): remove unnecessary plugin builds from frontend build
     add d781b13f0b perf(ci): remove unnecessary plugin builds from lint/type steps
     add 9ed19ee36e cleanup: remove migration artifacts
     add 9897746508 fix(test): correct test-id selector for new dropdown icon
     add 7e66614168 chore(docs): update yarn.lock after rebase
     add bf3f08e311 fix(ci): add plugins build back to type checking step
     add e342228d66 fix(frontend): restore correct dependency array in useChildElementTruncation hook
     add 56930823de fix(frontend): revert ACCESSIBLE_COLOR_BOUNDS to hex values for algorithmic consistency
     add 74e7ed7fe2 fix(ci): optimize pylint hook to avoid unnecessary git fetches
     add 68968fa80b fix(frontend): properly handle eslint-disable comments in custom rules and apply fixes
     add 6138bc95d9 another linting catch
     add c465bc50bb more linting! ugh!
     add 67f16cab03 fix(frontend): restore plusRef.current dependency in useChildElementTruncation hook
     add f531ae6e38 fix(test): update Cypress selector for filter bar orientation submenu
     add fbb7998148 fix(test): prevent DOM detachment error in horizontalFilterBar Cypress test
     add e971602a7b fix(test): improve DOM stability in horizontalFilterBar Cypress test
     add c4218c65f9 style: apply prettier formatting to horizontalFilterBar test
     add 531c052142 fix(test): properly handle DropdownContainer button conditional rendering
     add c78854f637 fix(test): use more filters and adaptive approach for overflow testing
     add 05096b30da fix(test): use 4 unique filters to match test data constraints
     add f092cfb3b3 fix(test): properly test overflow behavior with 8 filters and dropdown content
     add 0018388825 fix(test): use 6 unique filters with descriptive names for proper overflow testing
     add 14955a4eb6 fix(test): use 4 unique filters with short names for proper overflow testing
     add 9540ce19bc fix(test): use 4 filters with truly unique columns
     add 962349e2a8 cleanup: remove obsolete lint scripts from package.json
     add 20db9cccac perf: revert unnecessary Array.from() conversion in hot path
     add 609892a733 fix: improve type safety in theme storybook with proper interface
     add d849c0bce3 fix(frontend): use current theme structure in storybook instead of legacy
     add 39a5e1eb33 fix(docs): update yarn.lock to resolve merge conflicts
     add 514a4982a6 fix(docs): regenerate yarn.lock after rebase
     add 5c6d3e106e more linting
     add e5d48daafa fix(docs): update references from 'npm run eslint' to 'npm run lint'
     add ef856f10f2 fix(docs): update remaining references from 'npm run eslint' to 'npm run lint'
     add 783374c115 perf(ag-grid): conditionally call useTheme hook in NumericCellRenderer
     add b4a464e51b feat(frontend): add eslint alias for backward compatibility and optimize theme hooks
     add 9ff884bd68 fix(frontend): add missing version property to AG Grid mock modules in tests
     add dffb74680b style(frontend): apply prettier formatting to setupAGGridModules test
     add e1babe881c style(docs): apply prettier formatting to documentation files
     add f2391a4dbc fix(frontend): add type assertions for AG Grid mock modules in tests
     add bddd6219b9 style(frontend): apply prettier formatting to AG Grid test mock objects
     add 0edfeef032 fix(frontend): remove unused config dependency from useConditionalFormattingFlag

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (e079f029c9)
            \
             N -- N -- N   refs/heads/oxc-linter-migration (0edfeef032)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 docs/package.json                                  |    2 +-
 .../superset-ui-chart-controls/src/types.ts        |    4 +
 .../src/utils/getColorFormatters.ts                |    2 +
 .../packages/superset-ui-core/src/theme/types.ts   |    1 +
 .../src/Timeseries/transformProps.ts               |   20 +-
 .../plugins/plugin-chart-table/src/TableChart.tsx  |   40 +-
 .../plugin-chart-table/src/controlPanel.tsx        |   25 +
 .../plugin-chart-table/test/TableChart.test.tsx    |  106 +
 .../gridComponents/Markdown/Markdown.jsx           |    4 +
 .../gridComponents/Markdown/Markdown.test.jsx      |  416 ----
 .../gridComponents/Markdown/Markdown.test.tsx      |  436 ++++
 .../ConditionalFormattingControl.tsx               |    2 +
 .../FormattingPopover.tsx                          |    2 +
 .../FormattingPopoverContent.test.tsx              |   41 +
 .../FormattingPopoverContent.tsx                   |   85 +-
 .../controls/ConditionalFormattingControl/types.ts |    9 +
 superset/commands/report/execute.py                |    1 +
 superset/mcp_service/README.md                     |    6 +-
 superset/mcp_service/app.py                        |    4 +
 superset/mcp_service/auth.py                       |  103 +
 superset/mcp_service/chart/schemas.py              |  283 +++
 .../mcp_service/chart/tool/__init__.py             |   10 +-
 superset/mcp_service/chart/tool/get_chart_info.py  |   73 +
 superset/mcp_service/chart/tool/list_charts.py     |  126 ++
 superset/mcp_service/common/cache_schemas.py       |  143 ++
 superset/mcp_service/mcp_config.py                 |    6 +-
 superset/mcp_service/mcp_core.py                   |  297 +++
 superset/mcp_service/middleware.py                 |   74 +
 superset/mcp_service/system/schemas.py             |   49 +-
 superset/mcp_service/{common => utils}/__init__.py |   17 +-
 superset/reports/notifications/email.py            |    6 +-
 superset/result_set.py                             |    2 +-
 superset/translations/ru/LC_MESSAGES/messages.po   | 2150 ++++++++++++--------
 superset/utils/core.py                             |    1 +
 .../commands/execute_dashboard_report_tests.py     |    2 +-
 tests/unit_tests/commands/report/execute_test.py   |    6 +
 .../unit_tests/mcp_service/chart}/__init__.py      |    0
 .../unit_tests/mcp_service/chart/tool}/__init__.py |    0
 .../mcp_service/chart/tool/test_list_charts.py     |  172 ++
 .../unit_tests/mcp_service/common}/__init__.py     |    0
 .../mcp_service/system/tool}/__init__.py           |    0
 .../mcp_service/system/tool/test_mcp_core.py       |  204 ++
 .../unit_tests/mcp_service/utils}/__init__.py      |    0
 .../reports/notifications/email_tests.py           |    2 +
 .../reports/notifications/slack_tests.py           |    1 +
 45 files changed, 3647 insertions(+), 1286 deletions(-)
 delete mode 100644 superset-frontend/src/dashboard/components/gridComponents/Markdown/Markdown.test.jsx
 create mode 100644 superset-frontend/src/dashboard/components/gridComponents/Markdown/Markdown.test.tsx
 create mode 100644 superset/mcp_service/auth.py
 create mode 100644 superset/mcp_service/chart/schemas.py
 copy docs/static/.asf.yaml => superset/mcp_service/chart/tool/__init__.py (85%)
 create mode 100644 superset/mcp_service/chart/tool/get_chart_info.py
 create mode 100644 superset/mcp_service/chart/tool/list_charts.py
 create mode 100644 superset/mcp_service/common/cache_schemas.py
 create mode 100644 superset/mcp_service/mcp_core.py
 create mode 100644 superset/mcp_service/middleware.py
 copy superset/mcp_service/{common => utils}/__init__.py (77%)
 copy {superset-core/src/superset_core => tests/unit_tests/mcp_service/chart}/__init__.py (100%)
 copy {superset-core/src/superset_core => tests/unit_tests/mcp_service/chart/tool}/__init__.py (100%)
 create mode 100644 tests/unit_tests/mcp_service/chart/tool/test_list_charts.py
 copy {superset-core/src/superset_core => tests/unit_tests/mcp_service/common}/__init__.py (100%)
 copy {superset-core/src/superset_core => tests/unit_tests/mcp_service/system/tool}/__init__.py (100%)
 create mode 100644 tests/unit_tests/mcp_service/system/tool/test_mcp_core.py
 copy {superset-core/src/superset_core => tests/unit_tests/mcp_service/utils}/__init__.py (100%)