-
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
Fix - An employee can access in a paid IOU the tag selection menu via a URL request #37176
Fix - An employee can access in a paid IOU the tag selection menu via a URL request #37176
Conversation
@ishpaul777 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/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
Screenshots/VideosAndroid: NativeScreen.Recording.2024-03-05.at.2.36.35.AM.movScreen.Recording.2024-03-05.at.2.39.36.AM.movAndroid: mWeb ChromeScreen.Recording.2024-02-27.at.1.48.00.AM.moviOS: NativeScreen.Recording.2024-03-05.at.2.19.09.AM.moviOS: mWeb SafariScreen.Recording.2024-02-27.at.1.20.18.AM.movMacOS: Chrome / SafariScreen.Recording.2024-02-26.at.1.51.21.AM.movMacOS: DesktopScreen.Recording.2024-02-27.at.2.32.23.AM.mov |
back button position doesn't seem to correct @FitseTLT |
@ishpaul777 Proceed with your review |
@FitseTLT can you merge main behind 700+ commits |
Merged |
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!
@FitseTLT please update videos as the recorded was added before latest commits and has the bug #37176 (comment) visible |
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.
Looks great as is.
NAB: Should we make this the default behavior for the step screen wrapper? Internally it could set shouldShowNotFoundPage if you are editing and are not allowed to. If you want to do this in a follow up, please raise another PR and tag me for review.
@@ -12,7 +12,9 @@ import compose from '@libs/compose'; | |||
import * as IOUUtils from '@libs/IOUUtils'; | |||
import Navigation from '@libs/Navigation/Navigation'; | |||
import * as PolicyUtils from '@libs/PolicyUtils'; | |||
import {canEditMoneyRequest} from '@libs/ReportUtils'; |
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: I think we generally prefer import * in our style, but I can't actually find a rule about that.
✋ 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/neil-marcellini in version: 1.4.48-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.48-0 🚀
|
const parentReportAction = parentReportActions[report.parentReportActionID]; | ||
|
||
// eslint-disable-next-line rulesdir/no-negated-variables | ||
const shouldShowNotFoundPage = isEditing && !canEditMoneyRequest(parentReportAction); |
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.
While updating not found logic here, the case of P2P request could also have been considered as it doesn't make sense to show tags page in P2P.
Issue: #37207
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.
Don't know how this pr is considered as the offending PR to that issue as it wasn't merged when that issue was created and this pr is still younger than yours 😄
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.
There's no specific offending PR for #37207.
I also didn't say that this one is the offending PR but just missing case.
Details
Fixed Issues
$ #36264
PROPOSAL: #36264 (comment)
Tests
Offline tests
same
QA Steps
same
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label 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.native.mp4
Android: mWeb Chrome
android.web.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
ios.web.mp4
MacOS: Chrome / Safari
web.mp4
MacOS: Desktop
desktop.mp4