-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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: Hide current user in approver selector when 'prevent self approvals' is enabled. #54005
fix: Hide current user in approver selector when 'prevent self approvals' is enabled. #54005
Conversation
…als' is enabled. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
Signed-off-by: krishna2323 <belivethatkg@gmail.com>
I managed to reproduce a bug: I can still select the same user as approver and "spender" at the same time:
MacOS: Chrome / SafariScreen.Recording.2024-12-12.at.09.51.32.mov@Krishna2323 Can you reproduce it too? I believe it is still in the scope of the issue, what do you think? |
…val is true. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
@brunovjk, thanks a lot for catching the bug 🙇🏻. I have updated the code and test steps. Monosnap.screencast.2024-12-12.18-44-46.mp4 |
Reviewer Checklist
Screenshots/VideosAndroid: Native53612_android_native.movAndroid: mWeb Chrome53612_android_web.moviOS: Native53612_ios_native.moviOS: mWeb Safari53612_ios_web.movMacOS: Chrome / Safari53612_web_chrome.movMacOS: Desktop53612_web_desktop.mov |
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.
Looking good to me 🚀
✋ 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/marcaaron in version: 9.0.76-0 🚀
|
🚀 Deployed to production by https://github.com/grgia in version: 9.0.76-12 🚀
|
Explanation of Change
Fixed Issues
$ #53612
PROPOSAL: #53612 (comment)
Tests
Expenses from
field > verify the approver doesn't appear onExpenses from
pageOffline tests
Expenses from
field > verify the approver doesn't appear onExpenses from
pageQA Steps
Expenses from
field > verify the approver doesn't appear onExpenses from
pagePR 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
android_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
Monosnap.screencast.2024-12-12.18-44-46.mp4
MacOS: Desktop
desktop_app.mp4