-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Show duplicate red dot error in conversation & report #47056
Conversation
@thesahindia 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] |
Reviewer Checklist
Screenshots/Videos |
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.
Works well!
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.
LGTM
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@nyomanjyotisa @stitesExpensify @thesahindia any thoughts on ^? Is this a deploy blocker? |
oh wait the bug already exists in prod, right? I think this is NAB |
FYI I believe this was deployed to prod yesterday, from this checklist - #47219 |
@@ -137,6 +131,16 @@ function MoneyRequestPreviewContent({ | |||
[transaction?.transactionID, transactionViolations], | |||
); | |||
|
|||
const hasDuplicates = duplicates.length > 0; |
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.
Coming from #52243, there is a mismatch on showing RBR on ReportPreview
and in MoneyRequestPreviewContent
because here we just check for the amount of the duplicates violation without checking whether the permission is enabled or not, which is different form hasWarningTypeViolations
that used here. And it fixed here #52994
Details
Fixed Issues
$ #46375
PROPOSAL: #46375 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
Show-duplicate-red-dot-error-in-conversation-report-by-nyomanjyotisa-.-Pull-Request-47056-.-Expensify-App.1.mp4
Android: mWeb Chrome
Show-duplicate-red-dot-error-in-conversation-report-by-nyomanjyotisa-.-Pull-Request-47056-.-Expensify-App.2.mp4
iOS: Native
iOS: mWeb Safari
RPReplay_Final1723115062.1.mov
MacOS: Chrome / Safari
-1-New-Expensify.19.mp4
MacOS: Desktop
Show-duplicate-red-dot-error-in-conversation-report-by-nyomanjyotisa-.-Pull-Request-47056-.-Expensify-App.mp4