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
[WEB-700] FB Auth Deprecation | SetYourPassword UI #1714
Conversation
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.
Good job!
I left a lot of comments, but the basic autolayout, understanding of Prelude, signal structure, Reactive work is good! You quickly got the hang of it!
Aside from the code comments, I found some things that I would kind of double check to make sure are "tighter" before releasing this to production.
First thing is just a compare/constrast with existing designs looks like the Font sizes, colours, textfield heights, buttons colours might need a little tweaking.
Here's a navigation bar issue:
Simulator.Screen.Recording.-.iPhone.8.-.2022-08-24.at.15.41.47.mp4
As a general guide to supporting screens shown as modals on iPhone and fullscreen on iPad, take a look at this transition from "RewardsCollectionViewController" to "PledgeViewController". Notice that the transition supports the back button like this screen.
Simulator.Screen.Recording.-.iPhone.13.Pro.Max.-.2022-08-24.at.15.53.37.mp4
And then finally the "Done" button could use some love.
Simulator.Screen.Recording.-.iPhone.13.Pro.Max.-.2022-08-24.at.16.27.13.mp4
Some general things:
-
Ensure branch is updated with
main
-
Try to include images like this in PRs (just so they don't blow up in size) "<img src="url" width="300β>"
-
I know you didn't include the
push
here, and technically this is safe tomain
because it doesn't have any entry points, but if you ever want to change existing feature logic we need to create a Optimizely flag and gate it first before adding feature code. It's just for future stuff, but ask PM/Manager how to get access to Optimizely and create a flag for this feature. I don't know why I can't add you. -
Protip:
bin/format.sh .
in terminal to autoformat everything before pushing or the CI linter will scream at you. (You might already be doing this!)
Good stuff though, looking forward to the revisions!
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewController.swift
Outdated
Show resolved
Hide resolved
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewController.swift
Outdated
Show resolved
Hide resolved
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewController.swift
Outdated
Show resolved
Hide resolved
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewController.swift
Outdated
Show resolved
Hide resolved
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewController.swift
Outdated
Show resolved
Hide resolved
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewController.swift
Outdated
Show resolved
Hide resolved
@msadoon thanks for the feedback. I think I've covered all of your comments. Once we sync on testing I'll get that taken care of as well. |
131a915
to
7f8a037
Compare
Codecov Report
@@ Coverage Diff @@
## main #1714 +/- ##
========================================
Coverage 85.33% 85.33%
========================================
Files 1271 1275 +4
Lines 114511 114765 +254
Branches 30236 30321 +85
========================================
+ Hits 97715 97937 +222
- Misses 15746 15778 +32
Partials 1050 1050
π£ Weβre building smart automated test selection to slash your CI/CD build times. Learn more |
@msadoon Fixed the navbar issue and added tests. The VC test snapshots aren't showing the copy that's on that screen though for some reason. Maybe we can look at that quick when we sync later |
8850f0b
to
dc26fc9
Compare
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.
Still a few remaining changes, but we're close!
Good job on navigation bar fix, and the mocks look much similar now (also checked with Lillit, the designs use an iPhone 11 Pro res so best to compare to that simulator)
Can you maybe adjust the text labels above both textfields to be smaller font size?
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewController.swift
Outdated
Show resolved
Hide resolved
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewControllerTests.swift
Outdated
Show resolved
Hide resolved
Kickstarter-iOS/Views/Controllers/SetYourPasswordViewControllerTests.swift
Show resolved
Hide resolved
608E7A5328ABDBAE00289E92 /* SetYourPasswordViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 608E7A5128ABD5E700289E92 /* SetYourPasswordViewController.swift */; }; | ||
608E7A5628ABE6CD00289E92 /* SetYourPasswordViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 608E7A5428ABE27400289E92 /* SetYourPasswordViewModel.swift */; }; | ||
60DA50EB28B689A4002E2DF1 /* SetYourPasswordViewModelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 60DA50E928B68990002E2DF1 /* SetYourPasswordViewModelTests.swift */; }; | ||
60DA50F128B6953A002E2DF1 /* SetYourPasswordViewControllerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 60DA50EF28B69534002E2DF1 /* SetYourPasswordViewControllerTests.swift */; }; |
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.
So yea for the view controller and view model, try to put them in alphabetical order if possible.
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.
so the ViewController and ViewModel files are already separate folders and are in alphabetical order
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.
@msadoon Ok i'll make the textfield labels a touch smaller. That will stray away from what the designs specify though. Also one thing to note, the copy in the designs as changed slightly to what you see in this build. I can't update the designs so that's why that's different. |
Well it looks like the designs have 16px for the context label and 13 px for the text field labels, just set the text field labels to be 13 px. and the context label to be 16px. |
Oh yea you're right π€ . Could have sworn I was seeing other values. My mistake. Will update |
c1fc0eb
to
18d4a8a
Compare
18d4a8a
to
a5d68f7
Compare
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.
good to go!
π² What
UI for a new SetYourPassword screen.
π€ Why
As we start to deprecate signing in with facebook, we need to make sure that specific users create a password.
These users have connected via facebook but never needed to create one and so before we remove facebook auth altogether we need to make sure they can still access their accounts.
π How
I created a new SetYourPasswordViewController & SetYourPasswordViewModel based on these designs
π See
β Acceptance criteria
LoginToutViewController/pushSignupViewController()
to present this screeenβ° TODO