-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[NT-226] Cancel backing navigation workflow #860
Conversation
@@ -32,8 +32,6 @@ extension RewardPledgeNavigationController: UINavigationControllerDelegate { | |||
case (.pop, is PledgeViewController, is RewardPledgeTransitionAnimatorDelegate): | |||
return RewardPledgePopTransitionAnimator() | |||
default: | |||
// We're not performing any custom transition, bring back the standard divider line | |||
self.navigationBar.shadowImage = nil |
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.
Removed this line in favor of keeping the shadow for all VCs managed by RewardPledgeNavigationController
. This will cause some funkiness with colors in the deprecated pledge VC and possibly the Thanks page, but I think we can easily fix those during a design pass - ideally we can get to a place where there's visual consistency between all the VCs in the checkout flow.
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.
Can you describe what funkiness do you have in mind? 😄
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.
I believe what might happen is the line won't come back in the Thanks
VC after checkout. What I think we should do is do a light colors pass on the Thanks
screen to make it visually consistent with the other screens in the new checkout flow.
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.
Left a comment, this is G2G after that's addressed. Awesome work!! 🎉🛳
public protocol CancelPledgeViewModelInputs { | ||
func configure(with project: Project, backing: Backing) | ||
func viewDidLoad() | ||
} |
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.
The order here is different. Inputs
should go before the Outputs
…cancel-backing-setup
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.
Looks good
Kickstarter-iOS/Views/Controllers/CancelPledgeViewController.swift
Outdated
Show resolved
Hide resolved
@@ -32,8 +32,6 @@ extension RewardPledgeNavigationController: UINavigationControllerDelegate { | |||
case (.pop, is PledgeViewController, is RewardPledgeTransitionAnimatorDelegate): | |||
return RewardPledgePopTransitionAnimator() | |||
default: | |||
// We're not performing any custom transition, bring back the standard divider line | |||
self.navigationBar.shadowImage = nil |
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.
Can you describe what funkiness do you have in mind? 😄
📲 What
Creates
CancelPledgeViewController
along withCancelPledgeViewModel
and test setup. ConfiguresManagePledgeViewController
to push this new VC onto the stack whenCancel pledge
is selected from the action sheet menu.🤔 Why
Setup for cancel pledge.
👀 See
♿️ Accessibility
✅ Acceptance criteria