-
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 2023-10-16] [$500] Report screen becomes empty when resizing to big size from LHN #28354
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0117356277518975bf |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Report screen becomes empty when resizing to big size from small size while on LHN. What is the root cause of that problem?The root cause of the issue is that What changes do you think we should make in order to solve the problem?Instead of passing in a
What alternative solutions did you explore? (Optional)None |
Cannot reproduce in version v1.3.72-5. |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is no report screen on the right. What is the root cause of that problem?We're using debounce for the window dimensions in What changes do you think we should make in order to solve the problem?Since we want to retrieve the latest value of
What alternative solutions did you explore? (Optional)We can calculate the |
Proposal from @tienifr looks good to me #28354 (comment) |
Triggered auto assignment to @arosiclair, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@narefyev91 Are you sure we want to go via this route? We might want to debounce Also, the above approach has an added advantage in the sense that @arosiclair Would be awesome to get your opinion as well before we proceed. |
@allroundexperts Hey! debounce was added only for one particular case - to prevent crash during fast resizing and remove loading indicator #26071 - and i think that fix was a hack. Using debounce in useEffect may lead to unpredictable results - like even fetching not correct size. BTW now we planning to move away from HOC withWindowDimensions - and we can use direct hook without listening for changes in useEffect inside HOC. 8mb.video-Bx1-WZ2rWPv6.mp4On the other hand - @allroundexperts solution is working but breaking go back logic Screen.Recording.2023-09-29.at.10.20.52.movCurrent issue is a regression from adding debounce to track resize changes - and using direct size from useWindowDimensions is a correct workflow. cc @arosiclair |
Thanks for the detailed response @narefyev91. That's a nice catch. Let's go with @tienifr's solution! |
📣 @tienifr 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
📣 @esh-g 🎉 An offer has been automatically sent to your Upwork account for the Reporter role 🎉 Thanks for contributing to the Expensify app! |
@arosiclair, @narefyev91, @tienifr Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Not sure why |
Triggered auto assignment to @zanyrenney ( |
Bug0 Triage Checklist (Main S/O)
|
Based on my calculations, the pull request did not get merged within 3 working days of assignment. Please, check out my computations here:
On to the next one 🚀 |
@arosiclair Is it eligible for 50% bonus because I and @narefyev91 finished work very early? |
I think we usually count any time for review so probably no but I'm not sure really. @zanyrenney ^ |
This issue is still present on Web/Desktop on staging, @tienifr please look into this. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.79-5 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 2023-10-16. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@arosiclair @tienifr #28354 (comment) based on this comment, it is not eligible for the urgency bonus.
|
payment summary @narefyev91 does not require payment (Contractor) |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
The report screen should be present on the right
Actual Result:
There is no report screen on the right.
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?
Version Number: 1.3.74-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):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
20230927_201827.mp4
Screen.Recording.2023-09-25.at.11.30.00.PM.1.mov
Expensify/Expensify Issue URL:
Issue reported by: @esh-g
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1695664942781769
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: