-
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
[HOLD for payment 2024-09-18] [Search v2.2] Deleted message changes to empty content with (edited) in Search - Chat page #48810
Comments
Triggered auto assignment to @robertjchen ( |
Triggered auto assignment to @strepanier03 ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
We think that this bug might be related to #wave-control |
Edited by proposal-police: This proposal was edited at 2024-09-09 18:50:51 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Search - Deleted message changes to empty content with (edited) in Search - Chat page What is the root cause of that problem?We are not checking if a Lines 203 to 209 in 61ee515
What changes do you think we should make in order to solve the problem?We should check if a report action is deleted before adding it to const isDeleted = isDeletedAction(reportAction);
if (!isDeleted) {
const from = data.personalDetailsList?.[reportAction.accountID];
reportActionItems.push({
...reportAction,
from,
formattedFrom: from?.displayName ?? from?.login ?? '',
date: reportAction.created,
keyForList: reportAction.reportActionID,
});
} What alternative solutions did you explore? (Optional)We can use const shouldShowReportAction = ReportActionsUtils.shouldReportActionBeVisible(reportAction, reportAction.reportActionID);
if (shouldShowReportAction) {
reportActionItems.push({
...reportAction,
from,
formattedFrom: from?.displayName ?? from?.login ?? '',
date: reportAction.created,
keyForList: reportAction.reportActionID,
});
} |
I'll take this since it's part of Search. cc @shubham1206agra @ikevin127 |
CPing fix |
Fixed in staging. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.31-26 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 2024-09-18. 🎊 |
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:
|
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: 9.0.31-0
Reproducible in staging?: Y
Reproducible in production?: N/A
Email or phone of affected tester (no customers): applausetester+kh010901@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
The deleted message will be removed from Search - Chat page.
Actual Result:
The deleted message changes to empty content with (edited) in Search - Chat page.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6597777_1725902332343.20240910_010857.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @strepanier03The text was updated successfully, but these errors were encountered: