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

[Shopify/payments-platform#4234] Prototype for Shopify CLI Payment Apps Support #3068

Closed
wants to merge 4 commits into from

Conversation

bazay
Copy link
Contributor

@bazay bazay commented Nov 3, 2023

WHY are these changes introduced?

https://github.com/Shopify/payments-platform/issues/4234

WHAT is this pull request doing?

How to test your changes?

Post-release steps

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

github-actions bot commented Nov 3, 2023

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 Nov 3, 2023

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements
73.11% (+0% 🔼)
6257/8558
🟡 Branches 70.71% 3044/4305
🟡 Functions
71.85% (+0.03% 🔼)
1585/2206
🟡 Lines
74.26% (+0% 🔼)
5942/8002
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🔴
... / cli_payments_app.ts
50% 100% 0% 50%
🟢
... / template.ts
100% 50% 100% 100%

Test suite run success

1495 tests passing in 670 suites.

Report generated by 🧪jest coverage report action from ee8f2a4

import {BaseSchema} from '../schemas.js'
import {zod} from '@shopify/cli-kit/node/schema'

const PaymentsAppSchema = BaseSchema.extend({
Copy link
Contributor

Choose a reason for hiding this comment

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

is the schema the same for all payment extensions? can we reuse one then?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Still investigating this, however if the answer is yes then re-using the same specification makes sense to me 👍

@bazay bazay force-pushed the payments-apps-prototype branch 3 times, most recently from 700d1e0 to 8e4705f Compare November 10, 2023 12:47
@isaacroldan
Copy link
Contributor

@bazay Can we close this PR if it's no longer relevant? thanks!

@bazay
Copy link
Contributor Author

bazay commented Jan 8, 2024

Closing as prototype phase complete

@bazay bazay closed this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants