This is an automated email from the ASF dual-hosted git repository.
msyavuz pushed a change to branch msyavuz/feat/canvas
in repository https://gitbox.apache.org/repos/asf/superset.git
from 6d76a3d5753 fix(canvas): drop the assistant button while the assistant
is open
add b139d19a410 fix(embedded): refuse an import that would wipe the
embedded guest private key (#45870)
add e37ad635e0e chore(deps): bump celery from 5.6.3 to 5.7.0 (#46187)
add 2a1be099be8 fix(country-map): repoint Madagascar at WHO's current
boundary service (#46115)
add a0f120285ad chore: add a Preset committer to CODEOWNERS for config, CI
and release paths (#46201)
add 4c6e07642a2 fix(explore): make the Stop button cancel the running
chart query (#44552)
add fa847a679b4 feat(mcp): add create/update/delete dataset column tools
(#46048)
add 7da9466e846 chore(deps-dev): update sqlalchemy-d1 requirement from
<1,>=0.2.0 to >=0.2.2,<1 (#46073)
add 7a3ab9d940c chore(lint): enforce react/jsx-filename-extension as error
(#44988)
add af39de87c71 feat(color-picker): consolidate remaining legacy color
selectors onto ColorPickerControl (#42910)
add f10ff4922da fix(radar-chart): make inside label positions render where
their names say (#38119)
add e95892bcc2c chore(deps): bump dawidd6/action-download-artifact from 27
to 28 (#46093)
add b3f5242d017 chore(deps): bump setuptools from 84.0.0 to 84.2.1 (#46069)
add 2729d8b91fd ci: install the Snowflake driver in the dev requirements
(#46213)
add 8181d956bad chore(deps): bump markdown from 3.11 to 3.11.3 (#46209)
add a331f26c7c2 chore(deps-dev): update databricks-sql-connector
requirement from <4.7.0,>=4.6.0 to >=4.9.0,<4.10.0 (#46212)
add 03a518f03ea chore(deps): bump flask-compress from 1.25 to 1.26 (#46210)
add f81191d55ee chore(deps): bump cachetools from 7.2.5 to 7.3.1 (#46211)
add 94553936930 chore(deps): bump click from 8.5.0 to 8.5.1 (#46208)
add 5a30c85ab05 test(mcp): model regular authenticated users explicitly
(#46177)
add e60f79ffe28 fix(drill-by): keep the clicked time bucket when drilling
from a grained temporal axis (#45612)
add 10b8aadca14 chore(deps-dev): bump oxlint-tsgolint from 7.0.2005 to
7.0.2006 in /docs (#46243)
add b44f926db14 chore(deps-dev): bump oxfmt from 0.76.0 to 0.77.0 in /docs
(#46241)
add 319ebbeaeb2 chore(deps): bump sqlglot from 30.24.0 to 30.31.0 (#46207)
add 2dc6eed6048 Merge remote-tracking branch 'origin/master' into
msyavuz/feat/canvas
No new revisions were added by this update.
Summary of changes:
.github/CODEOWNERS | 8 +-
.github/workflows/superset-docs-deploy.yml | 4 +-
.github/workflows/superset-docs-verify.yml | 2 +-
UPDATING.md | 5 +-
docs/admin_docs/configuration/mcp-server.mdx | 5 +-
docs/docs/using-superset/exploring-data.mdx | 32 +
.../docs/using-superset/using-ai-with-superset.mdx | 16 +
docs/package.json | 4 +-
docs/sip/embedded-fallback-credential.md | 6 +-
docs/static/resources/openapi.json | 82 +++
docs/yarn.lock | 316 +++++-----
pyproject.toml | 20 +-
requirements/base.txt | 26 +-
requirements/development.in | 2 +-
requirements/development.txt | 56 +-
superset-frontend/oxlint.json | 2 +-
superset-frontend/package-lock.json | 160 ++---
superset-frontend/package.json | 2 +-
.../superset-ui-core/src/query/types/Query.ts | 5 +
.../test/query/convertFilter.test.ts | 18 +
.../scripts/Country Map GeoJSON Generator.ipynb | 4 +-
.../BigNumberPeriodOverPeriod/PopKPI.test.tsx | 150 +++++
.../BigNumber/BigNumberPeriodOverPeriod/PopKPI.tsx | 78 +--
.../BigNumberPeriodOverPeriod/controlPanel.ts | 76 ++-
.../BigNumberPeriodOverPeriod/transformProps.ts | 4 +
.../BigNumber/BigNumberPeriodOverPeriod/types.ts | 14 +
.../BigNumberPeriodOverPeriod/utils.test.ts | 147 ++++-
.../BigNumber/BigNumberPeriodOverPeriod/utils.ts | 147 +++++
.../src/Bullet/controlPanel.tsx | 27 +-
.../src/Bullet/transformProps.ts | 80 ++-
.../plugin-chart-echarts/src/Bullet/types.ts | 8 +
.../plugin-chart-echarts/src/Bullet/utils.ts | 102 +++-
.../src/Candlestick/transformProps.ts | 15 +-
.../src/Gauge/controlPanel.tsx | 34 +-
.../src/Gauge/transformProps.ts | 46 +-
.../plugin-chart-echarts/src/Gauge/types.ts | 15 +
.../src/MixedTimeseries/EchartsMixedTimeseries.tsx | 65 +-
.../src/MixedTimeseries/transformProps.ts | 1 +
.../src/MixedTimeseries/types.ts | 1 +
.../src/Radar/transformProps.ts | 26 +-
.../src/Timeseries/EchartsTimeseries.test.tsx | 144 ++++-
.../src/Timeseries/EchartsTimeseries.tsx | 95 ++-
.../src/Waterfall/transformProps.ts | 27 +-
.../plugins/plugin-chart-echarts/src/index.ts | 5 +
.../plugin-chart-echarts/src/utils/colors.ts | 68 +++
.../src/utils/xAxisDrillByFilter.ts | 97 +++
.../BigNumberPeriodOverPeriod/controlPanel.test.ts | 64 ++
.../transformProps.test.ts | 53 ++
.../test/Bullet/controlPanel.test.ts} | 26 +-
.../test/Bullet/transformProps.test.ts | 173 ++++++
.../plugin-chart-echarts/test/Bullet/utils.test.ts | 83 +++
.../test/Candlestick/transformProps.test.ts | 24 +
.../test/Gauge/controlPanel.test.ts | 77 +++
.../test/Gauge/transformProps.test.ts | 203 ++++++-
.../EchartsMixedTimeseries.test.tsx | 224 ++++++-
.../test/Radar/transformProps.test.ts | 122 +++-
.../test/Timeseries/EchartsTimeseries.test.tsx | 165 ++++++
.../test/Waterfall/transformProps.test.ts | 32 +
.../plugin-chart-echarts/test/utils/colors.test.ts | 66 +++
.../test/utils/xAxisDrillByFilter.test.ts | 134 +++++
.../components/Chart/DrillBy/DrillByModal.test.tsx | 417 ++++++++++++-
.../src/components/Chart/DrillBy/DrillByModal.tsx | 62 +-
.../Chart/DrillBy/DrillByTemporalFilters.test.tsx | 68 ++-
.../src/components/Chart/chartAction.ts | 29 +-
.../src/components/Chart/chartReducer.ts | 1 +
.../src/components/Chart/chartReducers.test.ts | 12 +
.../components/ExploreViewContainer/index.tsx | 21 +-
.../BulletRangeColorsControl.test.tsx | 185 ++++++
.../controls/BulletRangeColorsControl/index.tsx | 115 ++++
.../controls/BulletRangeColorsControl}/types.ts | 30 +-
.../controls/ColorPickerControl.test.tsx | 355 ++++++++++-
.../components/controls/ColorPickerControl.tsx | 165 +++++-
.../FormattingPopoverContent.test.tsx | 14 +-
.../FilterControl/AdhocFilter/AdhocFilter.test.ts | 62 ++
.../controls/FilterControl/AdhocFilter/index.ts | 20 +-
.../AdhocFilterEditPopover.test.tsx | 15 +
.../FilterControl/AdhocFilterEditPopover/index.tsx | 6 +-
...AdhocFilterEditPopoverSimpleTabContent.test.tsx | 41 ++
.../IntervalColorsControl.test.tsx | 456 ++++++++++++++
.../controls/IntervalColorsControl/index.tsx | 166 ++++++
.../controls/IntervalColorsControl/legacyColors.ts | 84 +++
.../controls/IntervalColorsControl/types.ts | 44 ++
.../src/explore/components/controls/index.ts | 4 +
.../components/controls/shared/RangeColorRow.tsx | 59 ++
.../src/explore/exploreUtils/exploreUtils.test.tsx | 17 +
.../src/explore/exploreUtils/index.ts | 7 +
superset-frontend/src/explore/store.test.tsx | 132 ++++-
superset-frontend/src/explore/store.ts | 35 ++
superset-frontend/src/explore/types.ts | 2 +
.../src/features/themes/ThemeColorPickers.test.tsx | 208 +++++++
.../src/features/themes/ThemeColorPickers.tsx | 175 ++++++
.../src/features/themes/ThemeModal.test.tsx | 147 +++++
.../src/features/themes/ThemeModal.tsx | 10 +
superset-websocket/package-lock.json | 216 +++----
superset-websocket/package.json | 4 +-
superset/charts/api.py | 9 +-
superset/charts/data/api.py | 80 ++-
superset/charts/schemas.py | 26 +
superset/commands/database/importers/v1/utils.py | 78 ++-
superset/commands/dataset/update.py | 46 ++
superset/commands/importers/v1/assets.py | 10 +-
superset/common/query_context.py | 7 +
superset/common/query_context_factory.py | 13 +
superset/common/query_context_processor.py | 82 ++-
superset/config.py | 15 +
superset/databases/utils.py | 28 +
superset/mcp_service/app.py | 7 +
superset/mcp_service/chart/chart_utils.py | 49 +-
superset/mcp_service/chart/plugins/gauge.py | 8 +
superset/mcp_service/chart/preview_utils.py | 77 ++-
superset/mcp_service/dashboard_scope.py | 3 +
superset/mcp_service/dataset/schemas.py | 272 ++++++++-
superset/mcp_service/dataset/tool/__init__.py | 6 +
..._dataset_metric.py => create_dataset_column.py} | 120 ++--
.../dataset/tool/delete_dataset_column.py | 265 +++++++++
.../dataset/tool/delete_dataset_metric.py | 14 +-
.../dataset/tool/update_dataset_column.py | 296 ++++++++++
superset/mcp_service/mcp_config.py | 3 +
superset/mcp_service/utils/response_size_utils.py | 3 +
superset/models/helpers.py | 50 +-
superset/sql/dialects/databend.py | 4 +
superset/sql/dialects/pinot.py | 9 +-
superset/sql/dialects/starrocks.py | 41 --
superset/sql/parse.py | 4 +-
superset/tasks/query_cancel.py | 344 ++++++++++-
superset/translations/ar/LC_MESSAGES/messages.po | 4 +
superset/translations/ca/LC_MESSAGES/messages.po | 4 +
superset/translations/cs/LC_MESSAGES/messages.po | 4 +
superset/translations/de/LC_MESSAGES/messages.po | 4 +
superset/translations/en/LC_MESSAGES/messages.po | 4 +
superset/translations/es/LC_MESSAGES/messages.po | 4 +
superset/translations/fa/LC_MESSAGES/messages.po | 4 +
superset/translations/fi/LC_MESSAGES/messages.po | 4 +
superset/translations/fr/LC_MESSAGES/messages.po | 4 +
superset/translations/it/LC_MESSAGES/messages.po | 4 +
superset/translations/ja/LC_MESSAGES/messages.po | 4 +
superset/translations/ko/LC_MESSAGES/messages.po | 4 +
superset/translations/lv/LC_MESSAGES/messages.po | 4 +
superset/translations/messages.pot | 91 ++-
superset/translations/mi/LC_MESSAGES/messages.po | 4 +
superset/translations/nl/LC_MESSAGES/messages.po | 4 +
superset/translations/pl/LC_MESSAGES/messages.po | 4 +
superset/translations/pt/LC_MESSAGES/messages.po | 4 +
.../translations/pt_BR/LC_MESSAGES/messages.po | 4 +
superset/translations/ro/LC_MESSAGES/messages.po | 4 +
superset/translations/ru/LC_MESSAGES/messages.po | 4 +
superset/translations/sk/LC_MESSAGES/messages.po | 4 +
superset/translations/sl/LC_MESSAGES/messages.po | 4 +
superset/translations/sr/LC_MESSAGES/messages.po | 4 +
.../translations/sr_Latn/LC_MESSAGES/messages.po | 4 +
superset/translations/ta/LC_MESSAGES/messages.po | 4 +
superset/translations/th/LC_MESSAGES/messages.po | 4 +
superset/translations/tr/LC_MESSAGES/messages.po | 4 +
superset/translations/uk/LC_MESSAGES/messages.po | 4 +
superset/translations/zh/LC_MESSAGES/messages.po | 4 +
.../translations/zh_TW/LC_MESSAGES/messages.po | 4 +
superset/utils/cache_manager.py | 11 +
tests/unit_tests/charts/test_chart_data_api.py | 61 ++
.../unit_tests/common/test_drill_by_time_column.py | 438 ++++++++++++++
.../common/test_query_context_factory.py | 50 ++
.../common/test_query_context_processor.py | 217 +++++++
tests/unit_tests/core_tests.py | 22 +
.../databases/commands/importers/v1/import_test.py | 205 +++++++
tests/unit_tests/databases/schema_tests.py | 5 +-
tests/unit_tests/importexport/api_test.py | 142 +++++
.../mcp_service/chart/test_bullet_chart.py | 207 +++++++
.../mcp_service/chart/test_bullet_tool_paths.py | 17 +-
.../mcp_service/chart/test_chart_utils.py | 16 +
.../mcp_service/chart/test_gantt_chart.py | 30 +-
.../mcp_service/chart/test_gauge_chart.py | 139 +++++
.../mcp_service/chart/test_geographic_chart.py | 9 +-
.../chart/test_live_chart_datasource.py | 5 +-
.../mcp_service/chart/test_sunburst_chart.py | 33 +-
.../mcp_service/chart/tool/test_get_chart_data.py | 3 +-
.../mcp_service/chart/tool/test_get_chart_info.py | 3 +-
.../mcp_service/chart/tool/test_get_chart_sql.py | 4 +-
.../mcp_service/chart/tool/test_update_chart.py | 3 +-
.../chart/tool/test_update_chart_preview.py | 17 +-
tests/unit_tests/mcp_service/conftest.py | 20 +
.../dashboard/tool/test_get_dashboard_layout.py | 3 +-
.../dataset/tool/test_dataset_column_mutations.py | 654 +++++++++++++++++++++
.../explore/tool/test_generate_explore_link.py | 3 +-
.../mcp_service/native_tool_inventory.json | 74 ++-
.../mcp_service/test_mcp_tool_registration.py | 9 +
.../mcp_service/test_rbac_tool_enforcement.py | 18 +
tests/unit_tests/mcp_service/test_regular_user.py | 62 ++
.../test_sanitization_warning_inputs.py | 31 +
.../unit_tests/mcp_service/test_tool_inventory.py | 3 +
tests/unit_tests/sql/parse_tests.py | 20 +-
tests/unit_tests/tasks/test_query_cancel.py | 617 +++++++++++++++++++
190 files changed, 11535 insertions(+), 873 deletions(-)
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberPeriodOverPeriod/PopKPI.test.tsx
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/src/utils/colors.ts
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/test/BigNumber/BigNumberPeriodOverPeriod/controlPanel.test.ts
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/test/BigNumber/BigNumberPeriodOverPeriod/transformProps.test.ts
copy
superset-frontend/{packages/superset-ui-chart-controls/src/components/ControlSubSectionHeader.tsx
=> plugins/plugin-chart-echarts/test/Bullet/controlPanel.test.ts} (62%)
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/test/Bullet/utils.test.ts
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/test/Gauge/controlPanel.test.ts
create mode 100644
superset-frontend/plugins/plugin-chart-echarts/test/utils/colors.test.ts
create mode 100644
superset-frontend/src/explore/components/controls/BulletRangeColorsControl/BulletRangeColorsControl.test.tsx
create mode 100644
superset-frontend/src/explore/components/controls/BulletRangeColorsControl/index.tsx
copy superset-frontend/src/{features/groups =>
explore/components/controls/BulletRangeColorsControl}/types.ts (63%)
create mode 100644
superset-frontend/src/explore/components/controls/IntervalColorsControl/IntervalColorsControl.test.tsx
create mode 100644
superset-frontend/src/explore/components/controls/IntervalColorsControl/index.tsx
create mode 100644
superset-frontend/src/explore/components/controls/IntervalColorsControl/legacyColors.ts
create mode 100644
superset-frontend/src/explore/components/controls/IntervalColorsControl/types.ts
create mode 100644
superset-frontend/src/explore/components/controls/shared/RangeColorRow.tsx
create mode 100644
superset-frontend/src/features/themes/ThemeColorPickers.test.tsx
create mode 100644 superset-frontend/src/features/themes/ThemeColorPickers.tsx
copy superset/mcp_service/dataset/tool/{create_dataset_metric.py =>
create_dataset_column.py} (56%)
create mode 100644 superset/mcp_service/dataset/tool/delete_dataset_column.py
create mode 100644 superset/mcp_service/dataset/tool/update_dataset_column.py
create mode 100644 tests/unit_tests/common/test_drill_by_time_column.py
create mode 100644
tests/unit_tests/mcp_service/dataset/tool/test_dataset_column_mutations.py
create mode 100644 tests/unit_tests/mcp_service/test_regular_user.py