-
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
[$500] Scan receipts- After admin approves request with error, RD still present in LHN #38219
Comments
Triggered auto assignment to @johncschuster ( |
@johncschuster I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think that this bug might be related to #wave-collect - Release 1 |
ProposalPlease re-state the problem that we are trying to solve in this issue.The red dot still shows in LHN even after the admin approves the request. What is the root cause of that problem?Currently, we check for any smart scan error in all report actions. App/src/libs/OptionsListUtils.ts Lines 504 to 506 in 632b1f8
We will show the error if there a missing fields and the request is not settled yet, but we never check whether it's approved or not. Line 5069 in 632b1f8
What changes do you think we should make in order to solve the problem?Add the approved state check and don't show the error if it's approved.
We will do the same for report preview.
|
I think this is more violations related. @JmillsExpensify, did we land on removing the RBR on approval but keeping the error in-line within the expense? |
ProposalPlease re-state the problem that we are trying to solve in this issue.After approval, the red dot is still present in the report preview, the LHN conversation and the expense details. What is the root cause of that problem?We show the error for policy expense chat in LHN if at least one report preview action or split bill action has smart scan error App/src/libs/OptionsListUtils.ts Lines 504 to 507 in fa6bcc0
In this function we missed to check the report is approved or not Line 5069 in fa6bcc0
What changes do you think we should make in order to solve the problem?
Line 5069 in fa6bcc0
To fix this case, we should check if the report action is not visible we will return false here
Lines 5065 to 5067 in fa6bcc0
App/src/components/ReportActionItem/MoneyRequestPreview/MoneyRequestPreviewContent.tsx Line 246 in fa6bcc0
What alternative solutions did you explore? (Optional)NA |
Thanks for calling out that this is likely related to #wave-control, @trjExpensify! I've added it to the project tracker and raised it in Slack. 👍 |
@johncschuster Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~01f659429db634ed75 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Not overdue. I've just triaged this one out. |
We should close the issue. It's being handled here instead: #34548 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Closing in favor of #34548. Thanks for the heads up, @JmillsExpensify! |
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: 1.4.51-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4418424
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
Expected Result:
The red dot is removed from the report preview, from the LHN conversation and the expense details.
Actual Result:
After approval, the red dot is still present in the report preview, the LHN conversation and the expense details.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6412075_1710323044630.RDafterapprove.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: