You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ms...@apache.org on 2026/10/12 16:35:45 UTC
(superset) branch msyavuz/feat/canvas updated (766bb88b02c -> d04be6376e9)
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 766bb88b02c test(mcp): record the canvas and widget tools in the native tool inventory
add d04be6376e9 feat(canvas): build placement queries on the server and show the query that ran
No new revisions were added by this update.
Summary of changes:
docs/static/resources/openapi.json | 125 ++++++++++++++
.../src/features/canvas/CanvasGrid.tsx | 12 +-
.../canvas/WithQuery.test.tsx} | 32 ++--
.../src/features/canvas/WithQuery.tsx | 121 +++++++++++++
.../src/features/canvas/builtinRenderers.tsx | 34 ++--
.../src/features/canvas/dataRenderers.tsx | 74 ++++----
.../features/canvas/echarts/EchartsRenderer.tsx | 44 +++--
.../src/features/canvas/echarts/chartData.test.ts | 62 +++++--
.../src/features/canvas/echarts/chartData.ts | 100 +++++------
.../src/features/canvas/useWidgetRows.ts | 66 ++++---
superset-frontend/src/pages/Canvas/index.tsx | 1 +
superset/canvas/api.py | 145 +++++++++++++++-
superset/canvas/data.py | 146 ++++++++++++++++
superset/commands/canvas/exceptions.py | 10 ++
superset/commands/canvas/placement_data.py | 77 +++++++++
superset/mcp_service/canvas/schemas.py | 6 +
superset/mcp_service/canvas/tool/preview_widget.py | 90 +++-------
superset/translations/ar/LC_MESSAGES/messages.po | 5 +-
superset/translations/ca/LC_MESSAGES/messages.po | 5 +-
superset/translations/cs/LC_MESSAGES/messages.po | 5 +-
superset/translations/de/LC_MESSAGES/messages.po | 5 +-
superset/translations/en/LC_MESSAGES/messages.po | 5 +-
superset/translations/es/LC_MESSAGES/messages.po | 5 +-
superset/translations/fa/LC_MESSAGES/messages.po | 5 +-
superset/translations/fi/LC_MESSAGES/messages.po | 5 +-
superset/translations/fr/LC_MESSAGES/messages.po | 5 +-
superset/translations/it/LC_MESSAGES/messages.po | 5 +-
superset/translations/ja/LC_MESSAGES/messages.po | 5 +-
superset/translations/ko/LC_MESSAGES/messages.po | 5 +-
superset/translations/lv/LC_MESSAGES/messages.po | 5 +-
superset/translations/messages.pot | 5 +-
superset/translations/mi/LC_MESSAGES/messages.po | 5 +-
superset/translations/nl/LC_MESSAGES/messages.po | 5 +-
superset/translations/pl/LC_MESSAGES/messages.po | 5 +-
superset/translations/pt/LC_MESSAGES/messages.po | 5 +-
.../translations/pt_BR/LC_MESSAGES/messages.po | 5 +-
superset/translations/ro/LC_MESSAGES/messages.po | 5 +-
superset/translations/ru/LC_MESSAGES/messages.po | 5 +-
superset/translations/sk/LC_MESSAGES/messages.po | 5 +-
superset/translations/sl/LC_MESSAGES/messages.po | 5 +-
superset/translations/sr/LC_MESSAGES/messages.po | 5 +-
.../translations/sr_Latn/LC_MESSAGES/messages.po | 5 +-
superset/translations/ta/LC_MESSAGES/messages.po | 5 +-
superset/translations/th/LC_MESSAGES/messages.po | 5 +-
superset/translations/tr/LC_MESSAGES/messages.po | 5 +-
superset/translations/uk/LC_MESSAGES/messages.po | 5 +-
superset/translations/zh/LC_MESSAGES/messages.po | 5 +-
.../translations/zh_TW/LC_MESSAGES/messages.po | 5 +-
tests/unit_tests/canvas/placement_data_test.py | 191 +++++++++++++++++++++
.../mcp_service/canvas/tool/test_canvas_tools.py | 32 +++-
.../mcp_service/native_tool_inventory.json | 18 +-
51 files changed, 1251 insertions(+), 290 deletions(-)
copy superset-frontend/src/{dashboard/components/nativeFilters/FilterBar/FilterControls/FilterControlShared.test.tsx => features/canvas/WithQuery.test.tsx} (54%)
create mode 100644 superset-frontend/src/features/canvas/WithQuery.tsx
create mode 100644 superset/canvas/data.py
create mode 100644 superset/commands/canvas/placement_data.py
create mode 100644 tests/unit_tests/canvas/placement_data_test.py