You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Waiting on checklist] [$250] Expensify Card - Verifying page does not show offline indication when user is offline #51885
Version Number: 9.0.56-3 Reproducible in staging?: Y Reproducible in production?: Unable to check If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
**Email or phone of affected tester (no customers):**applausetester+khcategory18@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Go to staging.new.expensify.com
Go to workspace settings > Expensify Card
Click Issue new card
Add a bank account if not yet
Go offline
Select the added bank account
Expected Result:
Verifying page will show that user is offline
Actual Result:
Verifying page shows the animation as long as user is offline
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android: Standalone
Android: HybridApp
Android: mWeb Chrome
iOS: Standalone
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6652493_1730478171236.bandicam_2024-11-02_00-19-59-021.mp4
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Edited by proposal-police: This proposal was edited at 2024-11-01 22:11:15 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Verifying page does not show offline indication when the user is offline.
What is the root cause of that problem?
Currently, to display the offline indicator on wider screens, we need to use the shouldShowOfflineIndicatorInWideScreen prop, which is missing in this instance.
Optionally we can add offlineIndicatorStyle={styles.mtAuto} so that in android, the indicator stays below the content
What alternative solutions did you explore? (Optional)
If we decide to show the FullPageOfflineBlockingView, as suggested in another proposal to wrap this code block in FullPageOfflineBlockingView , I believe this is not correct. Once the bank is verified, we display the verified state/waitlist state, so there's no need to block that view. There are no pending requests now we are just waiting for the user to take action.
Let's only wrap the code block below in FullPageOfflineBlockingView, as a write request is being made when it's pressed, and the response cannot be anticipated.
Optional: Although there is no need to block the view while it is in a loading state, if we decide to do so, let's just wrap this component in FullPageOfflineBlockingView.
Alternative 2
If we want to allow users to use the plus icon on the select bank account page, we can wrap only the loading state in the FullPageOfflineBlockingView.
changed the title [-]Expensify Card - Verifying page does not show offline indication when user is offline[/-][+][$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+]on Nov 1, 2024
changed the title [-][$250] Expensify Card - Verifying page does not show offline indication when user is offline[/-][+][HOLD for payment 2024-11-14] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+]on Nov 7, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.58-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@ahmedGaber93@twisterdotcom The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
changed the title [-][HOLD for payment 2024-11-14] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/-][+][Waiting on checklist] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+]on Nov 14, 2024
@francoisl@twisterdotcom@koko57@ahmedGaber93 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Create new Workspace
Go to Settings > Workspace > More features
Enable Expensify Card
Go offline
Go to Expensify Card page, click Issue New card
Verify the Choose Bank Account page should display the full page oflline blocking view.
Try the same with workspaces that already have the Bank account verified or in verifying state - you should see the modal with this state instead
Activity
melvin-bot commentedon Nov 1, 2024
Triggered auto assignment to @francoisl (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Nov 1, 2024
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Nov 1, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
lanitochka17 commentedon Nov 1, 2024
We think that this bug might be related to #wave-collect - Release 2
Nodebrute commentedon Nov 1, 2024
Edited by proposal-police: This proposal was edited at 2024-11-01 22:11:15 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Verifying page does not show offline indication when the user is offline.
What is the root cause of that problem?
Currently, to display the offline indicator on wider screens, we need to use the
shouldShowOfflineIndicatorInWideScreenprop, which is missing in this instance.App/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardBankAccounts.tsx
Line 181 in b9ec75a
What changes do you think we should make to solve the problem?
we can pass
shouldShowOfflineIndicatorInWideScreenhere if we want to show the offline indicator in wider screensApp/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardBankAccounts.tsx
Line 181 in b9ec75a
Optionally we can add
offlineIndicatorStyle={styles.mtAuto}so that in android, the indicator stays below the contentWhat alternative solutions did you explore? (Optional)
If we decide to show the
FullPageOfflineBlockingView, as suggested in another proposal to wrap this code block inFullPageOfflineBlockingView, I believe this is not correct. Once the bank is verified, we display the verified state/waitlist state, so there's no need to block that view. There are no pending requests now we are just waiting for the user to take action.App/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardBankAccounts.tsx
Line 141 in b9ec75a
App/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardBankAccounts.tsx
Line 120 in b9ec75a
Let's only wrap the code block below in
FullPageOfflineBlockingView, as a write request is being made when it's pressed, and the response cannot be anticipated.App/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardBankAccounts.tsx
Lines 192 to 201 in b9ec75a
Optional: Although there is no need to block the view while it is in a loading state, if we decide to do so, let's just wrap this component in
FullPageOfflineBlockingView.Alternative 2
If we want to allow users to use the plus icon on the select bank account page, we can wrap only the loading state in the
FullPageOfflineBlockingView.App/src/pages/workspace/expensifyCard/WorkspaceExpensifyCardBankAccounts.tsx
Lines 106 to 114 in b9ec75a
francoisl commentedon Nov 1, 2024
Sounds like it could come from #51407.
The proposal makes sense to me, going to label External to get a second pair of eyes on it.
[-]Expensify Card - Verifying page does not show offline indication when user is offline[/-][+][$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+]melvin-bot commentedon Nov 1, 2024
Job added to Upwork: https://www.upwork.com/jobs/~021852431360082320267
melvin-bot commentedon Nov 1, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 (
External)54 remaining items
[-][$250] Expensify Card - Verifying page does not show offline indication when user is offline[/-][+][HOLD for payment 2024-11-14] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+]melvin-bot commentedon Nov 7, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Nov 7, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.58-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-11-14. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Nov 7, 2024
@ahmedGaber93 @twisterdotcom The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
twisterdotcom commentedon Nov 14, 2024
Payment Summary:
[-][HOLD for payment 2024-11-14] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/-][+][Waiting on checklist] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+]Nodebrute commentedon Nov 14, 2024
@twisterdotcom friendly bump ^ #51885 (comment)
Nodebrute commentedon Nov 14, 2024
Accepted.
melvin-bot commentedon Nov 15, 2024
@francoisl @twisterdotcom @koko57 @ahmedGaber93 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
ahmedGaber93 commentedon Nov 15, 2024
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/51407/files#r1843618525
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎