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 2dc6eed6048 Merge remote-tracking branch 'origin/master' into
msyavuz/feat/canvas
add 69c1fda30cb fix(canvas): draw the new/edited mark as the widget frame
add 05a04722d71 fix(canvas): address layout review findings
add 48d511f691d fix(canvas): address backend review findings
No new revisions were added by this update.
Summary of changes:
.../src/features/canvas/CanvasGrid.test.tsx | 48 ++++++
.../src/features/canvas/CanvasGrid.tsx | 28 ++--
.../src/features/canvas/CanvasGridSurface.test.tsx | 47 +++++-
.../src/features/canvas/CanvasGridSurface.tsx | 27 +++-
.../src/features/canvas/resolveGrid.test.ts | 28 +++-
.../src/features/canvas/resolveGrid.ts | 32 +++-
.../src/features/canvas/useCanvasLayout.test.ts | 128 +++++++++++++++-
.../src/features/canvas/useCanvasLayout.ts | 147 +++++++++++-------
superset/canvas/api.py | 6 +-
superset/canvas/definition/ops.py | 70 ++++++++-
superset/commands/canvas/apply_ops.py | 85 ++++++++++-
superset/commands/canvas/create.py | 62 +++++---
superset/commands/canvas/draft.py | 46 ++++++
superset/commands/canvas/update.py | 3 +-
superset/commands/widget/create.py | 12 ++
superset/commands/widget/update.py | 17 +++
superset/daos/canvas.py | 19 ++-
.../mcp_service/canvas/tool/canvas_ops_common.py | 49 ++++++
.../mcp_service/canvas/tool/get_canvas_data.py | 8 +-
superset/mcp_service/canvas/tool/preview_widget.py | 28 +---
...2-00_e18dda53ce53_canvas_widgets_as_entities.py | 50 ++++++-
superset/widgets/builtin.py | 29 +++-
tests/unit_tests/canvas/commands_test.py | 19 +++
tests/unit_tests/canvas/draft_test.py | 8 +-
tests/unit_tests/canvas/filters_test.py | 104 +++++++++++++
tests/unit_tests/canvas/ops_test.py | 53 +++++++
tests/unit_tests/canvas/placement_data_test.py | 39 +++++
tests/unit_tests/canvas/widget_entities_test.py | 153 ++++++++++++++++++-
.../canvas/tool/test_canvas_contract.py | 4 +-
.../mcp_service/canvas/tool/test_canvas_tools.py | 47 +++++-
.../canvas/tool/test_canvas_tools_db.py | 165 +++++++++++++++++++++
.../canvas/tool/test_get_canvas_data.py | 22 ++-
.../tool/test_preview_widget_query_errors.py | 9 +-
.../mcp_service/widgets/tool/test_widget_tools.py | 2 +-
tests/unit_tests/widgets/commands_test.py | 48 ++++++
tests/unit_tests/widgets/database_resolver_test.py | 100 +++++++++++++
tests/unit_tests/widgets/test_api.py | 2 +-
tests/unit_tests/widgets/test_builtin.py | 56 +++++--
38 files changed, 1621 insertions(+), 179 deletions(-)
create mode 100644
tests/unit_tests/mcp_service/canvas/tool/test_canvas_tools_db.py
create mode 100644 tests/unit_tests/widgets/database_resolver_test.py