You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by as...@apache.org on 2026/10/22 09:55:04 UTC

(superset) branch alexandrusoare/feat/canvas-flexible-layout updated (4cfdd1fe1df -> fa5d54be15d)

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

alexandrusoare pushed a change to branch alexandrusoare/feat/canvas-flexible-layout
in repository https://gitbox.apache.org/repos/asf/superset.git


    from 4cfdd1fe1df improving test
     add 0b2ede1e9c2 fix(canvas): grow containers to fit, reject unknown props, name the failing op
     add 5ef382f42ed feat(mcp): tell agents what canvas ops did
     add 7c73b7fdb45 Merge branch 'msyavuz/feat/canvas' of https://github.com/apache/superset into alexandrusoare/feat/canvas-flexible-layout
     add fa5d54be15d addressing the last requirements

No new revisions were added by this update.

Summary of changes:
 superset-core/src/superset_core/widgets/base.py    |  39 +-
 .../src/superset_core/widgets/behavior.py          |   3 +
 .../src/features/canvas/CanvasGrid.test.tsx        |  26 +-
 .../src/features/canvas/CanvasGridSurface.test.tsx | 299 +++++++++++++---
 .../src/features/canvas/CanvasGridSurface.tsx      | 282 ++++++++++-----
 .../src/features/canvas/WithQuery.test.tsx         |  26 ++
 .../src/features/canvas/WithQuery.tsx              |  45 ++-
 .../src/features/canvas/gridGeometry.test.ts       |  96 +++--
 .../src/features/canvas/gridGeometry.ts            |  78 ++--
 .../src/features/canvas/resolveGrid.test.ts        | 106 ++++++
 .../src/features/canvas/resolveGrid.ts             | 139 ++++++++
 superset/canvas/definition/grid_cases.json         | 392 +++++++++++++++++++++
 superset/canvas/definition/ops.py                  |  31 +-
 superset/canvas/definition/validation.py           |  75 +++-
 superset/commands/canvas/apply_ops.py              |   4 +-
 superset/mcp_service/canvas/schemas.py             |  37 +-
 .../canvas/tool/apply_canvas_draft_ops.py          |  35 +-
 .../mcp_service/canvas/tool/commit_canvas_draft.py |   6 +-
 superset/mcp_service/canvas/tool/preview_widget.py |   7 +-
 superset/mcp_service/widgets/schemas.py            |   5 +
 .../mcp_service/widgets/tool/list_widget_types.py  |  19 +-
 superset/translations/messages.pot                 |  20 +-
 superset/widgets/builtin.py                        |   2 +-
 tests/unit_tests/canvas/grid_test.py               |  28 ++
 tests/unit_tests/canvas/ops_test.py                |  67 ++++
 tests/unit_tests/canvas/placement_data_test.py     |   2 +-
 .../mcp_service/canvas/tool/test_canvas_tools.py   | 129 +++++++
 .../mcp_service/native_tool_inventory.json         |  50 +--
 .../mcp_service/widgets/tool/test_widget_tools.py  |   8 +
 tests/unit_tests/widgets/test_registry.py          |  22 ++
 30 files changed, 1754 insertions(+), 324 deletions(-)
 create mode 100644 superset-frontend/src/features/canvas/resolveGrid.test.ts
 create mode 100644 superset-frontend/src/features/canvas/resolveGrid.ts
 create mode 100644 superset/canvas/definition/grid_cases.json