EnxDev opened a new pull request, #40441:
URL: https://github.com/apache/superset/pull/40441

   ### SUMMARY
   
   Adds `ExtensionsStartup` — a wrapper component that initialises the 
extensions host (`window.superset`) and triggers `ExtensionsLoader` on every 
authenticated page load.
   
   **What this introduces:**
   - `ExtensionsStartup` mounts at the app shell root; extensions load in the 
background without blocking render
   - `window.superset` is populated synchronously on first mount with all host 
namespaces (`views`, `navigation`, `dashboard`, etc.)
   - Route changes are forwarded to `notifyPageChange` so the `navigation` 
namespace fires `onDidChangePage`
   - Unhandled rejections from extension code are caught and logged (isolated 
from the host's error boundary)
   
   **Stack:**
   1. [Contribution point](https://github.com/apache/superset/pull/40439)
   2. [Frontend API entry point](https://github.com/apache/superset/pull/40440) 
← merged first
   3. **This PR** — eager loading at startup
   4. Admin configuration UI
   5. Backend settings persistence & permissions
   6. Context sharing namespaces
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   N/A — infrastructure only.
   
   ### TESTING INSTRUCTIONS
   
   1. Add a chatbot extension URL to the extensions config
   2. Reload the app — the chatbot bubble should appear without a full page 
reload or manual trigger
   3. Verify unhandled rejections from extension code do not propagate to the 
host error boundary
   
   ### ADDITIONAL INFORMATION
   
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] 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]

Reply via email to