-
Notifications
You must be signed in to change notification settings - Fork 3.5k
fix: unable to dismiss deleted rate error #47489
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
Conversation
luacmartins
left a comment
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
Reviewer Checklist
Screenshots/VideosAndroid: Native47489-android-native.mp4Android: mWeb Chrome47489-android-chrome.mp4iOS: Native47489-ios-native.mp4iOS: mWeb Safari47489-ios-safari.mp4MacOS: Chrome / Safari47489-web.mp4MacOS: Desktop47489-desktop.mp4 |
| onClose={() => ReportActions.clearAllRelatedReportActionErrors(report.reportID, action)} | ||
| onClose={() => { | ||
| const transactionID = ReportActionsUtils.isMoneyRequestAction(action) ? ReportActionsUtils.getOriginalMessage(action)?.IOUTransactionID : undefined; | ||
| if (transactionID) { |
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.
@daledah, a small problem, do we also need to check if linkedTransactionRouteError is true here? This might help avoid unexpected action? 🤔
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.
no feedback yet, and considering that clearAllRelatedReportActionErrors is also trying to clear all the errors in the action, I won’t let my previous concern be a blocker, and will fill the check list soon. :)
ntdiary
left a comment
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.
![]()
| > | ||
| <OfflineWithFeedback | ||
| onClose={() => ReportActions.clearAllRelatedReportActionErrors(report.reportID, action)} | ||
| onClose={() => { |
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.
NAB we could declare a function for this to leave the render logic a bit cleaner
|
✋ 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/luacmartins in version: 9.0.22-0 🚀
|
|
🚀 Deployed to staging by https://github.com/luacmartins in version: 9.0.22-1 🚀
|
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.22-9 🚀
|
Details
Fixed Issues
$ #47279
PROPOSAL: #47279 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Screen.Recording.2024-08-15.at.16.21.27.mp4
Android: mWeb Chrome
Screen.Recording.2024-08-15.at.16.07.50.mp4
iOS: Native
Screen.Recording.2024-08-15.at.16.36.54.mp4
iOS: mWeb Safari
Screen.Recording.2024-08-15.at.16.31.33.mp4
MacOS: Chrome / Safari
Screen.Recording.2024-08-15.at.15.57.09.mp4
MacOS: Desktop
Screen.Recording.2024-08-15.at.16.43.53.mp4