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] [Search v2.2] – All messages from pinned chat are displayed in search pinned section #49570
Version Number: 9.0.39-0 Reproducible in staging?: Y Reproducible in production?: N/A - new feature, doesn't exist in prod Issue was found when executing this PR:#49186 Email or phone of affected tester (no customers):gocemate+a2244@gmail.com Issue reported by: Applause Internal Team
Action Performed:
Navigate to LHN> Pin any 1:1 chat that have messages from other user
Go to Search> Chat> Pinned
Take a look at chats in this section> Open few messages and take a look at the green line
Expected Result:
Pinned chat should be present in Pinned section and when open a message green line should remain on the first unread message
Actual Result:
All messages between users from pinned chat are displayed in search pinned section. When open few messages green line change it's position
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
I don't think this is a deploy blocker. All messages showing up is the expected behavior. Only thing that needs to be fixed is the unread marker jumping around.
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
We are not updating unread marker time when the last unread report action deleted
What changes do you think we should make in order to solve the problem?
We can update unread marker time when some of the report actions deleted, we can add new condition to indicate some report action deleted add this condition: mostRecentReportActionCreated >= prevMostRecentReportActionCreated
What alternative solutions did you explore? (Optional)
To maintain the unread marker visible after repeated search clicks, lastReadTime should not be updated in openReport. A backend modification is needed to introduce a new parameter shouldUpdateLastReadTime set to true for routes other than SCREENS.SEARCH.REPORT_RHP.
Also wrap setUnreadMarkerTime in src/pages/home/report/ReportActionsList.tsx with the REPORT_RHP check
Activity
melvin-bot commentedon Sep 21, 2024
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.github-actions commentedon Sep 21, 2024
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Sep 21, 2024
Triggered auto assignment to @nkuoch (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.IuliiaHerets commentedon Sep 21, 2024
We think that this bug might be related to #wave-control
luacmartins commentedon Sep 22, 2024
I don't think this is a deploy blocker. All messages showing up is the expected behavior. Only thing that needs to be fixed is the unread marker jumping around.
24 remaining items
wildan-m commentedon Sep 25, 2024
@rayane-djouah sure. Thanks for mentioning that @QichenZhu
wildan-m commentedon Sep 26, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
We are not updating unread marker time when the last unread report action deleted
What changes do you think we should make in order to solve the problem?
We can update unread marker time when some of the report actions deleted, we can add new condition to indicate some report action deleted add this condition:
mostRecentReportActionCreated >= prevMostRecentReportActionCreatedChange this code to:
What alternative solutions did you explore? (Optional)
To maintain the unread marker visible after repeated search clicks,
lastReadTimeshould not be updated inopenReport. A backend modification is needed to introduce a new parametershouldUpdateLastReadTimeset to true for routes other thanSCREENS.SEARCH.REPORT_RHP.Also wrap
setUnreadMarkerTimeinsrc/pages/home/report/ReportActionsList.tsxwith theREPORT_RHPcheckwildan-m commentedon Sep 26, 2024
Proposal Updated
melvin-bot commentedon Sep 30, 2024
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
luacmartins commentedon Oct 1, 2024
@rayane-djouah let me know what you think of the updated proposal #49570 (comment)
rayane-d commentedon Oct 2, 2024
@luacmartins This bug is no longer reproducible because it was caused by PR #48445, which was reverted in PR #49770. I think we can close this issue.
@IuliiaHerets Could you please retest and confirm whether this issue is no longer reproducible?
Screen.Recording.2024-10-02.at.3.06.19.PM.mov
luacmartins commentedon Oct 2, 2024
Cool, I agree. Let's close this out once @IuliiaHerets confirms.
IuliiaHerets commentedon Oct 2, 2024
@luacmartins This bug report contains two issues.
Recording.4219.mp4
luacmartins commentedon Oct 2, 2024
Thanks for confirming!
Yes, this is expected
luacmartins commentedon Oct 2, 2024
Cool, seems like the issue here is resolved. Closing.