-
Notifications
You must be signed in to change notification settings - Fork 27
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
PM-10278 PM-10279 PM-10806 - Setup autofill screen for new onboarding flow #979
PM-10278 PM-10279 PM-10806 - Setup autofill screen for new onboarding flow #979
Conversation
No New Or Fixed Issues Found |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #979 +/- ##
==========================================
+ Coverage 88.91% 88.97% +0.05%
==========================================
Files 647 650 +3
Lines 40559 40805 +246
==========================================
+ Hits 36064 36306 +242
- Misses 4495 4499 +4 ☔ View full report in Codecov by Sentry. |
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 added a placeholder image to display while the GIF loads. This ensures there is always something visible, which is especially helpful for snapshots since the GIF wasn't loading quickly enough before the snapshot was taken. The placeholder is the first frame of the GIF. Happy to remove but this felt like a good call.
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! I like having a placeholder, please confirm with Product to see if that image is ok or if they'd prefer another one.
"FromYourDeviceSettingsToggleOnAutoFillPasswordsAndPasskeys" = "From your device settings, **toggle on autofill Passwords and Passkeys.**"; | ||
"ToggleOffICloudToMakeBitwardenYourDefaultAutoFillSource" = "**Toggle off iCloud Keychain** to make Bitwarden your default autofill source."; | ||
"ToggleOnBitwardenToUseYourSavedPasswordsToLogIntoYourAccounts" = "**Toggle on Bitwarden** to use your saved passwords to log into your accounts."; | ||
"TurnOnAutoFill"= "Turn on autofill"; | ||
"UseAutoFillToLogIntoYourAccountsWithASingleTap" = "Use autofill to log into your accounts with a single tap."; | ||
"NeedHelpCheckOutAutofillHelp" = "Need help? Check out **[autofill help](%1$@)**"; | ||
"TurnOnLater" = "Turn on later"; | ||
"TurnOnAutoFillLaterQuestion" = "Turn on autofill later?"; | ||
"YouCanReturnToCompleteThisStepAnytimeInSettings" = "You can return to complete this step anytime in Settings."; |
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.
🤔 Could you confirm with product on the use of autofill
string instead of auto-fill
? I see there are a lot of resources using auto-fill
so wanted to check if this changed.
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 call out. I just confirmed with the livefront designer that "autofill" is correct but lmk if this is something we should escalate up to the BW team?
ZStack { | ||
gifViewPlaceholder | ||
.frame(width: 230, height: 278) | ||
.background(.red) | ||
.padding(.top, 32) | ||
|
||
gifView | ||
.frame(width: 230, height: 280) | ||
.padding(.top, 32) | ||
} |
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.
🤔 Does the gif gets displayed correctly on a really small device like iPhone 6s or iPhone SE? What about landscape mode?
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.
yeah it does! I am going to do some work here on this ticket to have it match the figma designs so I can make sure everything is good on that PR if thats cool with you?
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! I like having a placeholder, please confirm with Product to see if that image is ok or if they'd prefer another one.
.padding(.top, 32) | ||
|
||
Button(Localizations.continue) { | ||
openURL(ExternalLinksConstants.passwordOptions) |
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.
ℹ️ On iOS 17+ there's a more direct way to go there if I'm understanding correctly where this should be headed with the ASSettingsHelper
...ared/UI/Platform/Settings/Settings/AutoFill/PasswordAutoFill/PasswordAutoFillProcessor.swift
Outdated
Show resolved
Hide resolved
...UI/Platform/Settings/Settings/AutoFill/PasswordAutoFill/PasswordAutoFillProcessorTests.swift
Show resolved
Hide resolved
...denShared/UI/Platform/Settings/Settings/AutoFill/PasswordAutoFill/PasswordAutoFillView.swift
Outdated
Show resolved
Hide resolved
...denShared/UI/Platform/Settings/Settings/AutoFill/PasswordAutoFill/PasswordAutoFillView.swift
Outdated
Show resolved
Hide resolved
...denShared/UI/Platform/Settings/Settings/AutoFill/PasswordAutoFill/PasswordAutoFillView.swift
Outdated
Show resolved
Hide resolved
...ared/UI/Platform/Settings/Settings/AutoFill/PasswordAutoFill/PasswordAutoFillViewTests.swift
Outdated
Show resolved
Hide resolved
...cation/Support/Images.xcassets/Images/temp_auto_fill_image.imageset/temp_auto_fill_image.pdf
Outdated
Show resolved
Hide resolved
…o the app after turning on autofill
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.
👍
🎟️ Tracking
PM-10278 - Draw Turn on Autofill Setup Screen
PM-10279 - Implement Turn on Autofill Later Confirmation Dialog
PM-10806 - Implement Autofill Help Link
📔 Objective
PasswordAutoFillView
so it can be used in the new onboarding flow and also from within the Settings menu. Also kept the legacy version around and is configured based on the feature flagnative-create-account-flow
gifView
using a web view to render the gif. This allows for first party support and seemed simple enough for the one-off gif. If you think we should intro a 3rd party for this, I am happy to update but this felt better imo.fixedSized
helper function to help with testingCompleteRegistrationProcessor
📸 Screenshots
Simulating a email verification link click via Reminders app
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-09-26.at.17.54.16.mp4
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes