-
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: show RBR when scanning failed #51782
Conversation
!report?.parentReportID || !report?.parentReportActionID ? undefined : allReportActions?.[report.parentReportID ?? '-1']?.[report.parentReportActionID ?? '-1']; | ||
!report?.parentReportID || !report?.parentReportActionID | ||
? undefined | ||
: allReportActions?.[`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.parentReportID ?? '-1'}`]?.[report.parentReportActionID ?? '-1']; |
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.
: allReportActions?.[`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report.parentReportID ?? '-1'}`]?.[report.parentReportActionID ?? '-1']; | |
: allReportActions?.[`${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${report?.parentReportID ?? '-1'}`]?.[report?.parentReportActionID ?? '-1']; |
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.
I believe this would be unnecessary, since report
cannot be undefined
here.
@DylanDylann 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] |
@DylanDylann I'm having some trouble building android. Will upload soon. |
@DylanDylann All test videos are uploaded! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-01.at.12.01.35.movAndroid: mWeb ChromeScreen.Recording.2024-11-01.at.12.00.13.moviOS: NativeScreen.Recording.2024-11-01.at.12.01.00.moviOS: mWeb SafariScreen.Recording.2024-11-01.at.11.59.49.mov |
✋ 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/Julesssss in version: 9.0.57-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.57-10 🚀
|
Explanation of Change
Fixed Issues
$ #50799
PROPOSAL: #50799 (comment)
Tests
Offline tests
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
Screen.Recording.2024-10-31.at.20.23.34.mp4
Android: mWeb Chrome
Screen.Recording.2024-10-31.at.19.15.41.mov
iOS: Native
Screen.Recording.2024-10-31.at.18.22.35.mp4
iOS: mWeb Safari
Screen.Recording.2024-10-31.at.18.25.07.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-10-31.at.18.17.37.mp4
MacOS: Desktop
Screen.Recording.2024-10-31.at.18.57.56.mov