-
Notifications
You must be signed in to change notification settings - Fork 3k
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] Chat - For removed user system message, reply in thread page header doesn't shown mentions #54621
Comments
Triggered auto assignment to @slafortune ( |
Edited by proposal-police: This proposal was edited at 2024-12-27 14:10:53 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - For removed user system message, reply in thread page header doesn't shown mentions What is the root cause of that problem?We are not specifically handling member change parent actions in getReportName just like we did for context menu action to parse the mentions App/src/pages/home/report/ContextMenu/ContextMenuActions.tsx Lines 412 to 414 in 12e0941
so it is falling back to the report action message parsed without the mentions What changes do you think we should make in order to solve the problem?We should handle it specifically here to align how they are displayed in ReportActionItemMessage below here or above here
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We can add a test for getReportName to assert it returns the correct report name for chat threads with this type of parent report action What alternative solutions did you explore? (Optional)If needed we can also make the LHN text consistent but it looks like we are intentionally displaying |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
Line 3913 in 12e0941
but does not match the assumed HTML format.
What changes do you think we should make in order to solve the problem?
then use it in here and here instead of raw html. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)
Line 3913 in 12e0941
to make sure to match both
|
Edited by proposal-police: This proposal was edited at 2024-12-31 05:17:07 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.For removed user system message, reply in thread page header doesn't shown mentions What is the root cause of that problem?We've already handled the invite/remove message for parent report action of a thread message here Lines 4072 to 4074 in 12e0941
But this function always returns early because we're using the Lines 3835 to 3837 in 12e0941
Line 3886 in dae99d1
So the thread header only shows What changes do you think we should make in order to solve the problem?
Lines 3835 to 3837 in 12e0941
App/src/libs/ReportActionsUtils.ts Line 1186 in 8921546
and for the header, we use Line 3843 in 8921546
That is inconsistent we also need to fix it by using the same function What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?We need to add a test case for What alternative solutions did you explore? (Optional)NA Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Job added to Upwork: https://www.upwork.com/jobs/~021873792561565329294 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
@mkzie2's proposal look promissing
But I see the inconsistency in the header (displayName) and action (email) for users who have displayName. Can you check it? |
@dukenv0307 The reason is for the action, we use App/src/libs/ReportActionsUtils.ts Line 1186 in 8921546
and for the header, we use Line 3843 in 8921546
We should only use one of them for both places. Updated proposal. |
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.0.79-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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
Component: Chat Report View
Attachments
Drag a file
Action Performed:
Expected Result:
For removed user system message, reply in thread page header must show mentions
Actual Result:
For removed user system message, reply in thread page header doesn't shown mentions
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6702967_1735305558950.Screenrecorder-2024-12-27-18-39-29-74_compress_1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @dukenv0307The text was updated successfully, but these errors were encountered: