This is an automated email from the ASF dual-hosted git repository.
rusackas pushed a change to branch chore/lint-cleanup-function-components
in repository https://gitbox.apache.org/repos/asf/superset.git
omit 72ed19d3254 fix: address bot review comments for function component
conversion
omit 327c3c59241 style: apply prettier formatting fixes
omit f32dd11da8a fix(tests): remove unused dashboardStateActions import
omit 2049909b24d fix(tests): update SaveModal tests for function component
conversion
omit 3d3c3d87024 fix(tests): skip TableRenderer tests pending FC refactoring
omit 19862434f4c fix: add theme prop to SuperChart instances in src/ files
omit 695bcfaff8e fix(storybook): add theme prop to all SuperChart instances
in stories
omit 88f67d55791 fix(tests): add theme prop to SuperChart test instances
omit 655c90cbc9d fix: address code review comments from bot
omit a099f9f506c fix(StatefulChart): pass theme prop to SuperChart
omit 09813716323 chore(lint): convert class components to function
components
add 77148277b96 feat(charts): improve negative stacked bar label
positioning and accessibility (#37405)
add 19ec7b48a0f fix: Conditional formatting painting empty cells (#37894)
add 30ccbb2e050 chore(deps): update @types/geojson requirement from
^7946.0.10 to ^7946.0.16 in
/superset-frontend/plugins/plugin-chart-cartodiagram (#37908)
add afacca350f0 chore(deps-dev): bump oxlint from 1.42.0 to 1.46.0 in
/superset-frontend (#37917)
add 3f64c257120 fix(mcp): Add database_name as valid filter column for
list_datasets (#37865)
add 4dfece9ee54 feat(mcp): add event_logger instrumentation to MCP tools
(#37859)
add 88ce1425e2c fix(roles): optimize user fetching and resolve N+1 query
issue (#37235)
add dbf5e1f1314 feat(theme): use IBM Plex Mono for code and numerical
displays (#37366)
add 58d245c6b03 chore(deps): Update sqlachemy-utils to 0.42.0 (#36240)
add 0d5ddb36749 feat(themes): add enhanced validation and error handling
with fallback mechanisms (#37378)
add 6328e516206 test(examples): add tests for UUID threading and security
bypass (#37557)
add 142b2cc4254 test(e2e): add Playwright E2E tests for Chart List page
(#37866)
add ed20883ce73 chore(lint): convert class components to function
components
add e56ccda0c40 fix(StatefulChart): pass theme prop to SuperChart
add a1ab3363ca7 fix: address code review comments from bot
add 637ba16967f fix(tests): add theme prop to SuperChart test instances
add 69ca3066c1b fix(storybook): add theme prop to all SuperChart instances
in stories
add 66c94162ddb fix: add theme prop to SuperChart instances in src/ files
add 21447df0c5c fix(tests): skip TableRenderer tests pending FC refactoring
add bcb1954f035 fix(tests): update SaveModal tests for function component
conversion
add e0316ee2323 fix(tests): remove unused dashboardStateActions import
add 5987e438dac style: apply prettier formatting fixes
add 62135e4743b fix: address bot review comments for function component
conversion
add 95fbb22de67 fix: add missing theme prop to SuperChart in story files
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 (72ed19d3254)
\
N -- N -- N refs/heads/chore/lint-cleanup-function-components
(95fbb22de67)
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:
UPDATING.md | 36 ++
docs/package.json | 1 +
docs/yarn.lock | 5 +
pyproject.toml | 2 +-
requirements/base.txt | 2 +-
requirements/development.txt | 2 +-
superset-core/pyproject.toml | 2 +-
superset-frontend/oxlint.json | 2 +-
superset-frontend/package-lock.json | 701 +++++++++------------
superset-frontend/package.json | 3 +-
.../packages/superset-core/package.json | 2 +-
.../superset-core/src/ui/theme/GlobalStyles.tsx | 6 +-
.../superset-core/src/ui/theme/Theme.test.tsx | 2 +-
.../packages/superset-core/src/utils/index.ts | 1 +
.../superset-core/src/utils/isBlank.test.ts | 59 ++
.../superset-core/src/utils/isBlank.ts} | 16 +-
.../src/utils/getColorFormatters.ts | 13 +-
.../test/utils/getColorFormatters.test.ts | 111 ++++
.../AsyncAceEditor/AsyncAceEditor.test.tsx | 15 +
.../src/components/AsyncAceEditor/index.tsx | 5 +-
.../src/components/Label/Label.test.tsx | 5 +
.../components/modals/ChartPropertiesModal.ts} | 59 +-
.../playwright/helpers/api/assertions.ts | 58 ++
superset-frontend/playwright/helpers/api/chart.ts | 104 +++
.../playwright/helpers/fixtures/testAssets.ts | 57 +-
.../playwright/pages/ChartListPage.ts | 132 ++++
.../tests/experimental/chart/chart-list.spec.ts | 307 +++++++++
.../tests/experimental/chart/chart-test-helpers.ts | 88 +++
.../experimental/dataset/dataset-list.spec.ts | 51 +-
.../stories/LegacyPluginChartCalendar.stories.tsx | 2 +
.../src/stories/MapBox.stories.tsx | 1 +
.../src/stories/Partition.stories.tsx | 2 +
.../src/stories/Rose.stories.tsx | 2 +
.../src/layers/Polygon/stories/Polygon.stories.tsx | 3 +
.../src/BoxPlot/stories/NVD3BoxPlot.stories.tsx | 2 +
.../src/Bubble/stories/NVD3Bubble.stories.tsx | 2 +
.../src/Bullet/stories/NVD3Bullet.stories.tsx | 2 +
.../src/Compare/stories/NVD3Compare.stories.tsx | 3 +
.../src/stories/AgGridTable.stories.tsx | 2 +
.../plugins/plugin-chart-cartodiagram/package.json | 2 +-
.../src/stories/Cartodiagram.stories.tsx | 2 +
.../src/Gauge/stories/Gauge.stories.tsx | 2 +
.../src/Graph/stories/Graph.stories.tsx | 2 +
.../src/Timeseries/transformers.ts | 47 +-
.../test/Timeseries/transformers.test.ts | 97 +--
.../src/stories/Handlebars.stories.tsx | 5 +
.../src/react-pivottable/utilities.ts | 4 +-
.../src/stories/PivotTable.stories.tsx | 2 +
.../plugin-chart-table/test/TableChart.test.tsx | 4 +-
.../src/stories/WordCloud.stories.tsx | 2 +
.../src/SqlLab/components/ResultSet/index.tsx | 1 +
.../src/components/RowCountLabel/index.tsx | 2 +-
.../components/gridComponents/Row/Row.test.tsx | 2 +-
.../src/features/roles/RoleListEditModal.test.tsx | 37 ++
.../src/features/roles/RoleListEditModal.tsx | 12 +-
.../src/features/themes/ThemeModal.test.tsx | 174 ++++-
.../src/features/themes/ThemeModal.tsx | 65 +-
.../src/pages/ExecutionLogList/index.tsx | 12 +-
superset-frontend/src/theme/ThemeController.ts | 147 ++++-
.../src/theme/hooks/useThemeValidation.test.ts | 133 ++++
.../src/theme/hooks/useThemeValidation.ts | 155 +++++
.../src/theme/tests/ThemeController.test.ts | 196 ++++++
.../src/theme/utils/antdTokenNames.test.ts | 108 ++++
.../src/theme/utils/antdTokenNames.ts | 115 ++++
.../theme/utils/themeStructureValidation.test.ts | 346 ++++++++++
.../src/theme/utils/themeStructureValidation.ts | 191 ++++++
superset/config.py | 2 +-
superset/daos/dataset.py | 41 +-
superset/mcp_service/chart/tool/generate_chart.py | 270 ++++----
superset/mcp_service/chart/tool/get_chart_data.py | 80 ++-
superset/mcp_service/chart/tool/get_chart_info.py | 20 +-
.../mcp_service/chart/tool/get_chart_preview.py | 149 +++--
superset/mcp_service/chart/tool/list_charts.py | 27 +-
superset/mcp_service/chart/tool/update_chart.py | 83 +--
.../mcp_service/chart/tool/update_chart_preview.py | 23 +-
.../tool/add_chart_to_existing_dashboard.py | 135 ++--
.../dashboard/tool/generate_dashboard.py | 99 +--
.../dashboard/tool/get_dashboard_info.py | 20 +-
.../mcp_service/dashboard/tool/list_dashboards.py | 25 +-
superset/mcp_service/dataset/schemas.py | 1 +
.../mcp_service/dataset/tool/get_dataset_info.py | 20 +-
superset/mcp_service/dataset/tool/list_datasets.py | 28 +-
.../explore/tool/generate_explore_link.py | 20 +-
superset/mcp_service/middleware.py | 118 +++-
superset/mcp_service/sql_lab/tool/execute_sql.py | 44 +-
.../sql_lab/tool/open_sql_lab_with_context.py | 6 +-
.../mcp_service/system/tool/get_instance_info.py | 4 +-
superset/mcp_service/system/tool/get_schema.py | 6 +-
superset/mcp_service/system/tool/health_check.py | 8 +-
superset/security/api.py | 10 +-
tests/integration_tests/security/api_tests.py | 111 +++-
.../commands/importers/v1/examples_test.py | 133 +++-
.../databases/commands/importers/v1/import_test.py | 33 +
.../api => tests/unit_tests/examples}/__init__.py | 0
tests/unit_tests/examples/data_loading_test.py | 204 ++++++
tests/unit_tests/examples/generic_loader_test.py | 233 +++++++
tests/unit_tests/examples/utils_test.py | 206 ++++++
tests/unit_tests/extensions/test_types.py | 11 +-
.../mcp_service/dataset/tool/test_dataset_tools.py | 46 ++
.../mcp_service/test_middleware_logging.py | 207 ++++++
100 files changed, 4983 insertions(+), 1173 deletions(-)
create mode 100644
superset-frontend/packages/superset-core/src/utils/isBlank.test.ts
copy superset-frontend/{src/dashboard/util/componentIsResizable.ts =>
packages/superset-core/src/utils/isBlank.ts} (74%)
copy superset-frontend/{src/features/rls/types.ts =>
playwright/components/modals/ChartPropertiesModal.ts} (50%)
create mode 100644 superset-frontend/playwright/helpers/api/chart.ts
create mode 100644 superset-frontend/playwright/pages/ChartListPage.ts
create mode 100644
superset-frontend/playwright/tests/experimental/chart/chart-list.spec.ts
create mode 100644
superset-frontend/playwright/tests/experimental/chart/chart-test-helpers.ts
create mode 100644 superset-frontend/src/theme/hooks/useThemeValidation.test.ts
create mode 100644 superset-frontend/src/theme/hooks/useThemeValidation.ts
create mode 100644 superset-frontend/src/theme/utils/antdTokenNames.test.ts
create mode 100644 superset-frontend/src/theme/utils/antdTokenNames.ts
create mode 100644
superset-frontend/src/theme/utils/themeStructureValidation.test.ts
create mode 100644
superset-frontend/src/theme/utils/themeStructureValidation.ts
copy {superset-core/src/superset_core/api =>
tests/unit_tests/examples}/__init__.py (100%)
create mode 100644 tests/unit_tests/examples/data_loading_test.py
create mode 100644 tests/unit_tests/examples/generic_loader_test.py
create mode 100644 tests/unit_tests/examples/utils_test.py
create mode 100644 tests/unit_tests/mcp_service/test_middleware_logging.py