This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch feat-dashboard-gallery
in repository https://gitbox.apache.org/repos/asf/superset.git
from c7fc22e7e3 feat(dashboard): add dashboard templates gallery
add 70a3f6f282 feature: Make templates non-editable
No new revisions were added by this update.
Summary of changes:
.../Datasource/DatasourceModal/index.tsx | 26 ++-
superset-frontend/src/dashboard/actions/hydrate.js | 3 +-
.../DashboardBuilder/DashboardBuilder.tsx | 46 +++-
.../src/dashboard/components/Header/index.jsx | 9 +-
.../components/SliceHeaderControls/index.tsx | 7 +-
.../components/TemplatePreviewHeader/index.tsx | 127 +++++++++++
.../FilterBar/FilterBarSettings/index.tsx | 5 +-
.../{util/charts/useChartIds.ts => selectors.ts} | 9 +-
.../components/ExploreChartHeader/index.jsx | 66 +++---
.../useExploreAdditionalActionsMenu/index.jsx | 11 +-
superset-frontend/src/features/datasets/types.ts | 1 +
.../DashboardTemplateGallery.tsx | 245 +++++++++++++--------
.../DashboardTemplates/DashboardTemplateTile.tsx | 104 +++++----
.../src/pages/DashboardTemplates/index.tsx | 69 ++++--
superset-frontend/src/pages/DatasetList/index.tsx | 45 +++-
superset-frontend/src/types/Chart.ts | 1 +
superset-frontend/src/views/routes.tsx | 2 +-
superset/charts/schemas.py | 5 +
superset/commands/chart/delete.py | 7 +
superset/commands/chart/exceptions.py | 8 +
superset/commands/chart/update.py | 5 +
superset/commands/dashboard/delete.py | 7 +
superset/commands/dashboard/exceptions.py | 8 +
.../commands/dashboard/importers/v1/__init__.py | 12 +
superset/commands/dashboard/update.py | 6 +
superset/commands/dataset/delete.py | 7 +
superset/commands/dataset/exceptions.py | 8 +
superset/commands/dataset/update.py | 5 +
superset/connectors/sqla/models.py | 1 +
superset/daos/dashboard.py | 20 +-
superset/dashboards/api.py | 1 +
superset/datasets/api.py | 2 +
...aca38be72f2_add_is_template_chart_to_slices.py} | 40 +++-
superset/models/slice.py | 1 +
superset/security/manager.py | 64 +++++-
superset/views/dashboard/views.py | 6 +
36 files changed, 756 insertions(+), 233 deletions(-)
create mode 100644
superset-frontend/src/dashboard/components/TemplatePreviewHeader/index.tsx
copy superset-frontend/src/dashboard/{util/charts/useChartIds.ts =>
selectors.ts} (77%)
copy
superset/migrations/versions/{2021-11-03_14-07_f9847149153d_add_certifications_columns_to_slice.py
=> 2025-12-16_12-00_aaca38be72f2_add_is_template_chart_to_slices.py} (54%)