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

Add extra dependencies for WaitListViewModel #1786

Merged
merged 6 commits into from
Nov 2, 2023

Conversation

Bunn
Copy link
Collaborator

@Bunn Bunn commented Oct 30, 2023

Task/Issue URL: https://app.asana.com/0/1204167627774280/1205346513220653/f

Description:
In-between PR to refactor the WaitListViewModel to accept extra dependencies and make it more generic

Steps to test this PR:

  1. Test waitlist for NetP, there's nothing added for DBP yet.

@Bunn Bunn requested a review from samsymons October 30, 2023 21:38
import Foundation
import UserNotifications

protocol WaitlistTermsAndConditionsActionHandler {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I considered making this even more generic - basically having a way to inject generic steps which have an action, and then it's up that step to decide what that action is. But I think for our purposes, this is great - nice work. 👍

Copy link
Collaborator

@samsymons samsymons left a comment

Choose a reason for hiding this comment

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

LGTM, I tested the NetP flow and found no issues, so I think this is good to go.

@Bunn Bunn merged commit f77678c into develop Nov 2, 2023
15 checks passed
@Bunn Bunn deleted the bunn/dbp/waitlist-model-changes branch November 2, 2023 09:25
samsymons added a commit that referenced this pull request Nov 2, 2023
…-users

* develop:
  Home Button Positioning Options (#1784)
  Add extra dependencies for WaitListViewModel (#1786)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants