-
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] Group chat - On deleting parent message,text "Deleted message" is not shown #47564
Comments
Triggered auto assignment to @bfitzexpensify ( |
We think that this bug might be related to #vip-vsp |
@bfitzexpensify 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 |
Edited by proposal-police: This proposal was edited at 2024-08-16 12:36:08 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.On deleting parent message,text "Deleted message" is not shown What is the root cause of that problem?We are using App/src/pages/ReportDetailsPage.tsx Lines 244 to 245 in d4d5a25
Because isGroupChat will be true for chat threads opened inside group chats
What changes do you think we should make in order to solve the problem?
or
same fix should be applied here too if we are not going to update
What alternative solutions did you explore? (Optional)As chat threads with group chat as their parent report also have Lines 1140 to 1141 in d4d5a25
so should be changed to
|
ProposalPlease re-state the problem that we are trying to solve in this issue.If a thread is created on a group chat and the thread is deleted with a message, the report detail page shows the thread name instead of [Deleted message] What is the root cause of that problem?If the report is a group chat, then we use App/src/pages/ReportDetailsPage.tsx Line 244 in 578006f
Lines 2140 to 2144 in 578006f
What changes do you think we should make in order to solve the problem?Remove the group chat check and just use Lines 3736 to 3738 in 578006f
We need to fix in OptionRowLHN too by removing the group chat check.
|
Updated to add a better alternative approach |
@bfitzexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~0129be1229dfa60701 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
@bernhardoj In details page App/src/pages/ReportDetailsPage.tsx Lines 244 to 245 in d4d5a25
Lines 3736 to 3738 in 578006f
I know this is may achieve the desired consistency in the other issue, but can you please add more context about this change affect? FYI, they have been added in this PR #40134 |
Beside the limit, the change will simply make it consistent with other parts of the app where we prioritize other naming case before the group chat, such as the thread. Lines 3667 to 3733 in ad7c1d5
Btw, if we look at the PR changes for ReportDetailsPage, we can see that previously we passed Then, there is a discussion in the PR whether it's safe to pass So, I think it's an overlook when changing the code. |
ProposalPlease re-state the problem that we are trying to solve in this issue.In group chat, on deleting parent message, the text " Deleted message " is not shown under avatar What is the root cause of that problem?The thread of a group chat also has a chat type App/src/pages/ReportDetailsPage.tsx Line 250 in 50de692
What changes do you think we should make in order to solve the problem?We should only get the report name by calling
App/src/pages/ReportDetailsPage.tsx Line 250 in 50de692
We also need to fix in LHN here
What alternative solutions did you explore? (Optional) |
@bernhardoj's proposal LGTM!
🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @francoisl, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @ahmedGaber93 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
Not overdue, the issue has just been assigned and we are waiting PR. |
PR is ready cc: @ahmedGaber93 |
I am heading out of office until September 21st, so assigning a buddy to watch over this in my absence. Current status: PR in review |
Triggered auto assignment to @miljakljajic ( |
@bfitzexpensify my leave starts tomorrow so I will leave this with you |
Regression Test Proposal
Do we agree 👍 or 👎 |
@bfitzexpensify Bump for payment, The production deploy automation failed, but based on this deploy checklist #48954 This is issue was due for payment 2024-09-18. |
@bfitzexpensify Bump ^ |
Payment summary: @ahmedGaber93 due $250 for C+ work - offer sent via Upwork |
Requested in ND. |
$250 approved for @bernhardoj |
@bfitzexpensify Offer accepted. |
Payment complete. |
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.21
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:
In group chat, on deleting parent message, the text " Deleted message " must be shown under avatar
Actual Result:
In group chat, on deleting parent message, the text " Deleted message " is not shown under avatar
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6573760_1723805266501.Screenrecorder-2024-08-16-16-08-50-188_compress_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ahmedGaber93The text was updated successfully, but these errors were encountered: