-
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
Make members page read only #37700
Make members page read only #37700
Conversation
Ok, I have the videos for each platform but the plane wifi is not cooperating so I'll update them later. Other than that I think this PR is good to go. |
@Expensify/design |
Ok, uploaded all videos |
Awesome, thanks! Yeah, I think we had a change of heart in a thread regarding the alignment - here it is for more context. |
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.
One comment added
Cool, updated the PR aligning the |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-03-05.at.9.58.57.PM.movAndroid: mWeb ChromeScreen.Recording.2024-03-05.at.9.57.55.PM.moviOS: NativeScreen.Recording.2024-03-05.at.9.56.24.PM.moviOS: mWeb SafariScreen.Recording.2024-03-05.at.9.55.01.PM.movMacOS: Chrome / SafariScreen.Recording.2024-03-05.at.9.46.35.PM.movScreen.Recording.2024-03-05.at.9.48.15.PM.movMacOS: DesktopScreen.Recording.2024-03-05.at.9.51.03.PM.mov |
@luacmartins I'm seeing ![]() |
@luacmartins Not sure if its reported before, but we're showing even the workspace member as an admin if we're logged in as that member. |
{ | ||
translationKey: 'workspace.common.members', | ||
icon: Expensicons.Users, | ||
action: singleExecution(waitForNavigate(() => Navigation.navigate(ROUTES.WORKSPACE_MEMBERS.getRoute(policyID)))), | ||
brickRoadIndicator: hasMembersError ? CONST.BRICK_ROAD_INDICATOR_STATUS.ERROR : undefined, | ||
routeName: SCREENS.WORKSPACE.MEMBERS, | ||
}, |
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.
Do we want to show this to the members of free workspaces as well?
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.
Yes, AFAIK we'll have a single members page for both free/paid workspaces.
@allroundexperts pushed a fix for both issues |
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.
Looks good!
@chiragsalian 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] |
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/chiragsalian in version: 1.4.48-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.48-0 🚀
|
Details
Makes the members page available as read-only for workspace members
cc @burczu
Fixed Issues
$ #35714
Tests
Pre-requisite: a member account belonging to a Collect workspace with Workspace chats enabled
Settings > Workspace
Members
pageOffline tests
N/A
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 methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.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 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.mov
Android: mWeb Chrome
chrome.mov
iOS: Native
ios.mov
iOS: mWeb Safari
safari.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov