-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[HIGH] Hold doesn't show in three dot menu until report is opened #52401
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
Comments
Triggered auto assignment to @CortneyOfstad ( |
I was able to recreate this under my expensifail.com account, so getting some eyes on this! |
Job added to Upwork: https://www.upwork.com/jobs/~021857521697236720139 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
Edited by proposal-police: This proposal was edited at 2024-11-16 23:02:19 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The three dot menu doesn't show What is the root cause of that problem?The issue is in the file const requestParentReportAction = useMemo(() => {
if (isMoneyRequestReport || isInvoiceReport) {
if (!paginatedReportActions || !transactionThreadReport?.parentReportActionID) {
return undefined;
}
return paginatedReportActions.find((action) => action.reportActionID === transactionThreadReport.parentReportActionID);
}
return parentReportAction;
}, [parentReportAction, isMoneyRequestReport, isInvoiceReport, paginatedReportActions, transactionThreadReport?.parentReportActionID]);
const moneyRequestAction = transactionThreadReportID ? requestParentReportAction : parentReportAction; The if (!paginatedReportActions || !transactionThreadReport?.parentReportActionID) {
return undefined;
} like mentioned in the workaround, once we open the report and get back to the chat, we start seeing return paginatedReportActions.find((action) => action.reportActionID === transactionThreadReport.parentReportActionID); gets evaluated to true. What changes do you think we should make in order to solve the problem?The problem is with report loading since our condition relies on What alternative solutions did you explore? (Optional)Alternate would be to change the condition required to show Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
📣 @me-ZaidAli! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
@ahmedGaber93 any thoughts on the proposal above? Thanks! |
Sorry for the delay, Reviewing today |
@CortneyOfstad can clarify whether individual expenses inside multiple expense report holdable or no? |
I think this is a BE issue. The reportAction data that comes from 20241119203158394.mp4Comparison of
the missed |
@CortneyOfstad I think this is a BE issue and should be internally. |
@ahmedGaber93 which environment are you testing it on? for me on staging the |
@me-ZaidAli Testing on DEV with latest main branch. |
Testing on staging 20241120053857369.mp4 |
Other PR making solid progress |
Draft PR is here — #59191. Just a heads up that I will be OoO this afternoon (March 28) to April 7 — if action is needed on the BZ side of things, please reapply the BZ label. Otherwise I will review when I get back. Thanks! |
PR is still being worked on 👍 |
Issue is reproducible during KI retests. 1744463515306.20250412_211114.mp4 |
Took off hold, the above PR hit production a few days ago. @iwiznia what's next step here? |
Thanks @mallenexpensify! |
I need to look into it again but should not hold anymore |
Working on the
|
@iwiznia is there an update on Matt's comment above? Thanks! |
No update, sorry. I also just realized this was changed to critical, any idea why? |
It's been CRITICAL for months, was on hold for a lil while though. I'm unsure how often Approvers put reports on hold. We could demote to HIGH if we think this only affects a "subset of users"
|
I think HIGH works - approvers are a subset of users. |
Hey @iwiznia — checking to see if there is an update? Thanks! |
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: 9.0.60-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @garrettmknight
Slack conversation (hyperlinked to channel name): ts_external_expensify_expense
Action Performed:
Expected Result:
Since this is a one expense report, you should see Hold in the three dot menu for the report
Actual Result:
The Hold action is not available in the menu until you open the expense and go back
Workaround:
You don't see Hold until you access the expense/report and back out into the WS chat again.
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
HoldMenu2024-12-12_15-59-35.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @neil-marcelliniThe text was updated successfully, but these errors were encountered: