-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Update should show condition for some violations #65239
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
|
@mananjadhav 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] |
@nkdengineer The code changes seem fine but in which scenario do we get. The reason I asked is I am working on #52049 (comment) and I am clarifying if such rejection which at the moment is passed in the
|
Is it crashing for you on main as well? |
Quick bump @nkdengineer |
What do you mean here? |
Yes. |
Ignore this one. I've got it answered on the linked issue.
Can you sync with the latest main and see if it works for you |
Still crashing. |
@nkdengineer Are you aware if Can you please resolve the conflicts? |
@mananjadhav I think it's not a big deal since it's just the mock data for testing.
I updated. |
Reviewer Checklist
Screenshots/Videos |
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
✋ 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/Valforte in version: 9.1.81-0 🚀
|
@nkdengineer This PR is failing with this issue. |
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.81-7 🚀
|
Explanation of Change
update should show condition for some violations
Fixed Issues
$ #63894
PROPOSAL: #63894 (comment)
Tests
Precondition: Create a workspace and invite an employee. As an employee, open WS chat and create some expenses
autoReportedRejectedExpense
violation: should be shown if he user is the report submittertransactionID
with the current ID of the transaction). Verify that theautoReportedRejectedExpense
error appears.autoReportedRejectedExpense
error also appears.autoReportedRejectedExpense
doesn't appear since it only appears for the submitteroverAutoApprovalLimit
: should be shown if the user is an admin of the workspace the report is on. This violation isn't shown to the report submitter since they can't do anything about ittransactionID
with the current ID of the transaction). Verify that theoverAutoApprovalLimit
error doesn't appear.overAutoApprovalLimit
error doesn't appear.overAutoApprovalLimit
appearsrter
: should be shown if the user is the submitter, or the workspace is not on instant submittransactionID
with the current ID of the transaction). Verify that therter
error appears.rter
error also appears.rter
appears if the workspace isn't instant submitreceiptNotSmartScanned
: should be shown if all the following are true: The user has access to the workspace. The user is not the submitter. The user is not a workspace admin or the report isn't opentransactionID
with the current ID of the transaction). Verify that thereceiptNotSmartScanned
error doesn't appear.receiptNotSmartScanned
error also appears.receiptNotSmartScanned
appearsOffline tests
QA Steps
Same as test
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectioncanBeMissing
param foruseOnyx
toggleReport
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.2025-07-01.at.16.47.07.mov
Screen.Recording.2025-07-01.at.16.52.52.mov
Android: mWeb Chrome
iOS: Native
Screen.Recording.2025-07-01.at.16.47.38.mov
Screen.Recording.2025-07-01.at.16.50.24.mov
iOS: mWeb Safari
Screen.Recording.2025-07-01.at.16.35.24.mov
Screen.Recording.2025-07-01.at.16.37.44.mov
MacOS: Chrome / Safari
Screen.Recording.2025-07-01.at.16.30.23.mov
Screen.Recording.2025-07-01.at.16.33.04.mov
MacOS: Desktop
Screen.Recording.2025-07-01.at.16.48.14.mov
Screen.Recording.2025-07-01.at.16.49.10.mov