-
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 - Expense - Composer in expense report disappears on Auditor's end after employee submits report #47408
Fix - Expense - Composer in expense report disappears on Auditor's end after employee submits report #47408
Conversation
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. left small review about the code.
@@ -911,6 +911,7 @@ const CONST = { | |||
WRITE: 'write', | |||
SHARE: 'share', | |||
OWN: 'own', | |||
AUDITOR: 'auditor', |
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 have this role in CONST.POLICY.ROLE.AUDITOR
. Probably we can use it instead of adding a new one.
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.
@fedirjh usage of CONST.POLICY.ROLE.AUDITOR
generates a typescript error which is why i added a new one. 👍
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.
can you share what the error was?
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.
I agree the new constant isn't a blocker, we've already duped the persmissions between the CONST.POLICY and CONST.REPORT so not the end of the world, might as well maybe sure they are at least duped fully 😁
✋ 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/bondydaa in version: 9.0.22-0 🚀
|
🚀 Deployed to staging by https://github.com/bondydaa in version: 9.0.22-1 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 9.0.22-9 🚀
|
Details
Fixed Issues
$ #46364
PROPOSAL: #46364 (comment)
Tests
Precondition:
Offline tests
Requires an internet connection.
QA Steps
Same as
Tests
Section.PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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
androidNativeComposer.mp4
Android: mWeb Chrome
mwebChromeComposer.mp4
iOS: Native
iosNativeComposer.mp4
iOS: mWeb Safari
safariComposer1.mp4
MacOS: Chrome / Safari
webComposer.mp4
MacOS: Desktop
desktopComposer.mp4