You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2025/07/22 01:21:48 UTC
(superset) branch theme_crud updated (07273ef015 -> 7c78d84608)
This is an automated email from the ASF dual-hosted git repository.
maximebeauchemin pushed a change to branch theme_crud
in repository https://gitbox.apache.org/repos/asf/superset.git
from 07273ef015 address PR comments about using migrations utils
add b55fab9fe2 system themes
add 456d4ec170 rm Basic information
add 42545bdd01 better theme defaults
add ccdc87e216 touchups
add 2ba9f20c1f --reports=no
add 7c78d84608 update tests
No new revisions were added by this update.
Summary of changes:
.gitignore | 1 +
.pre-commit-config.yaml | 4 +-
.../src/features/themes/ThemeModal.tsx | 158 +++++-----
superset-frontend/src/features/themes/types.ts | 2 +
superset-frontend/src/pages/ThemeList/index.tsx | 50 +++-
superset/commands/theme/delete.py | 6 +
superset/commands/theme/exceptions.py | 4 +
superset/commands/theme/seed.py | 77 +++++
superset/commands/theme/{delete.py => update.py} | 34 ++-
superset/config.py | 33 ++-
superset/daos/theme.py | 22 +-
superset/initialization/__init__.py | 8 +
.../2025-07-15_16-40_3fd555e76e3d_theme_crud.py | 1 +
superset/models/core.py | 1 +
superset/themes/api.py | 170 +++++++++++
superset/themes/schemas.py | 22 ++
superset/views/base.py | 21 +-
.../integration_tests/themes/api_endpoints_test.py | 323 +++++++++++++++++++++
tests/unit_tests/themes/api_test.py | 24 ++
tests/unit_tests/themes/commands_test.py | 227 +++++++++++++++
tests/unit_tests/themes/dao_test.py | 143 +++++++++
tests/unit_tests/themes/test_utils.py | 30 ++
22 files changed, 1250 insertions(+), 111 deletions(-)
create mode 100644 superset/commands/theme/seed.py
copy superset/commands/theme/{delete.py => update.py} (60%)
create mode 100644 tests/integration_tests/themes/api_endpoints_test.py
create mode 100644 tests/unit_tests/themes/commands_test.py
create mode 100644 tests/unit_tests/themes/dao_test.py