You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by va...@apache.org on 2025/07/29 03:54:08 UTC

(superset) branch feat/d2d-in-embedded updated (5382fd696c -> 6edf7e43e9)

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

vavila pushed a change to branch feat/d2d-in-embedded
in repository https://gitbox.apache.org/repos/asf/superset.git


 discard 5382fd696c feat: Enable drilling in embedded
     add c25b4221f8 fix(npm): more reliable execution of `npm run update-maps` (#34305)
     add 8783579aa8 fix(cartodiagram): add missing locales for rendering echarts (#34268)
     add 5f11f9097a fix: Charts list is displaying empty dataset names when there's no schema (#34315)
     add e741a3167f feat: add a theme CRUD page to manage themes (#34182)
     add 1be2287b3a feat(timeseries): enhance 'Series Limit' to support grouping the long tail (#34308)
     add c49789167b style(chart): restyle table pagination (#34311)
     add 1a4e2173f5 fix(NavBar): Add brand text back (#34318)
     add 913e068113 style(FastVizSwitcher): Adjust padding for FastVizSwitcher selector (#34317)
     add 604d72cc98 feat: introducing a docker-compose-light.yml for lighter development (#34324)
     add 22b3cc0480 chore: bump BigQuery dialect to 1.15.0 (#34371)
     add dc0c389488 docs(development): fix 2 typos in the dockerfile (#34341)
     add f554848c9f fix(PivotTable): Render html in cells if allowRenderHtml is true (#34351)
     add ff76ab647f build(deps): update `ag-grid` to non-breaking major v34 (#34326)
     add bb572983cd feat(theming): Align embedded sdk with theme configs (#34273)
     add 914ce9aa4f feat: read column metadata (#34359)
     add 122bb68e5a fix: subquery alias in RLS (#34374)
     add 428843b6b7 feat: Enable drilling in embedded
     add 6edf7e43e9 Addressing PR feedback and removing FF

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (5382fd696c)
            \
             N -- N -- N   refs/heads/feat/d2d-in-embedded (6edf7e43e9)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

No new revisions were added by this update.

Summary of changes:
 .pre-commit-config.yaml                            |   4 +-
 Dockerfile                                         |   2 +-
 LLMS.md                                            |  45 +-
 UPDATING.md                                        |   1 +
 docker-compose-image-tag.yml                       |   3 +
 docker-compose-light.yml                           | 157 ++++++
 docker-compose-non-dev.yml                         |   3 +
 docker-compose.yml                                 |   3 +
 docker/.env                                        |   6 +-
 docker/pythonpath_dev/.gitignore                   |   1 +
 docker/pythonpath_dev/superset_config.py           |   2 +-
 .../pythonpath_dev/superset_config_docker_light.py |  37 +-
 docs/docs/configuration/theming.mdx                |  89 +++-
 docs/docs/installation/docker-compose.mdx          |  34 +-
 docs/package.json                                  |   3 +-
 pyproject.toml                                     |   2 +-
 requirements/development.txt                       |   2 +-
 superset-frontend/package-lock.json                |  34 +-
 superset-frontend/package.json                     |   8 +-
 .../src/sections/echartsTimeSeriesQuery.tsx        |   2 +-
 .../src/shared-controls/sharedControls.tsx         |  14 +
 .../src/components/AsyncAceEditor/index.tsx        |   7 +-
 .../AsyncAceEditor/useJsonValidation.test.ts       |  75 +++
 .../components/AsyncAceEditor/useJsonValidation.ts |  82 ++++
 .../src/components/CodeSyntaxHighlighter/index.tsx |  11 +-
 .../src/components/Icons/BaseIcon.tsx              |   8 +-
 .../src/components/InfoTooltip/index.tsx           |   4 +-
 .../src/components/Label/index.tsx                 |   4 +-
 .../TelemetryPixel/TelemetryPixel.test.tsx         |   2 +-
 .../src/components/TelemetryPixel/index.tsx        |   3 +-
 .../src/components/ThemeEditor/index.tsx           | 150 ------
 .../src/components/ThemeSelect/index.tsx           |  79 ---
 .../components/ThemeSubMenu/ThemeSubMenu.test.tsx  | 273 +++++++++++
 .../src/components/ThemeSubMenu/index.tsx          | 170 +++++++
 .../superset-ui-core/src/components/index.ts       |   2 +
 .../superset-ui-core/src/query/buildQueryObject.ts |   2 +
 .../superset-ui-core/src/theme/Theme.test.tsx      |  18 -
 .../packages/superset-ui-core/src/theme/Theme.tsx  |  70 +--
 .../packages/superset-ui-core/src/theme/index.tsx  |  17 +-
 .../packages/superset-ui-core/src/theme/types.ts   |  22 +
 .../src/theme/utils/themeUtils.test.ts             | 134 ++++++
 .../superset-ui-core/src/theme/utils/themeUtils.ts | 113 +++++
 .../superset-ui-core/src/utils/featureFlags.ts     |   4 +-
 .../scripts/Country Map GeoJSON Generator.ipynb    | Bin 11105571 -> 2319015 bytes
 .../plugin-chart-ag-grid-table/package.json        |   4 +-
 .../plugins/plugin-chart-cartodiagram/package.json |   2 +
 .../src/components/ChartLayer.tsx                  |   8 +
 .../src/components/ChartWrapper.tsx                |  21 +-
 .../src/components/OlChartMap.tsx                  |   5 +
 .../plugins/plugin-chart-cartodiagram/src/types.ts |   2 +
 .../src/util/chartUtil.tsx                         |   2 +
 .../test/components/chartLayer.test.ts             |   2 +
 .../src/BigNumber/BigNumberViz.tsx                 | 382 +++++++--------
 .../src/Sankey/transformProps.ts                   |   4 +-
 .../src/Tree/transformProps.ts                     |   4 +-
 .../plugin-chart-echarts/src/components/Echart.tsx |  85 ++--
 .../test/MixedTimeseries/buildQuery.test.ts        |   2 +
 .../src/react-pivottable/TableRenderers.jsx        |  14 +-
 .../plugins/plugin-chart-table/src/Styles.tsx      |   9 +-
 .../Chart/ChartContextMenu/ChartContextMenu.tsx    |   9 +-
 .../Chart/DrillDetail/DrillDetailModal.tsx         |  29 +-
 .../Chart/DrillDetail/DrillDetailPane.tsx          |   6 +
 .../src/components/Chart/chartAction.js            |   5 +
 .../src/components/CrudThemeProvider.tsx           |  76 +++
 .../components/ErrorMessage/BasicErrorAlert.tsx    |   9 +-
 .../src/components/ListView/Filters/Search.tsx     |   8 +-
 superset-frontend/src/components/Tag/index.tsx     |   3 +-
 .../src/dashboard/actions/dashboardInfo.ts         |  46 ++
 .../components/CssEditor/CssEditor.test.tsx        |  38 +-
 .../src/dashboard/components/CssEditor/index.tsx   | 224 +++++++--
 .../DashboardBuilder/DashboardBuilder.test.tsx     |   1 +
 .../dashboard/components/Header/Header.test.tsx    |   6 +-
 .../src/dashboard/components/Header/types.ts       |   4 +
 .../Header/useHeaderActionsDropdownMenu.tsx        |  18 +-
 .../dashboard/components/PropertiesModal/index.tsx |  10 +-
 .../components/RefreshIntervalModal.test.tsx       |  14 +-
 .../src/dashboard/components/SaveModal.tsx         | 280 +++++------
 .../dashboard/components/gridComponents/Tabs.jsx   |   1 -
 .../src/dashboard/containers/DashboardPage.tsx     |  29 +-
 .../src/dashboard/reducers/dashboardInfo.js        |   7 +
 superset-frontend/src/dashboard/types.ts           |   6 +
 .../EmbeddedContextProviders.tsx}                  |  36 +-
 superset-frontend/src/embedded/index.tsx           |  40 +-
 .../src/explore/components/SaveModal.tsx           |   7 +-
 .../controls/VizTypeControl/FastVizSwitcher.tsx    |  13 +-
 .../components/controls/VizTypeControl/VizTile.tsx |   3 +-
 .../src/explore/controlPanels/sections.tsx         |   3 +-
 .../src/features/annotations/AnnotationModal.tsx   |  10 +-
 .../databases/DatabaseModal/ExtraOptions.tsx       |  29 ++
 .../databases/DatabaseModal/SSHTunnelForm.tsx      |   2 +-
 .../src/features/databases/DatabaseModal/styles.ts |   3 +-
 .../UploadDataModel/UploadDataModal.test.tsx       |  28 +-
 superset-frontend/src/features/home/Menu.test.tsx  |  39 ++
 superset-frontend/src/features/home/Menu.tsx       |   9 +-
 superset-frontend/src/features/home/RightMenu.tsx  |  46 +-
 .../src/features/themes/ThemeModal.test.tsx        | 286 +++++++++++
 .../src/features/themes/ThemeModal.tsx             | 414 ++++++++++++++++
 .../src/features/{cssTemplates => themes}/types.ts |   8 +-
 .../src/pages/ChartList/ChartList.test.jsx         |  90 ++++
 superset-frontend/src/pages/ChartList/index.tsx    |   5 +-
 .../src/pages/ThemeList/ThemeList.test.tsx         | 201 ++++++++
 superset-frontend/src/pages/ThemeList/index.tsx    | 524 ++++++++++++++++++++
 superset-frontend/src/theme/ThemeController.ts     | 332 +++++++++++--
 superset-frontend/src/theme/ThemeProvider.tsx      |  74 ++-
 .../src/theme/tests/ThemeController.test.ts        | 309 +++++++++++-
 .../src/theme/tests/ThemeProvider.test.tsx         |   3 +-
 superset-frontend/src/types/Dashboard.ts           |   5 +
 superset-frontend/src/types/bootstrapTypes.ts      |  18 +-
 superset-frontend/src/views/CRUD/types.ts          |   3 +-
 superset-frontend/src/views/routes.tsx             |   8 +
 superset-frontend/webpack.config.js                |   6 +
 superset/charts/schemas.py                         |   8 +
 .../theme}/__init__.py                             |   0
 superset/commands/theme/delete.py                  | 116 +++++
 .../commands/{security => theme}/exceptions.py     |  18 +-
 superset/commands/theme/export.py                  |  75 +++
 superset/commands/theme/import_themes.py           |  85 ++++
 .../theme/importers}/__init__.py                   |   0
 .../{chart => theme}/importers/dispatcher.py       |  11 +-
 superset/commands/theme/seed.py                    | 108 +++++
 .../ssh_tunnel/delete.py => theme/update.py}       |  42 +-
 superset/common/query_object.py                    |   3 +
 superset/config.py                                 |  43 +-
 superset/connectors/sqla/models.py                 |   6 +
 superset/daos/{security.py => theme.py}            |  14 +-
 superset/dashboards/api.py                         |   1 +
 superset/dashboards/schemas.py                     |  13 +
 superset/datasets/api.py                           |  55 ++-
 superset/initialization/__init__.py                |  22 +
 ...=> 2025-07-15_16-40_3fd555e76e3d_theme_crud.py} |  66 ++-
 ...d1fb11291f2_add_theme_id_to_dashboard_model.py} |  42 +-
 superset/models/core.py                            |  12 +
 superset/models/dashboard.py                       |   3 +
 superset/models/helpers.py                         | 123 ++++-
 superset/security/manager.py                       |  23 +-
 superset/sql/parse.py                              |  17 +-
 superset/themes/api.py                             | 534 +++++++++++++++++++++
 superset/{css_templates => themes}/filters.py      |  10 +-
 superset/themes/schemas.py                         |  88 ++++
 superset/views/base.py                             |  19 +-
 superset/views/datasource/schemas.py               |   1 +
 superset/views/datasource/views.py                 |  28 +-
 superset/views/{css_templates.py => themes.py}     |   7 +-
 tests/integration_tests/base_tests.py              |  32 +-
 tests/integration_tests/charts/data/api_tests.py   |  40 +-
 tests/integration_tests/dashboards/api_tests.py    |  33 +-
 .../integration_tests/dashboards/commands_tests.py |   4 +-
 .../dashboards/test_theme_integration.py           | 361 ++++++++++++++
 tests/integration_tests/datasets/api_tests.py      | 394 +++++++++------
 tests/integration_tests/datasource_tests.py        |  58 ++-
 .../integration_tests/themes}/__init__.py          |   0
 .../integration_tests/themes/api_endpoints_test.py | 322 +++++++++++++
 tests/integration_tests/themes/api_tests.py        | 398 +++++++++++++++
 tests/unit_tests/connectors/sqla/models_test.py    | 318 ++++++++++++
 tests/unit_tests/models/helpers_test.py            | 150 ++++++
 tests/unit_tests/queries/query_object_test.py      |   1 +
 tests/unit_tests/sql/parse_tests.py                |  28 +-
 tests/unit_tests/sql_lab_test.py                   |   4 +-
 .../unit_tests/themes}/__init__.py                 |   0
 tests/unit_tests/themes/api_test.py                | 119 +++++
 tests/unit_tests/themes/commands_test.py           | 229 +++++++++
 tests/unit_tests/themes/dao_test.py                |  56 +++
 tests/unit_tests/themes/model_test.py              |  53 ++
 tests/unit_tests/themes/test_utils.py              |   1 +
 164 files changed, 8399 insertions(+), 1426 deletions(-)
 create mode 100644 docker-compose-light.yml
 copy superset/migrations/versions/2020-08-08_18-10_f2672aa8350a_add_slack_to_alerts.py => docker/pythonpath_dev/superset_config_docker_light.py (53%)
 create mode 100644 superset-frontend/packages/superset-ui-core/src/components/AsyncAceEditor/useJsonValidation.test.ts
 create mode 100644 superset-frontend/packages/superset-ui-core/src/components/AsyncAceEditor/useJsonValidation.ts
 delete mode 100644 superset-frontend/packages/superset-ui-core/src/components/ThemeEditor/index.tsx
 delete mode 100644 superset-frontend/packages/superset-ui-core/src/components/ThemeSelect/index.tsx
 create mode 100644 superset-frontend/packages/superset-ui-core/src/components/ThemeSubMenu/ThemeSubMenu.test.tsx
 create mode 100644 superset-frontend/packages/superset-ui-core/src/components/ThemeSubMenu/index.tsx
 create mode 100644 superset-frontend/packages/superset-ui-core/src/theme/utils/themeUtils.test.ts
 create mode 100644 superset-frontend/packages/superset-ui-core/src/theme/utils/themeUtils.ts
 create mode 100644 superset-frontend/src/components/CrudThemeProvider.tsx
 copy superset-frontend/src/{views/RootContextProviders.tsx => embedded/EmbeddedContextProviders.tsx} (75%)
 create mode 100644 superset-frontend/src/features/themes/ThemeModal.test.tsx
 create mode 100644 superset-frontend/src/features/themes/ThemeModal.tsx
 copy superset-frontend/src/features/{cssTemplates => themes}/types.ts (89%)
 create mode 100644 superset-frontend/src/pages/ThemeList/ThemeList.test.tsx
 create mode 100644 superset-frontend/src/pages/ThemeList/index.tsx
 copy superset/{advanced_data_type => commands/theme}/__init__.py (100%)
 create mode 100644 superset/commands/theme/delete.py
 copy superset/commands/{security => theme}/exceptions.py (71%)
 create mode 100644 superset/commands/theme/export.py
 create mode 100644 superset/commands/theme/import_themes.py
 copy superset/{advanced_data_type => commands/theme/importers}/__init__.py (100%)
 copy superset/commands/{chart => theme}/importers/dispatcher.py (90%)
 create mode 100644 superset/commands/theme/seed.py
 copy superset/commands/{database/ssh_tunnel/delete.py => theme/update.py} (54%)
 copy superset/daos/{security.py => theme.py} (69%)
 copy superset/migrations/versions/{2022-03-04_09-59_6766938c6065_add_key_value_store.py => 2025-07-15_16-40_3fd555e76e3d_theme_crud.py} (54%)
 copy superset/migrations/versions/{2024-05-01_10-52_58d051681a3b_add_catalog_perm_to_tables.py => 2025-07-15_18-41_cd1fb11291f2_add_theme_id_to_dashboard_model.py} (55%)
 create mode 100644 superset/themes/api.py
 copy superset/{css_templates => themes}/filters.py (80%)
 create mode 100644 superset/themes/schemas.py
 copy superset/views/{css_templates.py => themes.py} (89%)
 create mode 100644 tests/integration_tests/dashboards/test_theme_integration.py
 copy {superset/advanced_data_type => tests/integration_tests/themes}/__init__.py (100%)
 create mode 100644 tests/integration_tests/themes/api_endpoints_test.py
 create mode 100644 tests/integration_tests/themes/api_tests.py
 copy {superset/advanced_data_type => tests/unit_tests/themes}/__init__.py (100%)
 create mode 100644 tests/unit_tests/themes/api_test.py
 create mode 100644 tests/unit_tests/themes/commands_test.py
 create mode 100644 tests/unit_tests/themes/dao_test.py
 create mode 100644 tests/unit_tests/themes/model_test.py