-
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
Deprecate POLICY_MEMBERS #39489
Deprecate POLICY_MEMBERS #39489
Conversation
@eVoloshchak 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] |
…hanges from WorkspaceMembersPage
@eVoloshchak @luacmartins But before filling out the checklist, I would like to fix one bug that creates problems with displaying elements @luacmartins |
Looking! |
I raised an internal PR to fix that issue. @ZhenjaHorbach did you see the incorrect shape being returned in any other API endpoints? |
For all the time I tested |
Sounds good, thanks for confirming! That PR should be deployed in the next couple of days. @eVoloshchak we can continue reviewing this one and treat that as NAB for now. |
Although if we compare POLICY_MEMBERS and POLICY But this is a small problem) |
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, just a few small comments
src/pages/workspace/members/WorkspaceMemberDetailsRoleSelectionPage.tsx
Outdated
Show resolved
Hide resolved
👋 We have conflicts here! @ZhenjaHorbach can you address them today, please? Thanks! |
Hello ) |
@trjExpensify |
I looked at what was done here, looks great overall, thanks a lot for taking the time to clean this up and improve it! 👍 |
Web-E PR is in staging. We can merge this after today's web deploy |
FYI, conflicts |
Web-E is in prod. Removing hold and merging. |
✋ 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/luacmartins in version: 1.4.63-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|
value: { | ||
[sessionAccountID]: null, | ||
pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, |
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.
we should had cleared the policy data after successfully leaving a workspace and not put the pendingAction to delete. This change caused #43436
{ | ||
onyxMethod: Onyx.METHOD.MERGE, | ||
key: `${ONYXKEYS.COLLECTION.POLICY}${policyID}`, | ||
value: { | ||
pendingAction: CONST.RED_BRICK_ROAD_PENDING_ACTION.DELETE, | ||
employeeList: { | ||
[sessionEmail]: { |
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.
Details
Fixed Issues
$ #39376
PROPOSAL: #39376 (comment)
Tests
Offline tests
QA Steps
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_53PpKTmv.mp4
Android: mWeb Chrome
android_53PpKTmv.mp4
iOS: Native
screen-recording-2024-04-10-at-095336_HZtOZKoD.mp4
iOS: mWeb Safari
ios-web_u4b22UV5.mp4
MacOS: Chrome / Safari
web_4GP3iVyI.mp4
MacOS: Desktop
desktop_LGtQ0qQS.mp4