-
Notifications
You must be signed in to change notification settings - Fork 22
chore: Move making destination views in factory for WireAuth - WPB-19090 #3176
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
Conversation
# Conflicts: # WireAuthentication/Sources/WireAuthentication/Components/DetermineAuthMethodComponent.swift # WireAuthentication/Sources/WireAuthentication/Components/LoginViaEmailComponent.swift # WireAuthentication/Sources/WireAuthenticationUI/Mocks/FakeLoginViaEmailFactory.swift # WireAuthentication/Sources/WireAuthenticationUI/Views/Login/LoginViaEmail/LoginViaEmailView.swift # WirePreviewApps/WireAuthenticationApp/ContentView.swift
Test Results87 tests 87 ✅ 21s ⏱️ Results for commit 2354a66. ♻️ This comment has been updated with latest results. |
Datadog ReportBranch report: ✅ 0 Failed, 88 Passed, 0 Skipped, 7.14s Total Time |
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.
Nice work. I agree it makes sense to move the view creation itself to the factories. Did you see any tradeoffs here?
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 question before approving
WireAuthentication/Sources/WireAuthenticationUI/Views/Login/NoHistory/NoHistoryView.swift
Outdated
Show resolved
Hide resolved
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.
LGTM
Issue
Improve DI in WireAuthentication by moving creating destination views to factory.
Views not wrapped in AnyView, instead created method to create each of destination view in the factory
Testing
Describe how to test.
Optional: attachments like images, videos, etc.
Checklist
[WPB-XXX]
.UI accessibility checklist
If your PR includes UI changes, please utilize this checklist: