This is an automated email from the ASF dual-hosted git repository.
kgabryje pushed a change to branch what-if
in repository https://gitbox.apache.org/repos/asf/superset.git
from 45f1982407 Smol layout fixes
new 106baa67e5 Saving simulations
new d37f73490d Load simulations from url and whatif management page
new 5881b60492 Fix mixed timeseries second query
new 2ae11fc2b8 Verbose col names
new 7e802ef7b9 New rainbow colors
new 4eb5ab4641 New harry potter background colors
new 8d40dbd422 better chart loading state
new 592969820f verbose col name in banner
The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../src/components/Icons/AntdEnhanced.tsx | 2 +
superset-frontend/src/components/Chart/Chart.tsx | 5 +-
.../DashboardBuilder/DashboardBuilder.tsx | 29 +-
.../dashboard/components/WhatIfBanner/index.tsx | 14 +-
.../WhatIfDrawer/HarryPotterWandLoader.tsx | 12 +-
.../WhatIfDrawer/ModificationsDisplay.tsx | 5 +-
.../WhatIfDrawer/SaveSimulationModal.tsx | 170 +++++++
.../components/WhatIfDrawer/WhatIfAIInsights.tsx | 17 +
.../components/WhatIfDrawer/WhatIfHeaderMenu.tsx | 233 +++++++++
.../dashboard/components/WhatIfDrawer/index.tsx | 219 +++++++-
.../dashboard/components/WhatIfDrawer/styles.ts | 13 +-
.../src/dashboard/components/WhatIfDrawer/types.ts | 2 +
.../components/WhatIfDrawer/useWhatIfApply.ts | 119 ++++-
.../components/WhatIfDrawer/useWhatIfFilters.ts | 2 +
.../dashboard/components/WhatIfDrawer/whatIfApi.ts | 189 +++++++
.../util/charts/getFormDataWithExtraFilters.ts | 41 +-
.../src/dashboard/util/useWhatIfHighlightStyles.ts | 50 +-
superset-frontend/src/dashboard/util/whatIf.ts | 129 +++--
.../WhatIfSimulationList/EditSimulationModal.tsx | 390 +++++++++++++++
.../src/pages/WhatIfSimulationList/index.tsx | 549 +++++++++++++++++++++
superset-frontend/src/views/routes.tsx | 11 +
superset/daos/what_if_simulation.py | 106 ++++
superset/initialization/__init__.py | 11 +
..._10-00_b8f3a2c9d1e5_add_what_if_simulations.py} | 75 ++-
superset/views/{roles.py => what_if.py} | 13 +-
superset/what_if/api.py | 288 ++++++++++-
superset/what_if/commands/interpret.py | 2 +-
.../commands/simulation_create.py} | 38 +-
superset/what_if/commands/simulation_delete.py | 60 +++
superset/what_if/commands/simulation_update.py | 82 +++
superset/what_if/commands/suggest_related.py | 2 +-
superset/what_if/exceptions.py | 62 +++
superset/what_if/models.py | 85 ++++
superset/what_if/schemas.py | 79 +++
34 files changed, 2933 insertions(+), 171 deletions(-)
create mode 100644
superset-frontend/src/dashboard/components/WhatIfDrawer/SaveSimulationModal.tsx
create mode 100644
superset-frontend/src/dashboard/components/WhatIfDrawer/WhatIfHeaderMenu.tsx
create mode 100644
superset-frontend/src/pages/WhatIfSimulationList/EditSimulationModal.tsx
create mode 100644 superset-frontend/src/pages/WhatIfSimulationList/index.tsx
create mode 100644 superset/daos/what_if_simulation.py
copy superset/migrations/versions/{2025-07-15_16-40_3fd555e76e3d_theme_crud.py
=> 2025-12-19_10-00_b8f3a2c9d1e5_add_what_if_simulations.py} (51%)
copy superset/views/{roles.py => what_if.py} (79%)
copy superset/{commands/annotation_layer/create.py =>
what_if/commands/simulation_create.py} (55%)
create mode 100644 superset/what_if/commands/simulation_delete.py
create mode 100644 superset/what_if/commands/simulation_update.py
create mode 100644 superset/what_if/models.py