feat(api): specify query parameters for the embedded chart or dashboard
SUMMARY
Add support for specifying query parameters to append to embedded charts or dashboards.
Motivation: we are trying to embed parameterized dashboards and would like to specify the parameters in the embedDashboard object.
TESTING INSTRUCTIONS
I couldn't find existing tests. We've tested the general approach by adding the parameters to the end of the iframe.src, and it seems to work. I'd be happy to add tests if I can find out where to add them.
ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in SIP-59)
- [ ] Migration is atomic, supports rollback & is backwards-compatible
- [ ] Confirm DB migration upgrade and downgrade tested
- [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
What's the status of this PR? I'm interested in this feature
Thanks for the PR I need this feature to disable expand filters in the dashboard. Any ETA for this feature?
May I know the ETA for this feature?
This PR seems to be stale (is in a conflicted state + review comment hasn't been responded to), but there is another one that should cover this use case: #23344 Does this PR address your needs @VinayGoudCheguri ? Please chime in on that PR.
Since this thread seems to have gone silent, I'll just close this in favor of https://github.com/apache/superset/pull/23344
Please feel free to re-open if you want to get this across the finish line. Thanks for the contribution!