-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$1000] Connect bank account - Can't clicking Almost done! offline, You appear to be offline appears immediately #19863
Comments
Triggered auto assignment to @kadiealexander ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.We want to show the 'Continue account setup' if user already has data for bank account ( What is the root cause of that problem?We are fetching
What changes do you think we should make in order to solve the problem?We don't have to fetch // if we already have the data loaded and the user went offline then don't refresh the data
if (this.props.network.isOffline && this.state.hasACHDataBeenLoaded && this.state.shouldShowContinueSetupButton) {
return
}
this.fetchData(); Also add it as the first code block in componentDidUpdate() // if we already have the data loaded and the user went offline then don't refresh the data
if (this.props.network.isOffline && this.state.hasACHDataBeenLoaded && this.state.shouldShowContinueSetupButton) {
return
} And also check here if we are not to show the loader with const shouldLoad = this.props.network.isOffline && this.state.hasACHDataBeenLoaded && this.state.shouldShowContinueSetupButton
// Show loading indicator when page is first time being opened and props.reimbursementAccount yet to be loaded from the server
// or when data is being loaded. Don't show the loading indicator if we're offline and restarted the bank account setup process
if (!shouldLoad && (!this.state.hasACHDataBeenLoaded || isLoading) && !(this.props.network.isOffline && currentStep === CONST.BANK_ACCOUNT.STEP.BANK_ACCOUNT)) { Since now we will be showing the And since we always ResultScreen.Recording.2023-05-31.at.5.12.28.PM-.c.mp4What alternative solutions did you explore? (Optional)N/A |
Reproduced on iOS: RPReplay_Final1685600742.MP4 |
Job added to Upwork: https://www.upwork.com/jobs/~017eec9f8b3dc353a2 |
Current assignee @kadiealexander is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @0xmiroslav ( |
Triggered auto assignment to @bondydaa ( |
Hmm this might be related to #19491 cc @HezekielT @mananjadhav though I'm not if that PR is the cause of it. Since the screenshots seem to show the same behavior... Though maybe this is also expected and uses Pattern D - Full Page Blocking UI? https://github.com/Expensify/App/blob/main/contributingGuides/OFFLINE_UX.md#d---full-page-blocking-ui-pattern |
@bondydaa I don't think #19491 PR caused this issue. In fact, this issue is a duplicate of #18990 which was opened on May 16 while my PR was merged on May 24. So, the issue was already there and #19491 didn't cause it.
I don't think it is the expected behavior because the Full Page Blocking should be shown after the user clicked either on In addition to this, it occurs only on iOS as far as I know. It is not reproducible on android native by following the same steps if I'm not mistaken, so I think it should be fixed. #19869 is also a duplicate so I think it might be a good idea to handle all three issues(#19863 , #18990 and #19869) at the same time. |
closing in favor of #18990 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #19491
Action Performed:
Expected Result:
Can click on Almost done!' button
Actual Result:
Can't click "Almost done!" because "You appear to be offline" page appears immediately
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.20.3
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
https://platform.applause.com/services/links/v1/external/a58be4d7fa68595db1b63c14705666451446b82047759026017b6fa5e61df927
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: