-
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-02] [$500] Dev - Request Money/Scan: Error message persist after reloading #27403
Comments
Triggered auto assignment to @flaviadefaria ( |
Job added to Upwork: https://www.upwork.com/jobs/~0168e8e1059435aa00 |
Original proposal from reporter ProposalPlease re-state the problem that we are trying to solve in this issue.Request Money/Scan: Error message persist after reloading What is the root cause of that problem?We're storing scan validation error in our Onyx and only clear them when user press App/src/pages/iou/ReceiptSelector/index.js Lines 163 to 164 in 4f412db
What changes do you think we should make in order to solve the problem?We can add an useEffect and clear the error: React.useEffect(() => {
Receipt.clearUploadReceiptError();
}, []); What alternative solutions did you explore? (Optional)Instead of storing error in our Onyx, we can use local state to do that, with this approach we don't need to worry about reloading. |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @alexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @burczu ( |
@burczu can you confirm if you're able to reproduce this? |
Triggered auto assignment to @adelekennedy ( |
@adelekennedy I'm going OoO for a week so assigning this to you so that you can move it forward in the meantime. I'll take it back from you once I'm online again. |
@flaviadefaria @adelekennedy I confirm it is reproducible. |
confirmed reproducible @burczu can you also review the proposal above? |
@adelekennedy yes, I'll do it soon |
I've reviewed the proposal from @mvtglobally and I think it is correct. Personally I prefer the optional solution where we switch to use local state instead of using Onyx, but maybe I'm missing something and we are keeping this data in Onyx for a reason (then the main solution from this proposal is also correct, in my opinion). 🎀 👀 🎀 C+ reviewed |
🎯 ⚡️ Woah @burczu / @hungvu193, great job pushing this forwards! ⚡️ The pull request got merged within 3 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.73-1 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-02. 🎊 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:
|
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:
|
i think It creates a regression here #28343 cc : @hungvu193 |
Ah No, it was there from start, I only move it from Receipt to new place. Please checkout the diff 😃 |
@adelekennedy @flaviadefaria Looks like this is ready to pay |
@flaviadefaria I'm now going ooo if you don't mind closing it out! |
@flaviadefaria looks like payment is the last step here. Thanks! 🤑 |
Payment summary:
@hungvu193 - reporting bonus = $50 |
@hungvu193 I didn't realize we had sent you a single contract so had to send a new one for the reporting bonus as I had already paid the other one. Please accept it so that I can pay it. Thank you! |
Everyone has been paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Error modal should disappear after reloading
Actual Result:
Error modal doesn't disappear after reloading
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.69-0
Reproducible in staging?: no
Reproducible in production?: no
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
Screen.Recording.2023-09-02.at.09.18.58.mov
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692776477205919
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: