-
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-07-10] [$250] [CRITICAL] [UX Reliability] When deeplinking to expense report from email empty screen is shown #42753
Comments
Triggered auto assignment to @johncschuster ( |
Job added to Upwork: https://www.upwork.com/jobs/~0167ada75a878e8b10 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Subheader not showing when user brought into a report for the first time as a new user, and the DM the IOU sent to me is not loading. What is the root cause of that problem?On the first app load, we're making OpenApp request which blocks any other updates to Onyx, until it finishes. App/src/libs/actions/OnyxUpdateManager/index.ts Lines 74 to 80 in 15600b0
Since OpenReport request is established before the OpenApp, the Report data is skipped and not saved into IndexedDB. What changes do you think we should make in order to solve the problem?We need to delay OpenReport request until OpenApp is made. In
and add checks for
Also add condition
to App/src/pages/home/ReportScreen.tsx Line 417 in 21d7884
load-report.mp4 |
I can manage this. Looks like we're having @kacper-mikolajczak take a look |
Hi! While trying to reproduce the issue I've gotten the infinite loading spinner on LHN with error message for the report: Screen.Recording.2024-05-31.at.13.41.18.mp4It hangs even after |
@kacper-mikolajczak I got the same issue, and it also related to requests made prior the |
Understandable, I've checked your approach and it looks fine. One thing that we could improve is making a @mountiny What do you think about @Skakruk taking over the PR as he already proposed a solid solution? |
What also I've noticed while testing, we are making an Screen.Recording.2024-05-31.at.15.21.19.mp4 |
appears to be: App/src/libs/actions/Report.ts Lines 2487 to 2489 in b4c7110
|
📣 @c3024 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @Skakruk You have been assigned to this job! |
@Skakruk actually this is still up for discussion please hold. |
Alright, upon some further discussion we realized this requires a backend fix to address. The root problem is that the subtitle in the header needs data from the parent report to be populated (that's done here) and I'll take this internal and post a PR to implement that. @Skakruk appreciate your proposal but it actually won't be necessary anymore. |
Pre-emptive bump while @arosiclair is OOO 👍 |
And one more before the weekend 👍 |
@johncschuster, @arosiclair, @c3024 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Since this is critical functionality and #43307 does work, I'm moving forward with it so we can get the fix out ASAP. I'll create a follow up to look into some of the better ideas I mentioned later. ETA on the PR is EOW. |
@arosiclair how's this one going? |
PR just hit staging yesterday. |
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. |
How's this one going, @arosiclair? |
We're just waiting on the prod deploy |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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-07-10. 🎊 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:
|
Acknowledged! I will issue payment after the regression window 👍 |
@c3024 can you complete the BZ Checklist above when you get a moment? Thank you! |
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:
|
Payment has been issued. Thanks for your contributions! 🎉 |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number:
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):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @danielrvidal
Slack conversation:
Action Performed:
a. I let it load for a bit, nothing.
b. I refresh and see the expense show up.
This makes for a confusing experience. As a side note, we’ll be updating the flow so we don’t send users to the expense directly but rather the DM (GH) but I still experienced this bug so it felt like we should update it.
Expected Result:
The DM chat should load immediately as well as the chats should be available in LHN first, we should wait for the openApp response and show the skeleton if its not available
Actual Result:
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
In slack here https://expensify.slack.com/archives/C05LX9D6E07/p1716940223060999?thread_ts=1716939884.285849&cid=C05LX9D6E07
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: