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 2026/09/28 05:28:13 UTC

(superset) branch fix/pivot-grand-total-mixed-metrics updated (d15dc7d394b -> 11a6a3b4617)

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

rusackas pushed a change to branch fix/pivot-grand-total-mixed-metrics
in repository https://gitbox.apache.org/repos/asf/superset.git


    from d15dc7d394b fix(pivot-table): stop the grand-total corner from silently picking one metric
     add 0034601c062 chore(deps): bump github/codeql-action/init from 4.38.0 to 4.38.1 (#44639)
     add 5e8bbc0eb4a chore(deps): bump baseline-browser-mapping from 2.11.24 to 2.11.25 in /docs (#44638)
     add 241d1210152 chore(deps): bump image-size from 2.0.2 to 2.0.4 in /docs in the security group across 1 directory (#44619)
     add be0631858c9 chore(deps): bump mapbox-gl from 3.30.0 to 3.31.0 in /superset-frontend (#44643)
     add 4bce27f12f4 fix(dashboard): shrink row height on chart resize and unblock resize handles above columns (#44359)
     add 5aec4342bb5 fix(database): catch JSONDecodeError in get_oauth2_config (#44658)
     add 10ca640e97e fix(import): downgrade expected validation-failure logs from error to warning (#44655)
     add 181422fc604 fix(mcp): return safe argument validation details (#44591)
     add 05017968378 chore(ci): collapse Playwright experimental workflow into E2E playwright-tests (#44659)
     add a33154a4c49 chore(deps-dev): bump hdbcli from 2.29.27 to 2.30.27 (#44687)
     add 60a0b45b06f chore(deps-dev): bump mysqlclient from 2.2.8 to 2.3.0 (#44689)
     add 1aaa1e6ad1a chore(deps): bump greenlet from 3.5.5 to 3.5.6 (#44691)
     add 1a65f0ec9be chore(deps-dev): bump google-cloud-bigquery from 3.45.0 to 3.45.2 (#44692)
     add b4db7baaff5 chore(deps-dev): bump python-ldap from 3.4.7 to 3.4.8 (#44690)
     add 6e2e7c6c84f chore(deps-dev): update playwright requirement from <2,>=1.62.0 to >=1.63.0,<2 (#44688)
     add 5b9733fd60f fix(versioning): resolve nightly pre-commit (next) failures — mypy UUID-annotation regression and oxfmt version-drift formatting (#44648)
     add eb2ffa28ccf chore(docker): quiet scanner self-match noise, keep OS packages current (#44124)
     add 2e13cfa3e48 fix(charts): stream large CSV exports without executing the query first (#44624)
     add 25e63b54fd8 feat(mcp): add create_dataset_metric and delete_dataset_metric tools (#44580)
     add c54a3315e86 feat(plugin-chart-echarts): add Candlestick Chart (#43863)
     add 891c2ede0b6 feat(dashboard): download the Excel export directly when no export storage is configured (#44082)
     add 35e58506061 fix(charts): guard Slice.form_data against non-dict params JSON (#44731)
     add 8a3b86dccd3 fix: guard the isdigit()-then-int() pattern against non-decimal digits (#44620)
     add 11a6a3b4617 Merge master into fix/pivot-grand-total-mixed-metrics

No new revisions were added by this update.

Summary of changes:
 .github/workflows/bashlib.sh                       |    6 +-
 .github/workflows/codeql-analysis.yml              |    2 +-
 .github/workflows/superset-e2e.yml                 |   22 +-
 .github/workflows/superset-playwright.yml          |  222 ----
 .grype.yaml                                        |   39 +
 UPDATING.md                                        |   68 +-
 docker/apt-install.sh                              |    8 +
 docs/developer_docs/extensions/mcp.md              |   17 +
 .../using-superset/exporting-dashboard-data.mdx    |  110 +-
 .../docs/using-superset/using-ai-with-superset.mdx |   19 +
 docs/package.json                                  |    2 +-
 docs/static/resources/openapi.json                 |   16 +-
 docs/yarn.lock                                     |   14 +-
 pyproject.toml                                     |   12 +-
 requirements/base.txt                              |    2 +-
 requirements/development.txt                       |    8 +-
 scripts/change_detector.py                         |    1 +
 superset-frontend/package-lock.json                |   10 +-
 superset-frontend/package.json                     |    2 +-
 .../superset-ui-core/src/chart/types/VizType.ts    |    1 +
 .../src/query/extractQueryFields.ts                |    4 +
 .../test/query/extractQueryFields.test.ts          |   12 +
 superset-frontend/playwright.config.ts             |    9 -
 .../tests/chart/handlebars-format-date.spec.ts     |    2 +-
 .../tests/dashboard/gauge-interval-colors.spec.ts  |    2 +-
 .../mixed-chart-dashboard-filters.spec.ts          |    2 +-
 .../tests/embedded/pivot-collapse-state.spec.ts    |    2 +-
 .../playwright/tests/experimental/README.md        |  123 --
 .../explore/results-tab-reuse.spec.ts              |   16 +-
 .../src/Candlestick/EchartsCandlestick.tsx         |  174 +++
 .../src/{Bubble => Candlestick}/buildQuery.ts      |   19 +-
 .../src/Candlestick/constants.ts                   |   61 +
 .../src/Candlestick/controlPanel.tsx               |  417 +++++++
 .../src/Candlestick/images/example1-dark.png       |  Bin 0 -> 55933 bytes
 .../src/Candlestick/images/example1.png            |  Bin 0 -> 56139 bytes
 .../src/Candlestick/images/thumbnail-dark.png      |  Bin 0 -> 31389 bytes
 .../src/Candlestick/images/thumbnail.png           |  Bin 0 -> 31318 bytes
 .../src/{Tree => Candlestick}/index.ts             |   32 +-
 .../src/Candlestick/transformProps.ts              |  770 ++++++++++++
 .../plugin-chart-echarts/src/Candlestick/types.ts  |   84 ++
 .../plugin-chart-echarts/src/Candlestick/utils.ts  |   91 ++
 .../src/components/Echart.test.tsx                 |    1 +
 .../plugin-chart-echarts/src/components/Echart.tsx |    2 +
 .../plugins/plugin-chart-echarts/src/index.ts      |    2 +
 .../test/Candlestick/EchartsCandlestick.test.tsx   |  325 +++++
 .../test/Candlestick}/buildQuery.test.ts           |   48 +-
 .../test/Candlestick/controlPanel.test.ts          |  257 ++++
 .../test/Candlestick/transformProps.test.ts        | 1271 ++++++++++++++++++++
 .../test/Candlestick/utils.test.ts                 |   53 +
 .../plugin-chart-point-cluster-map/package.json    |    2 +-
 .../useDrillDetailMenuItems.test.tsx               |   26 +
 .../dashboard/components/Header/Header.test.tsx    |   35 +-
 .../components/gridComponents/Row/Row.test.tsx     |   43 +-
 .../components/gridComponents/Row/Row.tsx          |  124 +-
 .../DownloadMenuItems/DownloadMenuItems.test.tsx   |  320 ++++-
 .../components/menu/DownloadMenuItems/index.tsx    |  126 +-
 .../src/dashboard/components/menu/HoverMenu.tsx    |    4 +-
 .../components/resizable/ResizableContainer.tsx    |    3 +-
 superset-frontend/src/dashboard/constants.ts       |    6 +
 .../controlUtils/standardizedFormData.test.ts      |   29 +
 .../explore/controlUtils/standardizedFormData.ts   |    4 +
 .../versionHistory/VersionHistoryPanel.tsx         |   16 +-
 superset-frontend/src/setup/setupApp.ts            |   16 +-
 .../src/visualizations/presets/MainPreset.ts       |    4 +
 superset/charts/data/api.py                        |   63 +-
 superset/commands/dataset/update.py                |   19 +-
 superset/commands/importers/v1/__init__.py         |    6 +-
 superset/commands/importers/v1/utils.py            |    6 +-
 superset/config.py                                 |   34 +-
 superset/daos/base.py                              |    2 +-
 superset/daos/dataset.py                           |   28 +-
 superset/daos/datasource.py                        |    2 +-
 superset/dashboards/api.py                         |  253 +++-
 superset/dashboards/excel_export/email.py          |   17 +-
 superset/dashboards/excel_export/storage.py        |   81 ++
 superset/dashboards/excel_export/sync_budget.py    |  272 +++++
 superset/dashboards/excel_export/workbook.py       |  324 +++++
 superset/mcp_service/app.py                        |    7 +-
 superset/mcp_service/chart/chart_helpers.py        |    4 +-
 superset/mcp_service/chart/chart_utils.py          |    2 +-
 superset/mcp_service/chart/tool/generate_chart.py  |    7 +-
 superset/mcp_service/chart/tool/get_chart_sql.py   |    4 +-
 .../mcp_service/chart/tool/update_chart_preview.py |    4 +-
 .../chart/validation/dataset_validator.py          |    2 +-
 .../mcp_service/dashboard/tool/delete_dashboard.py |    2 +-
 superset/mcp_service/dataset/schemas.py            |   81 +-
 superset/mcp_service/dataset/tool/__init__.py      |    4 +
 .../dataset/tool/create_dataset_metric.py          |  172 +++
 .../dataset/tool/delete_dataset_metric.py          |  246 ++++
 .../explore/tool/generate_explore_link.py          |    2 +-
 superset/mcp_service/mcp_config.py                 |    2 +
 superset/mcp_service/middleware.py                 |   24 +-
 superset/mcp_service/utils/response_size_utils.py  |    2 +
 superset/mcp_service/utils/validation.py           |  218 ++++
 superset/models/core.py                            |    7 +-
 superset/models/slice.py                           |    7 +-
 superset/sql/parse.py                              |   14 +-
 superset/tasks/export_dashboard_excel.py           |  384 +-----
 superset/translations/ar/LC_MESSAGES/messages.po   |  136 ++-
 superset/translations/ca/LC_MESSAGES/messages.po   |  140 ++-
 superset/translations/cs/LC_MESSAGES/messages.po   |  137 ++-
 superset/translations/de/LC_MESSAGES/messages.po   |  141 ++-
 superset/translations/en/LC_MESSAGES/messages.po   |  126 +-
 superset/translations/es/LC_MESSAGES/messages.po   |  138 ++-
 superset/translations/fa/LC_MESSAGES/messages.po   |  138 ++-
 superset/translations/fi/LC_MESSAGES/messages.po   |  138 ++-
 superset/translations/fr/LC_MESSAGES/messages.po   |  145 ++-
 superset/translations/it/LC_MESSAGES/messages.po   |  144 ++-
 superset/translations/ja/LC_MESSAGES/messages.po   |  126 +-
 superset/translations/ko/LC_MESSAGES/messages.po   |  127 +-
 superset/translations/lv/LC_MESSAGES/messages.po   |  140 ++-
 superset/translations/messages.pot                 |  136 ++-
 superset/translations/mi/LC_MESSAGES/messages.po   |  139 ++-
 superset/translations/nl/LC_MESSAGES/messages.po   |  141 ++-
 superset/translations/pl/LC_MESSAGES/messages.po   |  139 ++-
 superset/translations/pt/LC_MESSAGES/messages.po   |  138 ++-
 .../translations/pt_BR/LC_MESSAGES/messages.po     |  141 ++-
 superset/translations/ro/LC_MESSAGES/messages.po   |  143 ++-
 superset/translations/ru/LC_MESSAGES/messages.po   |  140 ++-
 superset/translations/sk/LC_MESSAGES/messages.po   |  138 ++-
 superset/translations/sl/LC_MESSAGES/messages.po   |  138 ++-
 superset/translations/sr/LC_MESSAGES/messages.po   |  138 ++-
 .../translations/sr_Latn/LC_MESSAGES/messages.po   |  139 ++-
 superset/translations/ta/LC_MESSAGES/messages.po   |  142 ++-
 superset/translations/th/LC_MESSAGES/messages.po   |  133 +-
 superset/translations/tr/LC_MESSAGES/messages.po   |  138 ++-
 superset/translations/uk/LC_MESSAGES/messages.po   |  137 ++-
 superset/translations/zh/LC_MESSAGES/messages.po   |  128 +-
 .../translations/zh_TW/LC_MESSAGES/messages.po     |  126 +-
 superset/utils/date_parser.py                      |    2 +-
 superset/views/base.py                             |    4 +
 tests/integration_tests/dashboards/api_tests.py    |  572 ++++++++-
 .../versioning/activity_write_after_read_tests.py  |    3 +-
 .../versioning/conditional_token_lock_tests.py     |   10 +-
 .../versioning/creation_row_tests.py               |   17 +-
 .../versioning/restore_fails_closed_tests.py       |   12 +-
 tests/unit_tests/charts/test_chart_data_api.py     |  197 +++
 .../commands/importers/v1/import_models_test.py    |   93 ++
 .../unit_tests/commands/importers/v1/utils_test.py |  100 +-
 tests/unit_tests/dao/base_dao_test.py              |   29 +-
 .../dashboards/test_excel_export_email.py          |   19 +
 .../dashboards/test_excel_export_storage.py        |  178 +++
 .../dashboards/test_excel_export_sync_budget.py    |  563 +++++++++
 .../dashboards/test_excel_export_workbook.py       |  146 +++
 tests/unit_tests/datasource/dao_tests.py           |   16 +
 .../mcp_service/chart/tool/test_generate_chart.py  |   57 +
 .../chart/tool/test_update_chart_preview.py        |   31 +
 .../dataset/tool/test_dataset_metric_mutations.py  |  529 ++++++++
 .../explore/tool/test_generate_explore_link.py     |   25 +
 .../mcp_service/test_error_classification.py       |   11 +-
 .../test_isdigit_isdecimal_regression.py           |  149 +++
 .../mcp_service/test_mcp_tool_registration.py      |    5 +
 tests/unit_tests/mcp_service/test_middleware.py    |    4 +-
 .../mcp_service/test_rbac_tool_enforcement.py      |   12 +
 .../unit_tests/mcp_service/test_tool_inventory.py  |    2 +
 .../mcp_service/test_validation_contract.py        |  511 ++++++++
 tests/unit_tests/models/core_test.py               |   21 +-
 tests/unit_tests/models/slice_test.py              |   28 +
 tests/unit_tests/scripts/change_detector_test.py   |   10 +
 tests/unit_tests/sql/parse_tests.py                |   18 +
 .../tasks/test_export_dashboard_excel.py           |   86 +-
 tests/unit_tests/views/test_bootstrap_auth.py      |   20 +
 162 files changed, 13802 insertions(+), 1348 deletions(-)
 delete mode 100644 .github/workflows/superset-playwright.yml
 create mode 100644 .grype.yaml
 delete mode 100644 superset-frontend/playwright/tests/experimental/README.md
 rename superset-frontend/playwright/tests/{experimental => }/explore/results-tab-reuse.spec.ts (87%)
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/EchartsCandlestick.tsx
 copy superset-frontend/plugins/plugin-chart-echarts/src/{Bubble => Candlestick}/buildQuery.ts (71%)
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/constants.ts
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/controlPanel.tsx
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/images/example1-dark.png
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/images/example1.png
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/images/thumbnail-dark.png
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/images/thumbnail.png
 copy superset-frontend/plugins/plugin-chart-echarts/src/{Tree => Candlestick}/index.ts (66%)
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/transformProps.ts
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/types.ts
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/src/Candlestick/utils.ts
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Candlestick/EchartsCandlestick.test.tsx
 copy superset-frontend/plugins/{plugin-chart-calendar/test => plugin-chart-echarts/test/Candlestick}/buildQuery.test.ts (51%)
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Candlestick/controlPanel.test.ts
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Candlestick/transformProps.test.ts
 create mode 100644 superset-frontend/plugins/plugin-chart-echarts/test/Candlestick/utils.test.ts
 create mode 100644 superset/dashboards/excel_export/storage.py
 create mode 100644 superset/dashboards/excel_export/sync_budget.py
 create mode 100644 superset/dashboards/excel_export/workbook.py
 create mode 100644 superset/mcp_service/dataset/tool/create_dataset_metric.py
 create mode 100644 superset/mcp_service/dataset/tool/delete_dataset_metric.py
 create mode 100644 superset/mcp_service/utils/validation.py
 create mode 100644 tests/unit_tests/commands/importers/v1/import_models_test.py
 create mode 100644 tests/unit_tests/dashboards/test_excel_export_storage.py
 create mode 100644 tests/unit_tests/dashboards/test_excel_export_sync_budget.py
 create mode 100644 tests/unit_tests/dashboards/test_excel_export_workbook.py
 create mode 100644 tests/unit_tests/mcp_service/dataset/tool/test_dataset_metric_mutations.py
 create mode 100644 tests/unit_tests/mcp_service/test_isdigit_isdecimal_regression.py
 create mode 100644 tests/unit_tests/mcp_service/test_validation_contract.py