Fix "Delete expense" option appears for paid tracked workspace expense#44069
Merged
NikkiWines merged 3 commits intoExpensify:mainfrom Jun 26, 2024
Merged
Conversation
Contributor
|
A typo in QA step -12. Verify there is no Delete expense option
+12. Verify there is Delete expense option |
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: Native0-android.mp4Android: mWeb Chrome0-mobile-chrome.mp4iOS: Native0-ios.mp4iOS: mWeb Safari0-mobile-safari.mp4MacOS: Chrome / Safari0-web.mp4MacOS: Desktop0-desktop.mp4 |
eh2077
approved these changes
Jun 20, 2024
Contributor
eh2077
left a comment
There was a problem hiding this comment.
Looks good and tested well
Contributor
Author
Upated, thanks! |
Contributor
|
Will take a look at this first thing tomorrow, sorry for the delay |
NikkiWines
requested changes
Jun 25, 2024
Contributor
NikkiWines
left a comment
There was a problem hiding this comment.
One small comment otherwise looks godo
| const [isDeleteModalVisible, setIsDeleteModalVisible] = useState(false); | ||
| const [shouldShowHoldMenu, setShouldShowHoldMenu] = useState(false); | ||
| const moneyRequestReport = parentReport; | ||
| const isSelfDMTrack = ReportUtils.isTrackExpenseReport(report) && ReportUtils.isSelfDM(parentReport); |
Contributor
There was a problem hiding this comment.
NAB: variable clarity
Suggested change
| const isSelfDMTrack = ReportUtils.isTrackExpenseReport(report) && ReportUtils.isSelfDM(parentReport); | |
| const isSelfDMTrackExpenseReport = ReportUtils.isTrackExpenseReport(report) && ReportUtils.isSelfDM(parentReport); |
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
85 tasks
Contributor
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 9.0.3-7 🚀
|
6 tasks
Contributor
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.5-13 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
The delete expense option still shows for paid tracked workspace expense. This PR fix it.
Fixed Issues
$ #43591
PROPOSAL: #43591 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
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-06-20.at.17.39.37.mov
Android: mWeb Chrome
android.mweb.1.mov
android.mweb.2.mov
iOS: Native
Screen.Recording.2024-06-20.at.17.11.45.1.mov
iOS: mWeb Safari
ios.mweb.1.mov
ios.mweb.2.mov
MacOS: Chrome / Safari
web.1.mov
MacOS: Desktop
Screen.Recording.2024-06-20.at.17.09.40.1.mov