-
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
Fix new message marker shows on a system message in a one-expense report #53555
Fix new message marker shows on a system message in a one-expense report #53555
Conversation
… system message in a one-expense report
@hungvu193 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@bernhardoj Please fix linting |
I think we broke the Screen.Recording.2024-12-05.at.10.04.31.mov |
It's repro on prod too. The change we did here is only fixing the initial value of the prod.mp4 |
Oh ok, it doesn't happen on Staging, probably a DB from another PR 🤔. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeUploading Screen Recording 2024-12-05 at 09.59.20.mov… Android: mWeb ChromemChrome.moviOS: NativeScreen.Recording.2024-12-05.at.09.57.22.moviOS: mWeb SafariScreen.Recording.2024-12-05.at.09.59.20.movMacOS: Chrome / SafariScreen.Recording.2024-12-05.at.09.39.09.movMacOS: DesktopScreen.Recording.2024-12-05.at.09.46.55.mov |
Reported above inside in slack: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small request for a comment, otherwise this LGTM
@@ -211,6 +211,8 @@ function ReportActionsList({ | |||
return ReportConnection.getReport(report.reportID)?.lastReadTime ?? report.lastReadTime ?? ''; | |||
}, [report.reportID, report.lastReadTime]); | |||
|
|||
const lastReadTime = transactionThreadReport?.lastReadTime && transactionThreadReport.lastReadTime > reportLastReadTime ? transactionThreadReport.lastReadTime : reportLastReadTime; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a comment explaining why this is necessary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/rafecolton in version: 9.0.73-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.73-8 🚀
|
Explanation of Change
Fixed Issues
$#53000
PROPOSAL: #53000 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop