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

SDK launch in core app #48107

Merged
merged 19 commits into from
Oct 8, 2024
Merged

SDK launch in core app #48107

merged 19 commits into from
Oct 8, 2024

Conversation

npretto
Copy link
Member

@npretto npretto commented Sep 25, 2024

This pr will contain the changes that we want to merge into the main app when we launch the SDK.

Some of the projects/prs

@npretto npretto added the no-backport Do not backport this PR to any branch label Sep 25, 2024
oisincoveney and others added 16 commits September 25, 2024 18:22
* WIP code

* use svg illustrations instead of png-in-svg

* public embed ui

* fix unit tests

* more unit tests fixes

* e2e updates

* fix a bunch of tests by updating a helper

* update other tests

* update other tests

* update more tests

* test

* unskip test and mock clipboardData to avoid window.prompt pausing the test

* hopefully the last test i have to update

* something something removing empty beforeEach

* cleanup while doing self review

* update unit test

* move public embed card to its own file

* styled -> css modules

* wip copy

* remove unused lint rule

* update copy

* fix: close popover when clicking outside of it

* remove "seamless" and use only "PRO" in the badge

* fix padding of public embed card popover
Co-authored-by: Oisin Coveney <oisin@metabase.com>
Co-authored-by: Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
Co-authored-by: bryan <bryan.maass@gmail.com>
Co-authored-by: Nicolò Pretto <info@npretto.com>
@oisincoveney oisincoveney marked this pull request as ready for review October 8, 2024 10:19
@oisincoveney oisincoveney requested review from a team and camsaul as code owners October 8, 2024 10:19
Copy link
Contributor

github-actions bot commented Oct 8, 2024

@oisincoveney You have modified embedding SDK code. Please make sure the PR title follows Conventional Commits style.
Here are all the supported types that will be shown in the changelog:

  • feat
  • fix
  • perf

These types docs, style, refactor, test, build, and ci are also encouraged for non-changelog related tasks.

Please also make sure to include sdk scope, otherwise, the changelog will not include this task.

For example, these are valid PR titles:

  • feat(sdk): Add interactive dashboard component
  • feat(sdk): Support theming pie chart
  • fix(sdk): Fix static dashboard crash

@github-automation-metabase github-automation-metabase requested a review from a team October 8, 2024 10:19
Copy link
Contributor

github-actions bot commented Oct 8, 2024

Codenotify: Notifying subscribers in CODENOTIFY files for diff 7249587...de357c7.

Notify File(s)
@kdoh frontend/src/metabase/ui/components/inputs/Input/Input.styled.tsx
@ranquild frontend/src/metabase/home/components/EmbedHomepage/Badge.ts
frontend/src/metabase/home/components/EmbedHomepage/EmbedHomepage.tsx
frontend/src/metabase/home/components/EmbedHomepage/EmbedHomepageView.tsx
frontend/src/metabase/home/components/EmbedHomepage/tests/setup.tsx
frontend/src/metabase/sharing/components/SharingMenu/MenuItems/EmbedMenuItem.tsx
frontend/src/metabase/sharing/components/SharingMenu/test/setup.tsx

Copy link
Member

@WiNloSt WiNloSt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@oisincoveney oisincoveney merged commit 537ba41 into master Oct 8, 2024
130 checks passed
@oisincoveney oisincoveney deleted the sdk-launch-in-core-app branch October 8, 2024 12:40
@github-actions github-actions bot added this to the 0.51 milestone Oct 8, 2024
rafpaf added a commit that referenced this pull request Oct 11, 2024
Co-authored-by: Oisin Coveney <oisin@metabase.com>
Co-authored-by: Mahatthana (Kelvin) Nomsawadi <me@bboykelvin.dev>
Co-authored-by: bryan <bryan.maass@gmail.com>
Co-authored-by: Nicolò Pretto <info@npretto.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport Do not backport this PR to any branch .Team/Embedding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants