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

MBL-1567: Pledge redemption (Backer Shipping Expectation & Backer Shipping Country) #2112

Merged
merged 33 commits into from
Aug 28, 2024

Conversation

Arkariang
Copy link
Contributor

@Arkariang Arkariang commented Aug 27, 2024

📲 What

📌 Backer Shipping Expectations

As a backer, I understand how much I will likely be charged for shipping when I back a campaign so that I can anticipate my total costs.

  • Will Do Rename shipping to estimated shipping

  • Will Do Show backers an estimated range for shipping

  • Will Do Rearrange UI components on existing checkout screens

As a backer, I won’t be charged for shipping until I have been sent to pledge redemption.

  • Will Do Backers are not charged for estimated shipping 

As a backer, I understand the rest of the flow and the aspects I will be responsible for.

  • Will Do Backers know to complete a survey and pay for shipping and tax at a later date to receive rewards (disclaimer within flow, email copy, Help Center, thanks page copy, etc.) 

📌 Backer Shipping Country

As a backer, I can easily set my shipping country so that I can view rewards that are available to me. 

  • Will Do Move shipping country selector from “Confirm Details” to rewards carousel. 

  • Will Do Rearrange UI on existing checkout screens.

🤔 Why

  • Backer will be charged with Shipping plus taxes during Pledge Redemption moment, on Pledge Redemption Screen (WIP Milestone 2)

🛠 How

  • This is the merge of the feature branch we have been using due to the bulk of the work being refactors.

| | |

📋 QA

Story 📖

MBL-1567

Arkariang and others added 30 commits July 9, 2024 08:47
* add estimated shipping costs for rewards and add-ons

* put shipping amount back into add-ons

* fix unit tests
….com:kickstarter/android-oss into feature/pledge-redemption-ml1
* add estimated shipping visuals to pledge checkout screens

* fix shipping amount being pulled from shipping rules and not the reward shipping rules

* make it so late pledges are also shown "Pledge $$$"
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 37.15743% with 986 lines in your changes missing coverage. Please review.

Project coverage is 67.66%. Comparing base (25bf865) to head (70a3c59).

Files Patch % Lines
...ui/views/compose/checkout/PledgeItemizedDetails.kt 0.00% 153 Missing ⚠️
...rter/ui/views/compose/checkout/ShippingSelector.kt 0.00% 136 Missing ⚠️
...i/activities/compose/projectpage/CheckoutScreen.kt 0.00% 127 Missing ⚠️
...kstarter/ui/views/compose/checkout/BonusSupport.kt 0.00% 117 Missing ⚠️
.../ui/activities/compose/projectpage/AddOnsScreen.kt 0.00% 87 Missing ⚠️
...ewmodels/projectpage/CrowdfundCheckoutViewModel.kt 75.32% 21 Missing and 54 partials ⚠️
...java/com/kickstarter/libs/utils/RewardViewUtils.kt 0.00% 57 Missing ⚠️
...vities/compose/projectpage/RewardCarouselScreen.kt 0.00% 48 Missing ⚠️
...kstarter/viewmodels/projectpage/AddOnsViewModel.kt 74.24% 10 Missing and 24 partials ⚠️
.../activities/compose/projectpage/AddOnsContainer.kt 0.00% 32 Missing ⚠️
... and 14 more

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2112      +/-   ##
============================================
+ Coverage     67.51%   67.66%   +0.15%     
- Complexity     2133     2189      +56     
============================================
  Files           364      367       +3     
  Lines         22186    22563     +377     
  Branches       3116     3236     +120     
============================================
+ Hits          14979    15268     +289     
+ Misses         5568     5560       -8     
- Partials       1639     1735      +96     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Arkariang Arkariang self-assigned this Aug 27, 2024
@Arkariang Arkariang added the Pledge Redemption PRs related to Pledge Redemption 2024 label Aug 27, 2024
@Arkariang Arkariang marked this pull request as ready for review August 27, 2024 17:22
Copy link
Contributor

@mtgriego mtgriego left a comment

Choose a reason for hiding this comment

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

Very impressive with the refactors @Arkariang

Comment on lines +115 to +124
// val location = Location.builder()
// .id(23424814)
// .country("FK")
// .displayableName("Falkland Islands")
// .name("Falkland Islands")
// .build()
// return ShippingRule.builder()
// .id(23424814)
// .location(location)
// .build()
Copy link
Contributor

Choose a reason for hiding this comment

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

dont think we need this comment anymore

@Arkariang Arkariang merged commit bd46335 into master Aug 28, 2024
3 checks passed
@Arkariang Arkariang deleted the feature/pledge-redemption-ml1 branch August 28, 2024 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pledge Redemption PRs related to Pledge Redemption 2024
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants