-
Notifications
You must be signed in to change notification settings - Fork 54
PM-10266: Master password guidance screen #828
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-10266: Master password guidance screen #828
Conversation
No New Or Fixed Issues Found |
a85409f
to
07790bd
Compare
…266-master-password-guidance-screen
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #828 +/- ##
==========================================
+ Coverage 88.59% 88.60% +0.01%
==========================================
Files 618 620 +2
Lines 39070 39185 +115
==========================================
+ Hits 34615 34721 +106
- Misses 4455 4464 +9 ☔ View full report in Codecov by Sentry. |
…266-master-password-guidance-screen
...ed/UI/Auth/CompleteRegistration/MasterPasswordGuidance/MasterPasswordGuidanceProcessor.swift
Outdated
Show resolved
Hide resolved
...nShared/UI/Auth/CompleteRegistration/MasterPasswordGuidance/MasterPasswordGuidanceView.swift
Outdated
Show resolved
Hide resolved
/// Create a line of text with a bullet point in front of it. | ||
/// | ||
private func bulletPoint(text: String) -> some View { | ||
HStack(alignment: .top, spacing: 6) { | ||
Text("•") | ||
|
||
Text(text) | ||
} | ||
.styleGuide(.subheadline) | ||
.foregroundStyle(Asset.Colors.textSecondary.swiftUIColor) | ||
} |
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.
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. im not sure i know how to get this to work with RTL. Do you have any idea or is there examples elsewhere in the app that you know of?
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 confirm this doesn't work with RTL? I think SwiftUI might flip the UI by default.
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.
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.
In the simulator (iPhone 15 Pro iOS 17.0.1), it's not currently changing. Although I see it doesn't change language correctly either. Testing on my device now.
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.
Same behavior on Device, it seems that there's an issue on RTL languages. So I think we're good for this PR and we can tackle the RTL languages problem in another PR.
BitwardenShared/UI/Auth/CompleteRegistration/CompleteRegistrationProcessorTests.swift
Outdated
Show resolved
Hide resolved
...ed/UI/Auth/CompleteRegistration/MasterPasswordGuidance/MasterPasswordGuidanceViewTests.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.
Looks good!
🎟️ Tracking
PM-10266
📔 Objective
Create the "Master password guidance" informational screen.
This screen is not currently reachable in the app since we don't have the updated implementation of the "choose your master password" screen with the "what makes a password strong" button on it. To view this screen, you can call
showMasterPasswordGuidance()
from one of the other routes inAuthCoordinator.navigate(to:context:)
.📸 Screenshots
⏰ 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