innovark37 opened a new pull request, #37360: URL: https://github.com/apache/superset/pull/37360
### SUMMARY This PR provides plugin developers with the ability to construct fully-qualified Superset endpoint URLs, including the application root prefix, regardless of deployment configuration. #### The Core Problem External plugins lack access to Superset's deployment context and cannot reliably construct endpoint URLs. When Superset is deployed at a non-root path (e.g., /superset, /analytics, custom prefix), plugins have no way to know this prefix and thus cannot create correct URLs. #### Solution Expose a `getUrl()` method via `SupersetClient` (already available through `@superset-ui/core`) that resolves paths with the correct application context. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF ### TESTING INSTRUCTIONS ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [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]
