You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] Chat - Invited user's time is shown above compose box #66648
Version Number: 9.1.81-3 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
changed the title [-]Chat - Invited user's time is shown above compose box[/-][+][$250] Chat - Invited user's time is shown above compose box[/+]on Jul 17, 2025
What changes do you think we should make in order to solve the problem?
If we don't want to show the time in track expense thread, we can follow the existing approach as checking the root parent report and make sure it's not self DM.
!isSelfDM(getRootParentReport({report})) &&
If we want to show the time only in 1:1 chat, then we can use isOneOnOneChat instead.
Activity
melvin-bot commentedon Jul 17, 2025
Triggered auto assignment to @maddylewis (
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.[-]Chat - Invited user's time is shown above compose box[/-][+][$250] Chat - Invited user's time is shown above compose box[/+]melvin-bot commentedon Jul 17, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021945892449083369533
melvin-bot commentedon Jul 17, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia (
External)bernhardoj commentedon Jul 18, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
When we invite user to track expense thread, the invited user time is shown above composer.
What is the root cause of that problem?
We show the time based on
canShowReportRecipientLocalTime. All the conditions are satisfied.App/src/libs/ReportUtils.ts
Lines 2595 to 2609 in 5c2f566
What changes do you think we should make in order to solve the problem?
If we don't want to show the time in track expense thread, we can follow the existing approach as checking the root parent report and make sure it's not self DM.
If we want to show the time only in 1:1 chat, then we can use
isOneOnOneChatinstead.If we use this, the time won't show in thread anymore.
We can adjust the condition based on the requirement.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
We can test
canShowReportRecipientLocalTimeand verify it returns false for self DM track expense thread.nabi-ebrahimi commentedon Jul 18, 2025
can not reproduce it.
thesahindia commentedon Jul 20, 2025
I don't think it's a bug. @maddylewis, could you please confirm?
kaushiktd commentedon Jul 23, 2025
Issue is not reproduce.
maddylewis commentedon Jul 23, 2025
#66648 (comment)
bernhardoj commentedon Jul 23, 2025
@maddylewis it's still reproducible. You need to type a validated (existing chat) user as the mention.
bernhardoj commentedon Jul 25, 2025
bump @maddylewis
bernhardoj commentedon Aug 4, 2025
@maddylewis can you recheck this one please?