-
Notifications
You must be signed in to change notification settings - Fork 989
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[No ticket] - Merging Feature branch post campaign (#1988)
* WIP pager experimentation * Merge branch 'master' into mgriego/experimental_compose_pager * add some fixes for add-ons screen, add shipping rules * remove some unused imports * updated spacing for add-ons container * move checkout flow code to its own viewmodel * [MBL-1257] Add existing logic for rewards carousel to new compose flow (#1978) * adjust viewmodel to use UI State class for reward carousel * Add logic for rewards carousel screen, fix a few visual bugs, adjust logic to use coroutines and flows/ui states * lint * more lint * move reward carousel logic into its own viewmodel/ui state * lint and info comments * MBL-1258 Add logic for add ons screen (#1980) * Skeleton AddOnsVM and navigation to Confirm Pledge Details screen * Logic for location selector - hide for digital addons, update shipping costs when location changes * Fix bug with currentShippingRule state not persisting * Update AddOnsUIState.currentAddOnsSelection instead of local addOnsMap to correctly count total addons * Fix bug where addOnCount is not remembered when navigating back to addons * Clean up ktlint * Clear previous addons selection when a new reward is selected * Also clear individual item count when new reward is selected * If reward cannot be shipped, only display addons that also cannot be shipped * Fix ktlint * Reset shippingSelectorIsGone when new reward is selected * Copy over Alex's fix on master * ktlint * Add comment back to config.yml * MBL-1291: Feature Flag for latePledges (#1986) * [MBL-1259] Add logic for confirm checkout page (#1979) * add display logic for confirm details screen * add stripe card ids * remove unused import * add create checkout call to move on from confirmation page * formatting and default action on next button * lint * add logic for quantities for confirm screen * fix logic when displaying the shipping location an amounts * add bonus support min additions and amount conversions * lint * update implementation in checkout screen based on local changes * remove unneeded disclaimer text on reward cards * remove unused import * add new translated string * fix shipping amount for rewards (add-ons not working?) * add full id list for confirm checkout, calculate totals more accurately * [NoTicket] Fix add-ons shipping rule logic (#1987) * move add-ons and shipping rules logic out of flow viewmodel, fix add-ons shipping amounts diplayed, update add-ons when shipping rule changes, filter add-ons based on reward selection * lint * clean up state emission * remove unneeded binging reference --------- Co-authored-by: Matthew <[email protected]> Co-authored-by: mtgriego <[email protected]> Co-authored-by: Yun Cheng <[email protected]>
- Loading branch information
1 parent
037f96d
commit 30da44f
Showing
27 changed files
with
2,087 additions
and
247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.