You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by en...@apache.org on 2026/06/08 14:26:21 UTC
(superset) branch enxdev/feat/chatbot-context-sharing updated (2ba502f0e73 -> a6489753460)
This is an automated email from the ASF dual-hosted git repository.
EnxDev pushed a change to branch enxdev/feat/chatbot-context-sharing
in repository https://gitbox.apache.org/repos/asf/superset.git
discard 2ba502f0e73 fix(extensions): complete and harden the context namespaces
discard 70cd44be3b9 feat(extensions): refine page-context surface taxonomy for chatbot
discard 5956c84a711 fix(extensions): enforce CSRF protection on ExtensionsRestApi
discard 8723e792330 fix: lint
discard 456415a48c2 style(extensions): sort imports in models/__init__.py
discard 529c3d1bf12 test(extensions): register settings route via ENABLE_EXTENSIONS flag
discard 38f9009f0bf feat(extensions): restore dataset context namespace with a real producer
discard 80ab0b3112f fix(extensions): update stale comment + fix ExtensionsStartup test router
discard c6c66746c39 fix(extensions): fully remove dataset namespace — SDK contract and orphaned host impl
discard 9aa6788a366 fix(extensions): move mockState declaration before jest.mock to satisfy no-use-before-define
discard 71f47dd85ff fix(extensions): address context-sharing PR review — blockers, quality, and tests
discard 38988690ca6 fix(extensions): gate explore/dashboard context on current page type to prevent stale returns
discard 2d345cd1cb6 feat(extensions): context sharing namespaces (navigation, explore, dashboard, dataset)
discard 6671d835dcc feat(extensions): backend settings persistence and admin-only permissions
discard 82a6234901c fix(extensions): chain extension-settings migration onto current head
discard b8692924bbc fix(extensions): dialect-safe settings persistence; drop command/DAO layer
discard 432f18801c8 fix(extensions): use native MySQL upsert in ExtensionSettingsDAO
discard 2634ad057ad refactor(extensions): route settings persistence through Command + DAO
discard eae5bb80a33 fix(extensions): register extension models in central metadata
discard 531ec8c7db2 fix(extensions): point migration at current head (ce6bd21901ab)
discard a2842aedc84 feat(extensions): add settings pub/sub and settings unit tests
discard becad8b6d5f fix(extensions): update settings.py import to superset.extensions.models
discard e0d1a2321b1 fix(extensions): move models to extensions/models.py; fix migration server_default
discard 8a1e1d9ab56 feat(extensions): backend settings persistence and admin-only permissions
discard 18dcf43796d fix(extensions): migrate ExtensionsList to subscribeToRegistry
discard 2aab126c737 refactor(extensions): consolidate Switch and Select into single import
discard 359aeebc3fe test(chatbot): cover admin-pin, enabled-filter, and stale-pin fallback paths
discard 85ff7d19ede fix(extensions): rollback on PUT failure; drop stale setSettings in .then()
discard 52b205d827b fix(extensions): eliminate settings save race condition with ref-based snapshot
discard 71e04bec8bc feat(extensions): admin configuration UI for extensions
discard 54e381c0b4b fix(extensions): remove forward-dependencies on later stack branches
discard 5e6136c041f fix(extensions): track async registrations via activate(context)
discard d23b0bed726 fix(extensions): guard malformed settings response; test provider-throw isolation
discard 50cfc3ca607 fix(extensions): revert loading gate; render immediately, fall back on error
discard cf8e46b2f0c refactor(extensions): replace per-location pub/sub with registry-wide version counter + useSyncExternalStore
discard c25f67a3bd1 fix(extensions): intercept all namespace registrations for deactivation cleanup; gate ChatbotMount on feature flag
discard f009922bfc8 feat(extensions): eager-load extensions at app-shell startup
discard 914f7cd25e2 fix(extensions): defer admin-settings fetch in ChatbotMount to step 5
discard 05f83cbd257 feat(extensions): define the chatbot entry point in the frontend API
add 6b88d46104d refactor(extensions): drop the unused ChatbotView type alias
add 107dd4c7c58 feat(extensions): define the chatbot entry point in the frontend API
add 6c61cca3bee fix(extensions): defer admin-settings fetch in ChatbotMount to step 5
add 772335bcb77 feat(extensions): eager-load extensions at app-shell startup
add a9b88e0a2c2 fix(extensions): intercept all namespace registrations for deactivation cleanup; gate ChatbotMount on feature flag
add 459a1eb1e97 refactor(extensions): replace per-location pub/sub with registry-wide version counter + useSyncExternalStore
add a3b36ffeb89 fix(extensions): revert loading gate; render immediately, fall back on error
add 4dfec8924b1 fix(extensions): guard malformed settings response; test provider-throw isolation
add f13bd32131a fix(extensions): track async registrations via activate(context)
add 6baa6ce01fc fix(extensions): remove forward-dependencies on later stack branches
add 9004526cfd2 feat(extensions): admin configuration UI for extensions
add 10a5cbcc9e9 fix(extensions): eliminate settings save race condition with ref-based snapshot
add f7a438a323b fix(extensions): rollback on PUT failure; drop stale setSettings in .then()
add 204f13c391b test(chatbot): cover admin-pin, enabled-filter, and stale-pin fallback paths
add e5436a4e4c8 refactor(extensions): consolidate Switch and Select into single import
add 9fb3995feff fix(extensions): migrate ExtensionsList to subscribeToRegistry
add 6fa45f58267 feat(extensions): backend settings persistence and admin-only permissions
add 6e3964fdcc6 fix(extensions): move models to extensions/models.py; fix migration server_default
add 6d2e0a8cd1d fix(extensions): update settings.py import to superset.extensions.models
add 963e12d5203 feat(extensions): add settings pub/sub and settings unit tests
add 16317284c62 fix(extensions): point migration at current head (ce6bd21901ab)
add f1ab2871f09 fix(extensions): register extension models in central metadata
add e48dcd14924 refactor(extensions): route settings persistence through Command + DAO
add dd943593c27 fix(extensions): use native MySQL upsert in ExtensionSettingsDAO
add 6c8c351fc64 fix(extensions): dialect-safe settings persistence; drop command/DAO layer
add 6c6812b7fc1 fix(extensions): chain extension-settings migration onto current head
add ba62a39f24c fix(extensions): validate settings payload and harden chatbot resolver
add 6de160623dd refactor(extensions): route settings persistence through Command + DAO
add ebdfa92fcf1 test(extensions): register settings route via ENABLE_EXTENSIONS flag
add dd0c454600c style(extensions): sort imports in models/__init__.py
add 72b95151c59 fix: lint
add 1a79516a4bc fix(extensions): enforce CSRF protection on ExtensionsRestApi
add ad11ecb63a6 refactor(extensions): adopt BaseSupersetApi for the extensions REST API
add 9c374437716 feat(extensions): validate PUT /settings via a Marshmallow schema
add f7a07ffc4e8 feat(extensions): backend settings persistence and admin-only permissions
add 9910733d574 feat(extensions): context sharing namespaces (navigation, explore, dashboard, dataset)
add 313381c98ac fix(extensions): gate explore/dashboard context on current page type to prevent stale returns
add 881fa89e945 fix(extensions): address context-sharing PR review — blockers, quality, and tests
add 20d16890468 fix(extensions): move mockState declaration before jest.mock to satisfy no-use-before-define
add 9c5d8cf3b7e fix(extensions): fully remove dataset namespace — SDK contract and orphaned host impl
add 2005f27d044 fix(extensions): update stale comment + fix ExtensionsStartup test router
add 8520045d668 feat(extensions): restore dataset context namespace with a real producer
add 2840a519e1f fix: lint
add 99202acc7c6 feat(extensions): refine page-context surface taxonomy for chatbot
add a6489753460 fix(extensions): complete and harden the context namespaces
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 (2ba502f0e73)
\
N -- N -- N refs/heads/enxdev/feat/chatbot-context-sharing (a6489753460)
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:
.../packages/superset-core/src/views/index.ts | 15 --
superset-frontend/src/core/chatbot/index.test.ts | 31 +++
superset-frontend/src/core/chatbot/index.ts | 19 +-
.../commands/extension}/__init__.py | 0
.../commands/extension/settings}/__init__.py | 0
.../extension/settings}/exceptions.py | 11 +-
.../extension/settings/get.py} | 13 +-
superset/commands/extension/settings/update.py | 68 ++++++
superset/daos/extension.py | 77 ++++++
superset/extensions/api.py | 47 ++--
superset/extensions/models.py | 8 +-
superset/extensions/schemas.py | 44 ++++
superset/extensions/settings.py | 129 ----------
tests/unit_tests/extensions/test_settings.py | 265 ++++++++++++++++-----
14 files changed, 481 insertions(+), 246 deletions(-)
copy {superset-core/src/superset_core/common => superset/commands/extension}/__init__.py (100%)
copy {superset-core/src/superset_core/common => superset/commands/extension/settings}/__init__.py (100%)
copy superset/{tasks => commands/extension/settings}/exceptions.py (72%)
copy superset/{semantic_layers/registry.py => commands/extension/settings/get.py} (72%)
create mode 100644 superset/commands/extension/settings/update.py
create mode 100644 superset/daos/extension.py
create mode 100644 superset/extensions/schemas.py
delete mode 100644 superset/extensions/settings.py