EnxDev opened a new pull request, #40442: URL: https://github.com/apache/superset/pull/40442
### SUMMARY Adds an Extensions admin page at `/extensions/list` that lets admins enable/disable registered extensions and pin a preferred chatbot when multiple chatbot extensions are registered. **What this introduces:** - `ExtensionsList` — `ListView`-based admin page with an Enabled toggle per extension - Chatbot selector dropdown (visible only when 2+ chatbot extensions are registered) — saves `active_chatbot_id` to the backend - `GET /api/v1/extensions/settings` is fetched on mount; `PUT` is called on every toggle/selection change - `subscribeToLocation(CHATBOT_LOCATION)` keeps the chatbot selector in sync as extensions load asynchronously **Stack:** 1. [Contribution point](https://github.com/apache/superset/pull/40439) 2. [Frontend API entry point](https://github.com/apache/superset/pull/40440) 3. [Eager loading](https://github.com/apache/superset/pull/40441) ← merged first 4. **This PR** — admin configuration UI 5. Backend settings persistence & permissions 6. Context sharing namespaces ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF _Admin → Extensions page with toggle and chatbot selector:_ ``` ┌─────────────────────────────────────────────────────┐ │ Default chatbot: [ My Chatbot Extension ▼ ] │ ├──────────────────────┬──────────────────────────────┤ │ Name │ Enabled │ ├──────────────────────┼──────────────────────────────┤ │ My Chatbot Extension │ ● (on) │ └──────────────────────┴──────────────────────────────┘ ``` ### TESTING INSTRUCTIONS 1. Navigate to Settings → Extensions 2. Toggle an extension's Enabled switch — verify it persists after page reload 3. Register 2 chatbot extensions — verify the "Default chatbot" selector appears 4. Select a chatbot — verify only the selected one renders as the active bubble ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [x] Changes UI - [ ] Includes DB Migration - [x] Introduces new feature or API - [ ] Removes existing feature or API -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
