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

   ### SUMMARY
   Picking up #38069 from a fresh branch (thanks @martyngigg for the original 
work). Most of that PR already landed on master via other PRs, so what was left 
is small. `exploreChart` hands `getExploreUrl`'s absolute URL to `postForm` as 
an endpoint, so the SQL Lab CTAS Explore button posts to something like 
`https://host/<root>/https://host/explore/...` when an app root is set.
   
   `postForm` now takes either the existing endpoint string (so positional 
callers, including `DrillDetailPane`, keep working) or a `{ endpoint, url }` 
object where `url` is used as is. `exploreChart` uses the `url` form.
   
   Supersedes #38069.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   N/A
   
   ### TESTING INSTRUCTIONS
   Set `SUPERSET_APP_ROOT=/analytics`, run a SQL Lab query with CTAS and click 
Explore. The posted URL should not contain the host twice. I did not run jest 
or the frontend hooks locally (node_modules lockfile mismatch in my worktree), 
so CI is the first real run.
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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