Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 backported "Dashboard Param Values Common Impl for Embedding/Preview Embedding" #42414

Conversation

metabase-bot[bot]
Copy link
Contributor

@metabase-bot metabase-bot bot commented May 8, 2024

#42052

Important

Manual conflict resolution is required.
Checkout the branch and run ./backport.sh script. Force push your changes after cherry-picking.

@metabase-bot metabase-bot bot added the was-backported apply this to PRs that are themselves backports label May 8, 2024
…42052)

* Dashboard Param Values Common Impl for Embedding/Preview Embedding

Refactor the embedding api namespace to allow a bit of reuse between the embedding api and the embedding preview
api. In some cases, the implementations are not identical (in terms of the shape of data expected/endpoints
available), so this is a first step to making them the same.

Related:

https://www.notion.so/metabase/Make-embedding-preview-behave-consistently-with-actual-static-embeds-855353d8e5e8411d8164c7ac563c7d2f

* Add a test to verify that preview-embed param-values endpoint works

* Use preview embed endpoint and fix relevant tests

* Add tests

* Change name to reflect what actually happens in the function

---------

Co-authored-by: Mahatthana Nomsawadi <mahatthana.n@gmail.com>
@adam-james-v adam-james-v force-pushed the backport-2455537bc1392a9919b520f1a2d0f4b5a600f194 branch from 0851b64 to a22d8c9 Compare May 8, 2024 22:18
@metabase-bot metabase-bot bot requested a review from camsaul as a code owner May 8, 2024 22:18
Copy link

replay-io bot commented May 8, 2024

Status In Progress ↗︎ 51 / 52
Commit a22d8c9
Results
⚠️ 2 Flaky
2369 Passed

@adam-james-v adam-james-v merged commit e844f2e into release-x.49.x May 8, 2024
107 checks passed
@adam-james-v adam-james-v deleted the backport-2455537bc1392a9919b520f1a2d0f4b5a600f194 branch May 8, 2024 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
was-backported apply this to PRs that are themselves backports
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant