Skip to content

Thread/LHN - Parent message is not updated in LHN after editing it in thread conversation #61995

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

Closed
6 of 8 tasks
jponikarchuk opened this issue May 14, 2025 · 5 comments
Closed
6 of 8 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@jponikarchuk
Copy link

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.45-6
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/6094905
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: MacBook Air 15.4 Crome, iPhone 15 iOS 18.4.1 Safari
App Component: Left Hand Navigation (LHN)

Action Performed:

  1. Navigate to staging.new.expensify.com and sign in with gmail account
  2. Open any chat and send a message
  3. Start a thread on that message, send some messages
  4. Edit the parent comment in the threaded conversation
  5. Verify that the parent message was updated in the header of the thread and in the LHN

Expected Result:

Parent message is updated in the LHN of the thread conversation after editing it

Actual Result:

Parent message is not updated in LHN after editing it in thread conversation. It gets updated, when user navigates away from the thread and back.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

1.mp4

View all open jobs on GitHub

@jponikarchuk jponikarchuk added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 14, 2025
Copy link

melvin-bot bot commented May 14, 2025

Triggered auto assignment to @Christinadobrzyn (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.

@Burhan-Rashid
Copy link

It is the duplicate issue @jponikarchuk. We are already having same open issue here. #61900

@Burhan-Rashid
Copy link

Proposal

Please re-state the problem that we are trying to solve in this issue.

Thread/LHN - Parent message is not updated in LHN after editing it in thread conversation

What is the root cause of that problem?

while calculating the title/ReportName/ThreadName of LHN we doesn't take into account the parentReportAction attribute, that is why it shows old title instead of the updated one.

const reportName = getReportName(report, policy, undefined, undefined, invoiceReceiverPolicy);
result.text = reportName;

What changes do you think we should make in order to solve the problem?

We need to consider the parentReportAction while calculating the reportName here.

const reportName = getReportName(report, policy, undefined, undefined, invoiceReceiverPolicy);
result.text = reportName;

const reportName = getReportName(report, policy, parentReportAction, undefined, invoiceReceiverPolicy);

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

N/A

What alternative solutions did you explore? (Optional)

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.

@jponikarchuk
Copy link
Author

@Burhan-Rashid It's a same root issue, thanks

@Christinadobrzyn
Copy link
Contributor

Sounds good - thanks for catching that @Burhan-Rashid - closing in favor of #61900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
None yet
Development

No branches or pull requests

3 participants