-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$250] Send invoice - Invoice thread name can renamed when created offline #43582
Comments
Triggered auto assignment to @JmillsExpensify ( |
@JmillsExpensify FYI 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Send invoice - Invoice thread name can renamed when created offline What is the root cause of that problem?The problem is that the App/src/pages/settings/Report/ReportSettingsPage.tsx Lines 78 to 86 in 79e619a
This is because the
What changes do you think we should make in order to solve the problem?We should edit using the Lines 6103 to 6104 in 79e619a
So, let's use the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Send invoice - Invoice thread name can renamed when created offline What is the root cause of that problem?When operating online, the shouldDisableRename function will indicate true because the invoice report is a thread. However, in offline mode, since the invoice report lacks a 'parentReportActionID', the isThread function returns false, consequently causing shouldDisableRename to also return false. What changes do you think we should make in order to solve the problem?When creating optimistic data for invoice report, we should include Currently, we're generating the invoice report prior to creating the optimistic report action Lines 1758 to 1759 in 79e619a
Lines 1805 to 1806 in 79e619a
My suggestion is that we generate a random ID, similar to what we did when creating the optimistic report action Line 4624 in c82dafd
Then we will use this reportActionID for both optimistic invoiceReport and optimistic reportAction What alternative solutions did you explore? (Optional) |
Proposal |
@JmillsExpensify Eep! 4 days overdue now. Issues have feelings too... |
Job added to Upwork: https://www.upwork.com/jobs/~0189569ee60be7065e |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
Added to vip invoicing and went ahead and opened up to the community. |
@JmillsExpensify, @shubham1206agra Huh... This is 4 days overdue. Who can take care of this? |
Awaiting proposal review. |
Current assignee @shubham1206agra is eligible for the External assigner, not assigning anyone new. |
Not clear why this is overdue. |
@cretadn22 Can you provide the test branch to test your proposal? |
The idea still be my proposal here. About detail implementation:
|
@shubham1206agra Could you point out what problem? I tested and it worked well |
You are kind of right, but we do not generate a random reportActionID. See other flow (submit expense) for solution. |
📣 @shubham1206agra 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @cretadn22 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@shubham1206agra Lines 2039 to 2044 in 55546bb
|
Could you help to detail this point? We create request offline, how we can get new reportActionID if we don't generate it |
@cretadn22 I want you to do a similar thing here. Do not change any function signature. |
This issue has not been updated in over 15 days. @JmillsExpensify, @youssef-lr, @shubham1206agra, @cretadn22 eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@JmillsExpensify It missed posting the payment date. It is August 1. |
@JmillsExpensify Is the payment available? |
@youssef-lr Could someone assist with processing the payment? |
Payment Summary:
|
Contributor Upwork contract paid out. |
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:
|
@JmillsExpensify Please close this issue. |
@JmillsExpensify Bump here |
@youssef-lr Please close this issue. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.82-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: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Invoice thread name cannot be renamed when created offline, because it can't be renamed online
Actual Result:
Invoice thread name can renamed when created offline
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6510719_1718191819509.20240612_192647.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: