-
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-12-29] [$1000] IOU - Hmm, not there screen briefly displayed when deleting one IOU out of several #28969
Comments
Triggered auto assignment to @flaviadefaria ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~0146ac43978a445e18 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.After deleting an IOU, we can replace What is the root cause of that problem?Since the deletion occurs before the end of the animation screen change What changes do you think we should make in order to solve the problem?To fix this bug we can use isFocused to be sure that we want to show we can update shouldShow value for FullPageNotFoundView in ReportScreen isFocused we can get from @react-navigation/native library
And then pass here
App/src/pages/home/ReportScreen.js Lines 377 to 384 in 4b0752a
What alternative solutions did you explore? (Optional)NA |
ProposalPlease re-state the problem that we are trying to solve in this issue."Hmm, not there" briefly is shown while navigating to the IOU preview What is the root cause of that problem?There're 2 broad scenarios where we're currently showing the Not found page in the report screen:
This is unexpected behavior from the user and so it makes sense to show the not found page
This is normal scenario and we should not show the not found page in this case, but should make the UX seamless. This issue belongs to this case. It happens because briefly after the report is removed, this condition becomes true and the not found page shows briefly before we navigate them to another screen What changes do you think we should make in order to solve the problem?We should check for the 2nd scenario and do not show the not found page in this case. For that scenario, the report was always available and accessible before it becomes empty, we can make use of this characteristics.
Update: But that condition currently doesn't work for deleting money request from another device. We should add a check to this line: If the What alternative solutions did you explore? (Optional)Using |
@ZhenjaHorbach Thanks for the proposal. Your RCA is correct. But the solution looks like a workaround. The not found page should not be coupled with the focus state as it's unrelated. |
@dukenv0307 Thanks for the proposal. Your RCA makes sense. However the solution won't work correctly in many cases. If the page is not found then we should show the not found view, even if it was accessible before. Otherwise we would have regressions e.g. if you are viewing a report of a workspace then the admin remove you from the workspace then you will still be looking at the same report instead of the not found page because the delete action was done remotely and our navigation will do nothing about it. |
@s77rt In this case we'll be navigating to the Concierge page as handled here. So I don't think there'll be any regression with that. IMO all cases of scenario 2, we're already navigating users to another report (and we should, it's weird for the users to be viewing the report and it becomes not found page some moments later) |
@dukenv0307 Testing this out. We are getting an infinite skeleton view
|
Not overdue. Still looking for proposals |
Triggered auto assignment to @lschurr ( |
@lschurr I'm officially no longer in the BugZero team so reassigning this as it will not close until tomorrow. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Looks like we're still waiting for proposals. |
📣 @s77rt 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@s77rt The PR is ready for review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.15-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-12-29. 🎊 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:
|
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:
|
Could you work on the checklist for this one @s77rt |
|
@lschurr Done! |
Payment summary:
|
Payments issued in Upwork. Closing this one out :) |
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. |
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:
User is navigated to the money request preview
Actual Result:
"Hmm, not there" briefly is shown while navigating to the IOU preview
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.78-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
Bug6226595_1696547640453.video_2023-10-05_19-07-07.mp4
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: