-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Present an alert for setting a new password #23790
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
Present an alert for setting a new password #23790
Conversation
|
| App Name | Jetpack Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr23790-23b68b9 | |
| Version | 25.4.2 | |
| Bundle ID | com.jetpack.alpha | |
| Commit | 23b68b9 | |
| App Center Build | jetpack-installable-builds #10077 |
|
| App Name | WordPress Alpha |
|
| Configuration | Release-Alpha | |
| Build Number | pr23790-23b68b9 | |
| Version | 25.4.2 | |
| Bundle ID | org.wordpress.alpha | |
| Commit | 23b68b9 | |
| App Center Build | WPiOS - One-Offs #11038 |
kean
left a comment
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.
Approve with two minor comments.
| presentPasswordAlert = false | ||
| } label: { | ||
| // TODO: Replace with `SharedStrings.Button.cancel` | ||
| Text(NSLocalizedString("shared.button.cancel", value: "Cancel", comment: "A shared button title used in different contexts")) |
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.
would've probably been faster to do it that to add a TODO :laugh
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.
Need to move all the "Users" code to the app target first 🥲
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.
Ah, right. Yeah, I'd suggest moving it until there is an idea of how to organize it better.
| func makeBody(configuration: LabeledContentStyleConfiguration) -> some View { | ||
| LabeledContent(configuration) | ||
| static let newPasswordAlertMessage = NSLocalizedString( | ||
| "userdetail.newPasswordAlertMessage", |
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.
should be userDetails.*
4b65083 to
c2e4558
Compare


Note
This PR is built on top of #23777.
Changing from pushing a separate page to presenting an alert.
Regression Notes
Potential unintended areas of impact
What I did to test those areas of impact (or what existing automated tests I relied on)
What automated tests I added (or what prevented me from doing so)
PR submission checklist:
RELEASE-NOTES.txtif necessary.Testing checklist: