-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Log in - Sign with apple is not disable in offline mode #23257
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @Gonals ( |
As this is new feature, I don't think this is deploy blocker. |
Curious for @marcochavezf 's thoughts there |
ProposalPlease re-state the problem that we are trying to solve in this issue.The Sign in with Apple button is not disabled in offline mode. What is the root cause of that problem?No offline-logic is in place to adjust the behavior of this button. What changes do you think we should make in order to solve the problem?The button should be disabled, i.e. grayed out and display a not-allowed cursor if the user is offline. What alternative solutions did you explore? (Optional)N/A |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
ProposalPlease re-state the problem that we are trying to solve in this issue.signin with apple is not disabled when offline What is the root cause of that problem?the implementation is done for each platform independently. we currently are not handling the offline status to disable the signin method. What changes do you think we should make in order to solve the problem?We need to introduce a new prop called App/src/components/SignInButtons/AppleSignIn/index.website.js Lines 97 to 106 in be0b186
However, disabling the div element is not straightforward. To achieve this, we will use the or we can conditionally apply <View style={[getSignInWithStyles(), props.network.isOffline ? styles.pointerEventsNone : {}]}> |
Apple sign-in PR reverted. About the offline functionality, we can't modify the styles for the Google sign-in button, so modifying only the style Apple sign-in button will be an odd visual solution. Another solution would be to remove both buttons, which would also be odd imo. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Sign with apple should be disable same as continue button in offline mode
Actual Result:
Sign with apple is not disable in offline mode
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.43-2
Reproducible in staging?: y
Reproducible in production?: new feature
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-07-20.at.11.42.15.AM.mov
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689833575829169
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: