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

Make the fetching of dashboard extensions generic #3590

Merged
merged 7 commits into from
Mar 25, 2024

Conversation

yigitozkavci
Copy link
Contributor

@yigitozkavci yigitozkavci commented Mar 21, 2024

WHY are these changes introduced?

Related: https://github.com/Shopify/payments-platform/issues/4387

We are about to introduce migration capability for payments extensions. This PR is laying the groundwork for generalising the existing business logic for importing an existing extension into CLI environment.

WHAT is this pull request doing?

In its current state, PR should be no-op and should be treated as refactoring.

How to test your changes?

Existing tests should provide enough confidence, as we haven't introduced any new business logic.

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes
  • I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

Copy link
Contributor

Thanks for your contribution!

Depending on what you are working on, you may want to request a review from a Shopify team:

  • Themes: @shopify/advanced-edits
  • UI extensions: @shopify/ui-extensions-cli
    • Checkout UI extensions: @shopify/checkout-ui-extensions-api-stewardship
  • Hydrogen: @shopify/hydrogen
  • Other: @shopify/cli-foundations

Copy link
Contributor

github-actions bot commented Mar 21, 2024

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
72.19% (-0.01% 🔻)
6745/9344
🟡 Branches
69.27% (-0.01% 🔻)
3293/4754
🟡 Functions 70.88% 1799/2538
🟡 Lines
73.36% (-0.01% 🔻)
6360/8670
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / fetch-dashboard-extensions.ts
100% 100% 100% 100%
🟢
... / import-dashboard-extensions.ts
100% 83.33% 100% 100%

Test suite run success

1615 tests passing in 754 suites.

Report generated by 🧪jest coverage report action from 15f2703

@yigitozkavci yigitozkavci marked this pull request as ready for review March 21, 2024 15:48
Copy link
Contributor

We detected some changes at either packages/*/src or packages/cli-kit/assets/cli-ruby/** and there are no updates in the .changeset.
If the changes are user-facing, run "pnpm changeset add" to track your changes and include them in the next release CHANGELOG.

@bazay bazay requested a review from isaacroldan March 21, 2024 16:29
@yigitozkavci yigitozkavci requested a review from bazay March 22, 2024 16:29
Copy link
Contributor

@bazay bazay left a comment

Choose a reason for hiding this comment

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

Great work

@yigitozkavci yigitozkavci force-pushed the introduce-import-payments-extension branch from ac7aed2 to 15f2703 Compare March 25, 2024 10:16
@yigitozkavci yigitozkavci added this pull request to the merge queue Mar 25, 2024
Merged via the queue into main with commit b30df5e Mar 25, 2024
@yigitozkavci yigitozkavci deleted the introduce-import-payments-extension branch March 25, 2024 11:56
@bazay bazay added the #gsd:37340 Shopify CLI Payment Apps Support label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#gsd:37340 Shopify CLI Payment Apps Support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants