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

PE-4565: Address the tech debt created by Turbo Promo Code #1370

Merged
merged 12 commits into from
Oct 10, 2023
Merged

Conversation

matibat
Copy link
Contributor

@matibat matibat commented Sep 19, 2023

@matibat matibat self-assigned this Sep 19, 2023
Copy link
Contributor Author

@matibat matibat left a comment

Choose a reason for hiding this comment

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

Self-review checkpoint.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For the reviewer - I just split the method into smaller ones. I've set the nullable parameters to be required so I don't miss passing the argument.

lib/turbo/services/payment_service.dart Show resolved Hide resolved
@@ -36,21 +42,6 @@ class PaymentFormLoaded extends PaymentFormState {
final bool isFetchingPromoCode;
final bool errorFetchingPromoCode;

double? get promoDiscountFactor {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For the reviewer - this code was being unused.

@github-actions
Copy link

github-actions bot commented Sep 19, 2023

Visit the preview URL for this PR (updated for commit c78f9aa):

https://ardrive-web--pr1370-pe-4565-ou9cns27.web.app

(expires Tue, 17 Oct 2023 15:10:28 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a224ebaee2f0939e7665e7630e7d3d6cd7d0f8b0

Copy link
Collaborator

@thiagocarvalhodev thiagocarvalhodev left a comment

Choose a reason for hiding this comment

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

LGTM

@matibat matibat merged commit 78f59ae into dev Oct 10, 2023
5 checks passed
@matibat matibat deleted the PE-4565 branch October 10, 2023 18:59
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