-
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
Show report in LHN if user is expense report manager without access to parent policyChat #48362
Show report in LHN if user is expense report manager without access to parent policyChat #48362
Conversation
@alitoshmatov 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 |
✋ 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/marcochavezf in version: 9.0.28-0 🚀
|
Hi @Beamanator We need to run this in console to enable policy expense chats, right ? Or it should be created and displayed automatically in NewDot, after creating Controll policy in OldDot? Thank you
|
Hey @izarutskaya - yes correct, thanks for mentioning that, i'll put it in the test steps 🙏 |
@Beamanator @marcochavezf I checked this off without Applause explicitly marking it as a pass. Please perform your own QA and make sure it's working as expected |
🚀 Deployed to production by https://github.com/roryabraham in version: 9.0.28-3 🚀
|
cc @marcochavezf
Details
Background in the issue :D
In this PR, we're making sure the expense report shows in a user's LHN when:
notificationPreferences
are set tohidden
for all participants, so this PR adds a new "hidden override"Fixed Issues
$ https://github.com/Expensify/Expensify/issues/422963
Tests
p = Policy.getCurrent(); p.policy.isPolicyExpenseChatEnabled = "true"; p.save();
submitsTo
is set to Approver 1. Approver 1 and Approver 2 should NOT have aforwardsTo
set.submitsTo
to Approver 2Approve
button in the report headerApprove
, make sure it works w/out errorsOffline tests
Can't be tested offline b/c this relies on policy Owner activity triggering live updates to Approver 1
QA Steps
Same as above
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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2024-08-30.at.1.23.29.PM.mov
MacOS: Desktop