-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Deprecated Policy Role in favor of employeeList #40178
Deprecated Policy Role in favor of employeeList #40178
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Desktop |
@shubham1206agra do we need to update App/src/libs/actions/Report.ts Line 2629 in b35d357
App/src/libs/actions/Policy.ts Line 1059 in f7cc0af
and |
And could you add some test steps? covering the flows this PR touches? |
@shubham1206agra will you be able to jump on those today, please? Thanks! |
These places do not need any changes. |
@shubham1206agra including |
Can you point me please? |
Here @shubham1206agra |
Well, this is inside employeeList, not on the policy. |
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.
couple of minor comments
@marcochavezf I am seeing a bug where employeeList (for workspace where I am admin) is not populated on login. Its coming out to be blank array. After clicking on members tab in workspace. Then it gets populated correctly. |
@marcochavezf internal discussion related with ^ here: https://expensify.slack.com/archives/C03TQ48KC/p1713466124258669 |
@shubham1206agra Let's keep using |
@marcochavezf It gets populated whenever I click on Members. So we should either hold this PR until a BE fix has been made or ignore this bug. |
Well it defeats the purpose of this PR. |
Indeed. After internally reviewing what we're trying to do here, we decided that
As such, we're going to have to close this PR. I recommend that we still pay @getusha for the work done since we led them astray unintentionally. |
@flodnv What about me? |
Uhhh sorry about that, I meant to type your handle 😅 We should pay both @shubham1206agra and @getusha |
Let's close this PR. I've sent offers on the issue. |
Details
Fixed Issues
$ #39025
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
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
Screen.Recording.2024-04-18.at.9.49.51.PM.mov
iOS: Native
Screen.Recording.2024-04-18.at.9.58.46.PM.mov
iOS: mWeb Safari
Screen.Recording.2024-04-18.at.9.40.22.PM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-18.at.9.26.21.PM.mov
MacOS: Desktop
Screen.Recording.2024-04-18.at.9.53.55.PM.mov