This is an automated email from the ASF dual-hosted git repository.
msyavuz pushed a change to branch msyavuz/feat/dashboard-v2-embedding
in repository https://gitbox.apache.org/repos/asf/superset.git
from d502195445e fix(dashboard-v2): keep the widgets example app out of the
root tsc program
add 6e990238027 fix(dashboard-v2): report a bad widget query as 400, and
unhardcode the example
add 888263bc1fc fix(dashboard-v2): drive the example's ad hoc aggregate
from config too
add 71be990689d fix: widgets
No new revisions were added by this update.
Summary of changes:
.../packages/superset-widgets/example/.env.example | 27 ++++-
.../packages/superset-widgets/example/README.md | 15 ++-
.../packages/superset-widgets/example/src/App.tsx | 87 ++++++++++----
.../superset-widgets/example/src/Gallery.tsx | 126 +++++++++++---------
.../superset-widgets/example/src/MinimalEmbed.tsx | 16 +--
.../superset-widgets/example/src/config.ts | 132 +++++++++++++++++++++
.../packages/superset-widgets/example/src/main.tsx | 15 ++-
.../superset-widgets/src/embed/extensionHost.tsx | 44 ++++---
.../superset-widgets/src/embed/extensionLoader.ts | 10 +-
.../src/core/dashboard/WidgetView.tsx | 14 ++-
.../src/core/dashboard/resolveWidgetView.ts | 16 ++-
superset/commands/widget/data.py | 7 ++
superset/widgets/builtin.py | 92 ++------------
superset/widgets/controls.py | 112 +----------------
tests/unit_tests/widgets/test_builtin.py | 77 +-----------
tests/unit_tests/widgets/test_registry.py | 55 +++------
.../widgets/test_saved_widget_commands.py | 7 ++
tests/unit_tests/widgets/test_schema_tools.py | 40 +++----
18 files changed, 430 insertions(+), 462 deletions(-)