Open lanitochka17 opened 1 week ago
Triggered auto assignment to @JmillsExpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
When the user deletes a thread message, it disappears for a short while and then reappears
This arises from https://github.com/Expensify/App/pull/43518, the reportID
now contains the reportID
of the report where the action belongs to (the ancestor tree is lifted 1 level above).
So when we delete the comment, reportID
does not point to the current thread report >> isDeletedParentAction
is false
because it compares the reportID
with childReportID
>> Comment is hidden instead of [Deleted message]
:
Let's hold this for https://github.com/Expensify/App/pull/51721 where they introduced isThreadFirstChat
prop. This will help determining isDeletedParentAction
based on whether it is rendered by ReportActionItemParentAction
instead of relying on reportID
.
@JmillsExpensify Huh... This is 4 days overdue. Who can take care of this?
Low priority but we have two proposals outstanding, so I'm going to open this up to the community.
Job added to Upwork: https://www.upwork.com/jobs/~021856693071374545175
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (External
)
Let's hold this for #51721 where they introduced
isThreadFirstChat
prop. This will help determiningisDeletedParentAction
based on whether it is rendered byReportActionItemParentAction
instead of relying onreportID
.
Waiting on ^
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.58-1 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A 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:
A thread message should remain visible and not disappear after deleting it
Actual Result:
When the user deletes a thread message, it disappears for a short while and then reappears
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/3c526c02-1b86-4831-8557-40220d894b0d
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @thesahindia