-
Notifications
You must be signed in to change notification settings - Fork 16
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
Crypto Payment #1844
Crypto Payment #1844
Conversation
Your Render PR Server URL is https://storage-ui-stage-pr-1844.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c7c66i4objd8v4ckqg1g. |
Your Render PR Server URL is https://chainsafe-components-stage-pr-1844.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c7c66isobjd8v4ckqge0. |
Your Render PR Server URL is https://files-ui-stage-pr-1844.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c7c66jcobjd8v4ckqgig. |
...ages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/ChangePlanModal.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Went through the code, and played a bit, looks great already! Left a couple comments.
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/ConfirmPlan.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
...iles-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/PaymentMethodSelector.tsx
Outdated
Show resolved
Hide resolved
...iles-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/PaymentMethodSelector.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
...ages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/ChangePlanModal.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/ConfirmPlan.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall implementation looks great and well connected.
Left some comments. It would be great to have the loaders in place.
Some of the UI could use some spacing in between,
between QR code and text,
below the select cryptocurrency label,
The dark mode and mobile views need some tweaks.
One thing that happens,
Once I initialize a crypto payment, if I go through the select plan again, I get the Failed to create a charge
error. We should probably disable plan change while an invoice is pending. Ok to have this in scope of the previous invoices issue #1829
Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com> Co-authored-by: Tanmoy Basak Anjan <tanmoy3399@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was on the Plan 2 out of 3 (monthy payment), and to test the crypto payment I click on the plan 3.
Now I never have the option to pay annually. Isn't that an issue?
Billing-weird-2.mp4
Yeah there's something very weird, the plan 3 doesn't allow the annual/monthly payment 🤷 The plan 2 does. annual-missing.mp4 |
I ran into this too when I clicked on "go back" as I was on the crypto payment slide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple nits that the linter doesn't figure out 🙄
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/Settings/SubscriptionTab/ChangePlan/CryptoPayment.tsx
Show resolved
Hide resolved
Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
This is merely a side-effect of the daily/annual selector, since the Premium plan does not have a daily price, which is what is being looked for by the code... Once we revert back to the annual period this should return to normal. |
…fe/ui-monorepo into feat/crypto-payment-1782
I just tried, and it's the same, try with the Galaxy S20 non ultra, you'll see |
Ahhh great, brave removed a bunch of devices from their emulation. Either case, I seem to have figured out what was causing these glitches and resolved... |
I think I have finally nailed down the styling weirdness... @Tbaut would appreciate your keen eye on this one 🙏🏼 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely, you nailed it and I couldn't find any other issue!
closes #1782
Submission checklist:
Layout
Theme