-
Notifications
You must be signed in to change notification settings - Fork 986
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
MBL-1573: Checkout Screen (Pledge and update payment method flows for crowdfund) #2096
Conversation
- Update backing mutation called - Analytic events sent - Third party events sent
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## feature/pledge-redemption-ml1 #2096 +/- ##
===================================================================
- Coverage 68.26% 67.43% -0.84%
Complexity 2136 2136
===================================================================
Files 365 366 +1
Lines 21965 22237 +272
Branches 3120 3158 +38
===================================================================
Hits 14995 14995
- Misses 5296 5568 +272
Partials 1674 1674 ☔ View full report in Codecov by Sentry. |
import com.kickstarter.ui.fragments.PledgeFragment | ||
|
||
fun Fragment.selectPledgeFragment( | ||
pledgeData: PledgeData, | ||
pledgeReason: PledgeReason | ||
): Fragment { | ||
return PledgeFragment().withData(pledgeData, pledgeReason) | ||
val fragment = if (pledgeReason == PledgeReason.FIX_PLEDGE) { |
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.
Notice here we can decide which crowdfund flows will use the new UI + VM
* - When updating payment method with a previously existing payment source | ||
* - Updating any other parameter like location, amount or rewards | ||
*/ | ||
fun getUpdateBackingData( |
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.
Package level method
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.
🎉🎉🎉
…r/android-oss into imartin/MBL-1573
📲 What
👀 See
PledgeAndChangePaymentMethod.mp4
| | |
📋 QA
Story 📖
MBL-1573