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

fix(unlock-app): Checkout refactor #13814

Merged
merged 6 commits into from
May 22, 2024
Merged

fix(unlock-app): Checkout refactor #13814

merged 6 commits into from
May 22, 2024

Conversation

SVell
Copy link
Contributor

@SVell SVell commented May 9, 2024

Description

Refactored checkout and unlock account sign in

Checklist:

  • 1 PR, 1 purpose: my Pull Request applies to a single purpose
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the docs to reflect my changes if applicable
  • I have added tests (and stories for frontend components) that prove my fix is effective or that my feature works
  • [ x I have performed a self-review of my own code
  • If my code involves visual changes, I am adding applicable screenshots to this thread

@cla-bot cla-bot bot added the cla-signed label May 9, 2024
@SVell SVell marked this pull request as ready for review May 9, 2024 08:02
Copy link
Member

@julien51 julien51 left a comment

Choose a reason for hiding this comment

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

I am worried abotu one change that is pretty touchy. Please triple check!

@@ -25,14 +25,14 @@ export function Connected({ service, children }: ConnectedCheckoutProps) {
// Skip Connect if already signed in
const autoSignIn = async () => {
Copy link
Member

Choose a reason for hiding this comment

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

Can you please check that this does not break flows where the paywall is used as an "embed" and the provider is passed by the calling application? That's what dirt.fyi or bestdishever are using.

Check this https://github.com/unlock-protocol/unlock/tree/master/packages/paywall#passing-a-provider

@SVell SVell requested a review from julien51 May 13, 2024 09:16
Copy link
Member

@julien51 julien51 left a comment

Choose a reason for hiding this comment

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

Fully tested including in the case of the embedded paywall?

@SVell SVell merged commit be30830 into master May 22, 2024
12 checks passed
@SVell SVell deleted the checkout-refactor branch May 22, 2024 13:21
SVell added a commit that referenced this pull request May 23, 2024
SVell added a commit that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants