-
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
[HOLD for payment 2024-03-07] [$500] VBA - Background page is "reloading" when proceeding through VBA flow #36512
Comments
Job added to Upwork: https://www.upwork.com/jobs/~015afe16eee041d143 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov ( |
Triggered auto assignment to @lschurr ( |
i wish i could run this project so i can contribute... |
📣 @saif-o99! 📣
|
Waiting on proposals. |
Hi @lschurr and @lanitochka17 do you have a bank test information to share to test this issue? I tried to test using some fake back information, but the second step validated the information. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Background page is "reloading" when proceeding through VBA flow. What is the root cause of that problem?when we setup the bank account in the right modal we are showing App/src/pages/ReimbursementAccount/ReimbursementAccountPage.js Lines 436 to 438 in 6f3d8f6
when the reimbursement account is loading from the server:
and in the background we have a App/src/pages/workspace/WorkspacePageWithSections.tsx Lines 169 to 171 in 6f3d8f6
when the reimbursement account is loading from the server:
this is why both background page and the right modal are showing loading views. What changes do you think we should make in order to solve the problem?we should change the condition in import {useIsFocused} from '@react-navigation/native'; const isFocused = useIsFocused(); {(isLoading || firstRender.current) && shouldShowLoading && isFocused ? (
<FullScreenLoadingIndicator style={[styles.flex1, styles.pRelative]} />
) : ( this way, when we are focusing on the right modal and the account is loading from the server, the background will be unchanged, and only the right side modal display a loading view. ResultBefore: before.Recording.2024-02-18.204009.mp4After: after.Recording.2024-02-18.203850.mp4What alternative solutions did you explore? (Optional)N/A |
Could you review this one @alitoshmatov? |
@wlegolas Hello Fill the rest of the fields with random data. |
@rayane-djouah Can you make sure there are no cases where |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@alitoshmatov I tested my proposal and didn't find such case. WorkspacePageWithSections is loading correctly when focused 👍 |
Hi @lanitochka17 I tried to use this information but didn't work locally and on staging. Do you have another account? |
I think we can go with @rayane-djouah 's proposal. It has correct RCA and uses focus to determine to show loading or not C+ reviewed 🎀 👀 🎀 |
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
I am not able to reproduce this issue with build 1.4.43-19 Recording.1295.mp4@wlegolas Hello
|
@lanitochka17 I'm still able to reproduce it on staging. you need to start the new bank account flow from a workspace settings page other than "Profile" or "Members" (example: "Cards") vba.Recording.2024-02-27.122258.mp4 |
@alitoshmatov PR is ready for review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.45-6 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-03-07. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@alitoshmatov Could you work through the checklist on this one? |
@lschurr Friendly reminder for payment, Thank you! |
Payment summary:
|
Bumped in Slack - https://expensify.slack.com/archives/C01GTK53T8Q/p1709841698280919 |
|
Is this paid? Shall we close the issue? |
Payment is done(at least on my part) |
Yep, all set! Closing. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.41-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers): applausetester+emilio@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
The user expects the background to be unchanged, only the side modal should display loading icons
Actual Result:
The background is constantly reloaded as well at the side modal, making it "two loading" screens
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6379415_1707919378829.Background_is_reloading_when_proceeding_through_VBA.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: