-
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
General implementation profile page #36426
General implementation profile page #36426
Conversation
# Conflicts: # src/components/Icon/Illustrations.ts # src/libs/API/parameters/index.ts # src/libs/Navigation/linkingConfig/CENTRAL_PANE_TO_RHP_MAPPING.ts # src/libs/Navigation/types.ts # src/pages/workspace/WorkspacePageWithSections.tsx # src/types/onyx/Form.ts
# Conflicts: # src/ONYXKEYS.ts # src/pages/workspace/WorkspaceProfilePage.js # src/types/onyx/Form.ts # src/types/onyx/index.ts
# Conflicts: # src/ROUTES.ts # src/libs/Navigation/AppNavigator/ModalStackNavigators.tsx # src/libs/actions/Policy.ts # src/pages/workspace/WorkspaceProfilePage.js # src/types/form/index.ts
# Conflicts: # src/libs/API/parameters/index.ts
@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] |
@allroundexperts is around to review this now so we can keep moving! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-02-15.at.6.09.20.PM.movAndroid: mWeb ChromeScreen.Recording.2024-02-15.at.6.07.42.PM.moviOS: NativeScreen.Recording.2024-02-15.at.6.01.10.PM.moviOS: mWeb SafariScreen.Recording.2024-02-15.at.5.59.28.PM.movMacOS: DesktopScreen.Recording.2024-02-15.at.5.57.08.PM.mov |
BUG Screen.Recording.2024-02-15.at.6.01.56.PM.mov |
@allroundexperts appreciated for review! Fixed all items you mentioned above |
@narefyev91 Was this fixed as well? |
Yup! Screen.Recording.2024-02-15.at.16.20.34.mov |
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!
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. Thanks for working on this!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Wahooo -- one down! |
🚀 Deployed to staging by https://github.com/luacmartins in version: 1.4.43-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.43-20 🚀
|
imageStyles={[styles.avatarXLarge, styles.alignSelfCenter]} | ||
source={policy.avatar ? policy.avatar : ReportUtils.getDefaultWorkspaceAvatar(policyName)} | ||
fallbackIcon={Expensicons.FallbackWorkspaceAvatar} | ||
<ScrollView> |
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.
@narefyev91 can you confirm nested ScrollView here is intentional?
I think it's redundant as shouldUseScrollView
prop was already passed to WorkspacePageWithSections
.
We wanna remove this in #38248 but just to double confirm to avoid regression.
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.
Hey - it was added to scroll profile page on small devices. But if after removing nested ScrollView - it will work - fully fine with that. Thanks!
Details
Implement General implementation of Profile page, Description page from the Simplified Collect: Profile, Members, Categories design doc
Images for references: (Share button will be introduced in other GH issue)
Fixed Issues
$ #35719
PROPOSAL: #35719
Tests
Open workspace as Admin:
Open workspace in which user joined (but not have the role - Admin):
Offline tests
Open workspace as Admin:
Open workspace in which user joined (but not have the role - Admin):
QA Steps
Open workspace as Admin:
Open workspace in which user joined (but not have the role - Admin):
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
android-web.mov
iOS: Native
ios.mov
iOS: mWeb Safari
ios-web.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov