-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[$250] Expense - Blank green button on expense preview & report after removing submitter offline #61639
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 @JmillsExpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Blank green button shown after removing member from WS chat while offline. What is the root cause of that problem?After we remove the member from the WS, the WS chat is archived optimistically. However, App/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx Lines 453 to 459 in 1de2c6d
But, App/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx Line 149 in 1de2c6d
App/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx Line 494 in 1de2c6d
Lines 8882 to 8888 in 1de2c6d
So, why App/src/libs/ReportPreviewActionUtils.ts Lines 88 to 91 in 1de2c6d
But the report archived state we pass to the function is not the WS chat archived state, but rather, the IOU report. App/src/components/ReportActionItem/MoneyRequestReportPreview/MoneyRequestReportPreviewContent.tsx Line 458 in 1de2c6d
And we don't optimistically archive IOU report, so it still returns "PAY" instead of "VIEW". What changes do you think we should make in order to solve the problem?First of all, I'm not sure why we create a new
OR
We will need to unarchive it after re-inviting the member back. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?If we go with 2, we can test remove and add member to make sure the IOU report is archived and unarchived optimistically. |
Withdrawing this proposal to comply with Expensify’s one-proposal-at-a-time policy. |
@JmillsExpensify Eep! 4 days overdue now. Issues have feelings too... |
Job added to Upwork: https://www.upwork.com/jobs/~021922418033888325518 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
We have proposals so opening up to the community. |
@ishpaul777 Eep! 4 days overdue now. Issues have feelings too... |
i'll review today 🙇 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
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.1.42-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: #61098
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.3 / Chrome
App Component: Money Requests
Action Performed:
Precondition:
Expected Result:
There will be no blank green button on the expense preview and report after removing member offline.
Actual Result:
Blank green button appears on the expense preview and report after removing member offline.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6825071_1746670150012.20250508_100416.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ishpaul777The text was updated successfully, but these errors were encountered: