-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MBL-1631] Remove Shipping Dropdown From Add-Ons (#2097)
* WIP: populate shipping countries using the project's rewards * No longer using individually passed in Rewards * remove shipping dropdown from Add-Ons View Controller * select reward with selected ShippingRule, or nil if no shippable rewards * update RewardsCollectionViewModel Tests * update RewardAddOnSelectionViewModel Tests * update PledgeViewModel Tests * update ConfirmDetailsViewModel Tests * use passed in selectedShippingRule, if not nil, so that the manage pledge flow knows about the correct shipping rule * this is temporary since shipping will be removed from checkout during this milestone * update ManagePledgeViewModel Tests * update snapshot tests
- Loading branch information
1 parent
e495aca
commit b9398aa
Showing
124 changed files
with
339 additions
and
344 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
Binary file removed
BIN
-86.6 KB
...ardAddOnSelectionViewControllerTests/testView_EmptyState.lang_de_device_pad.png
Binary file not shown.
Binary file removed
BIN
-68.2 KB
...electionViewControllerTests/testView_EmptyState.lang_de_device_phone4_7inch.png
Binary file not shown.
Binary file modified
BIN
-8.41 KB
(87%)
...nSelectionViewControllerTests/testView_EmptyState.lang_de_device_phone4inch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-70.3 KB
...electionViewControllerTests/testView_EmptyState.lang_de_device_phone5_5inch.png
Binary file not shown.
Binary file removed
BIN
-68.2 KB
...electionViewControllerTests/testView_EmptyState.lang_de_device_phone5_8inch.png
Binary file not shown.
Binary file removed
BIN
-86.6 KB
...ardAddOnSelectionViewControllerTests/testView_EmptyState.lang_en_device_pad.png
Binary file not shown.
Binary file modified
BIN
-8.53 KB
(87%)
...electionViewControllerTests/testView_EmptyState.lang_en_device_phone4_7inch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-65.7 KB
...nSelectionViewControllerTests/testView_EmptyState.lang_en_device_phone4inch.png
Binary file not shown.
Binary file removed
BIN
-70.3 KB
...electionViewControllerTests/testView_EmptyState.lang_en_device_phone5_5inch.png
Binary file not shown.
Binary file removed
BIN
-68.2 KB
...electionViewControllerTests/testView_EmptyState.lang_en_device_phone5_8inch.png
Binary file not shown.
Binary file removed
BIN
-86.6 KB
...ardAddOnSelectionViewControllerTests/testView_EmptyState.lang_es_device_pad.png
Binary file not shown.
Binary file removed
BIN
-68.2 KB
...electionViewControllerTests/testView_EmptyState.lang_es_device_phone4_7inch.png
Binary file not shown.
Binary file removed
BIN
-65.7 KB
...nSelectionViewControllerTests/testView_EmptyState.lang_es_device_phone4inch.png
Binary file not shown.
Binary file modified
BIN
-8.69 KB
(88%)
...electionViewControllerTests/testView_EmptyState.lang_es_device_phone5_5inch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-68.2 KB
...electionViewControllerTests/testView_EmptyState.lang_es_device_phone5_8inch.png
Binary file not shown.
Binary file removed
BIN
-86.6 KB
...ardAddOnSelectionViewControllerTests/testView_EmptyState.lang_fr_device_pad.png
Binary file not shown.
Binary file removed
BIN
-68.2 KB
...electionViewControllerTests/testView_EmptyState.lang_fr_device_phone4_7inch.png
Binary file not shown.
Binary file removed
BIN
-65.7 KB
...nSelectionViewControllerTests/testView_EmptyState.lang_fr_device_phone4inch.png
Binary file not shown.
Binary file removed
BIN
-70.3 KB
...electionViewControllerTests/testView_EmptyState.lang_fr_device_phone5_5inch.png
Binary file not shown.
Binary file modified
BIN
-8.53 KB
(87%)
...electionViewControllerTests/testView_EmptyState.lang_fr_device_phone5_8inch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-9.19 KB
(89%)
...ardAddOnSelectionViewControllerTests/testView_EmptyState.lang_ja_device_pad.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-68.2 KB
...electionViewControllerTests/testView_EmptyState.lang_ja_device_phone4_7inch.png
Binary file not shown.
Binary file removed
BIN
-65.7 KB
...nSelectionViewControllerTests/testView_EmptyState.lang_ja_device_phone4inch.png
Binary file not shown.
Binary file removed
BIN
-70.3 KB
...electionViewControllerTests/testView_EmptyState.lang_ja_device_phone5_5inch.png
Binary file not shown.
Binary file removed
BIN
-68.2 KB
...electionViewControllerTests/testView_EmptyState.lang_ja_device_phone5_8inch.png
Binary file not shown.
Binary file removed
BIN
-66.6 KB
..._/RewardAddOnSelectionViewControllerTests/testView_Error.lang_de_device_pad.png
Diff not rendered.
Binary file removed
BIN
-51.7 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_de_device_phone4_7inch.png
Diff not rendered.
Binary file modified
BIN
-29 Bytes
(100%)
...dAddOnSelectionViewControllerTests/testView_Error.lang_de_device_phone4inch.png
Oops, something went wrong.
Binary file removed
BIN
-51.1 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_de_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-51.7 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_de_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-66.6 KB
..._/RewardAddOnSelectionViewControllerTests/testView_Error.lang_en_device_pad.png
Diff not rendered.
Binary file modified
BIN
-28 Bytes
(100%)
...ddOnSelectionViewControllerTests/testView_Error.lang_en_device_phone4_7inch.png
Oops, something went wrong.
Binary file removed
BIN
-48.8 KB
...dAddOnSelectionViewControllerTests/testView_Error.lang_en_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-51.1 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_en_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-51.7 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_en_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-66.6 KB
..._/RewardAddOnSelectionViewControllerTests/testView_Error.lang_es_device_pad.png
Diff not rendered.
Binary file removed
BIN
-51.7 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_es_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-48.8 KB
...dAddOnSelectionViewControllerTests/testView_Error.lang_es_device_phone4inch.png
Diff not rendered.
Binary file modified
BIN
-16 Bytes
(100%)
...ddOnSelectionViewControllerTests/testView_Error.lang_es_device_phone5_5inch.png
Oops, something went wrong.
Binary file removed
BIN
-51.7 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_es_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-66.6 KB
..._/RewardAddOnSelectionViewControllerTests/testView_Error.lang_fr_device_pad.png
Diff not rendered.
Binary file removed
BIN
-51.7 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_fr_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-48.8 KB
...dAddOnSelectionViewControllerTests/testView_Error.lang_fr_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-51.1 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_fr_device_phone5_5inch.png
Diff not rendered.
Binary file modified
BIN
-28 Bytes
(100%)
...ddOnSelectionViewControllerTests/testView_Error.lang_fr_device_phone5_8inch.png
Oops, something went wrong.
Binary file modified
BIN
-43 Bytes
(100%)
..._/RewardAddOnSelectionViewControllerTests/testView_Error.lang_ja_device_pad.png
Oops, something went wrong.
Binary file removed
BIN
-51.7 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_ja_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-48.8 KB
...dAddOnSelectionViewControllerTests/testView_Error.lang_ja_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-51.1 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_ja_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-51.7 KB
...ddOnSelectionViewControllerTests/testView_Error.lang_ja_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-78.9 KB
...ardAddOnSelectionViewControllerTests/testView_NoShipping.lang_de_device_pad.png
Diff not rendered.
Binary file removed
BIN
-60.4 KB
...electionViewControllerTests/testView_NoShipping.lang_de_device_phone4_7inch.png
Diff not rendered.
Binary file modified
BIN
-27 Bytes
(100%)
...nSelectionViewControllerTests/testView_NoShipping.lang_de_device_phone4inch.png
Oops, something went wrong.
Binary file removed
BIN
-63.7 KB
...electionViewControllerTests/testView_NoShipping.lang_de_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-60.4 KB
...electionViewControllerTests/testView_NoShipping.lang_de_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-78.9 KB
...ardAddOnSelectionViewControllerTests/testView_NoShipping.lang_en_device_pad.png
Diff not rendered.
Binary file modified
BIN
-30 Bytes
(100%)
...electionViewControllerTests/testView_NoShipping.lang_en_device_phone4_7inch.png
Oops, something went wrong.
Binary file removed
BIN
-59.2 KB
...nSelectionViewControllerTests/testView_NoShipping.lang_en_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-63.7 KB
...electionViewControllerTests/testView_NoShipping.lang_en_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-60.4 KB
...electionViewControllerTests/testView_NoShipping.lang_en_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-78.9 KB
...ardAddOnSelectionViewControllerTests/testView_NoShipping.lang_es_device_pad.png
Diff not rendered.
Binary file removed
BIN
-60.4 KB
...electionViewControllerTests/testView_NoShipping.lang_es_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-59.2 KB
...nSelectionViewControllerTests/testView_NoShipping.lang_es_device_phone4inch.png
Diff not rendered.
Binary file modified
BIN
-23 Bytes
(100%)
...electionViewControllerTests/testView_NoShipping.lang_es_device_phone5_5inch.png
Oops, something went wrong.
Binary file removed
BIN
-60.4 KB
...electionViewControllerTests/testView_NoShipping.lang_es_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-78.9 KB
...ardAddOnSelectionViewControllerTests/testView_NoShipping.lang_fr_device_pad.png
Diff not rendered.
Binary file removed
BIN
-60.4 KB
...electionViewControllerTests/testView_NoShipping.lang_fr_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-59.2 KB
...nSelectionViewControllerTests/testView_NoShipping.lang_fr_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-63.7 KB
...electionViewControllerTests/testView_NoShipping.lang_fr_device_phone5_5inch.png
Diff not rendered.
Binary file modified
BIN
-30 Bytes
(100%)
...electionViewControllerTests/testView_NoShipping.lang_fr_device_phone5_8inch.png
Oops, something went wrong.
Binary file modified
BIN
-40 Bytes
(100%)
...ardAddOnSelectionViewControllerTests/testView_NoShipping.lang_ja_device_pad.png
Oops, something went wrong.
Binary file removed
BIN
-60.4 KB
...electionViewControllerTests/testView_NoShipping.lang_ja_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-59.2 KB
...nSelectionViewControllerTests/testView_NoShipping.lang_ja_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-63.7 KB
...electionViewControllerTests/testView_NoShipping.lang_ja_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-60.4 KB
...electionViewControllerTests/testView_NoShipping.lang_ja_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-89.2 KB
...ntrollerTests/testView_NoShippingWithLocalPickup_Success.lang_de_device_pad.png
Diff not rendered.
Binary file modified
BIN
-27 Bytes
(100%)
...ests/testView_NoShippingWithLocalPickup_Success.lang_de_device_phone5_8inch.png
Oops, something went wrong.
Binary file modified
BIN
-41 Bytes
(100%)
...ntrollerTests/testView_NoShippingWithLocalPickup_Success.lang_en_device_pad.png
Oops, something went wrong.
Binary file removed
BIN
-66 KB
...ests/testView_NoShippingWithLocalPickup_Success.lang_en_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-88.4 KB
...ntrollerTests/testView_NoShippingWithLocalPickup_Success.lang_es_device_pad.png
Diff not rendered.
Binary file modified
BIN
-25 Bytes
(100%)
...ests/testView_NoShippingWithLocalPickup_Success.lang_es_device_phone5_8inch.png
Oops, something went wrong.
Binary file modified
BIN
-41 Bytes
(100%)
...ntrollerTests/testView_NoShippingWithLocalPickup_Success.lang_fr_device_pad.png
Oops, something went wrong.
Binary file removed
BIN
-73.9 KB
...ests/testView_NoShippingWithLocalPickup_Success.lang_fr_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-99.5 KB
...ntrollerTests/testView_NoShippingWithLocalPickup_Success.lang_ja_device_pad.png
Diff not rendered.
Binary file modified
BIN
-27 Bytes
(100%)
...ests/testView_NoShippingWithLocalPickup_Success.lang_ja_device_phone5_8inch.png
Oops, something went wrong.
Binary file removed
BIN
-86.6 KB
...ewardAddOnSelectionViewControllerTests/testView_Shipping.lang_de_device_pad.png
Diff not rendered.
Binary file removed
BIN
-68.2 KB
...nSelectionViewControllerTests/testView_Shipping.lang_de_device_phone4_7inch.png
Diff not rendered.
Binary file modified
BIN
-8.41 KB
(87%)
...dOnSelectionViewControllerTests/testView_Shipping.lang_de_device_phone4inch.png
Oops, something went wrong.
Binary file removed
BIN
-70.3 KB
...nSelectionViewControllerTests/testView_Shipping.lang_de_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-68.2 KB
...nSelectionViewControllerTests/testView_Shipping.lang_de_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-86.6 KB
...ewardAddOnSelectionViewControllerTests/testView_Shipping.lang_en_device_pad.png
Diff not rendered.
Binary file modified
BIN
-8.53 KB
(87%)
...nSelectionViewControllerTests/testView_Shipping.lang_en_device_phone4_7inch.png
Oops, something went wrong.
Binary file removed
BIN
-65.7 KB
...dOnSelectionViewControllerTests/testView_Shipping.lang_en_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-70.3 KB
...nSelectionViewControllerTests/testView_Shipping.lang_en_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-68.2 KB
...nSelectionViewControllerTests/testView_Shipping.lang_en_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-86.6 KB
...ewardAddOnSelectionViewControllerTests/testView_Shipping.lang_es_device_pad.png
Diff not rendered.
Binary file removed
BIN
-68.2 KB
...nSelectionViewControllerTests/testView_Shipping.lang_es_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-65.7 KB
...dOnSelectionViewControllerTests/testView_Shipping.lang_es_device_phone4inch.png
Diff not rendered.
Binary file modified
BIN
-8.69 KB
(88%)
...nSelectionViewControllerTests/testView_Shipping.lang_es_device_phone5_5inch.png
Oops, something went wrong.
Binary file removed
BIN
-68.2 KB
...nSelectionViewControllerTests/testView_Shipping.lang_es_device_phone5_8inch.png
Diff not rendered.
Binary file removed
BIN
-86.6 KB
...ewardAddOnSelectionViewControllerTests/testView_Shipping.lang_fr_device_pad.png
Diff not rendered.
Binary file removed
BIN
-68.2 KB
...nSelectionViewControllerTests/testView_Shipping.lang_fr_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-65.7 KB
...dOnSelectionViewControllerTests/testView_Shipping.lang_fr_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-70.3 KB
...nSelectionViewControllerTests/testView_Shipping.lang_fr_device_phone5_5inch.png
Diff not rendered.
Binary file modified
BIN
-8.53 KB
(87%)
...nSelectionViewControllerTests/testView_Shipping.lang_fr_device_phone5_8inch.png
Oops, something went wrong.
Binary file modified
BIN
-9.19 KB
(89%)
...ewardAddOnSelectionViewControllerTests/testView_Shipping.lang_ja_device_pad.png
Oops, something went wrong.
Binary file removed
BIN
-68.2 KB
...nSelectionViewControllerTests/testView_Shipping.lang_ja_device_phone4_7inch.png
Diff not rendered.
Binary file removed
BIN
-65.7 KB
...dOnSelectionViewControllerTests/testView_Shipping.lang_ja_device_phone4inch.png
Diff not rendered.
Binary file removed
BIN
-70.3 KB
...nSelectionViewControllerTests/testView_Shipping.lang_ja_device_phone5_5inch.png
Diff not rendered.
Binary file removed
BIN
-68.2 KB
...nSelectionViewControllerTests/testView_Shipping.lang_ja_device_phone5_8inch.png
Diff not rendered.
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.