Feature: A new section in the workspace member’s details#45681
Feature: A new section in the workspace member’s details#45681mountiny merged 9 commits intoExpensify:mainfrom
Conversation
|
@parasharrajat 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] |
|
🔁 Reviewing now |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
|
thanks @dubielzyk-expensify , I was literally going to mention that, but thought to address that after the above requested changes |
|
Agree with that @dubielzyk-expensify ! It also looks like we're missing the rounded borders for the card image, notice how they all have sharp corners: |
|
@waterim is this ready for another review ? |
|
Yes, just couldn't reproduce native icons, it was working fine for me |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-07-25.at.12.04.25.AM.movAndroid: mWeb ChromeScreen.Recording.2024-07-25.at.12.07.43.AM.moviOS: NativeScreen.Recording.2024-07-25.at.12.16.33.AM.moviOS: mWeb SafariScreen.Recording.2024-07-25.at.12.17.19.AM.movMacOS: DesktopScreen.Recording.2024-07-24.at.8.09.28.PM.mov |
|
Also @waterim , i still am not able to see the card logo on native, can you share how it looks on your simulator please, thanks :) |
I do remember there being an issue with showing the icons in native, I cannot find it though It was fixed though |
|
lets merge main once and then i will rebuild ?! |
|
@allgandalf it was not recent issue |
|
let me try rebuilding then, will keep you posted here in sometime |
We want more spacing between the Profile option row and the Assigned cards section below. Can you try something like 40px and see how it feels? |
alright, @waterim can you please apply the styling once and share the screenshot here, thanks |
Built clean this time yet the same results :) @mountiny , lets wait for @waterim to see what he sees on his simulator Same results on android too:
|
…e-feeds-members-details
|
@shawnborton Here is an updated UI, is it fine? Added margin top and bottom to profile as you updated in figma |
|
@allgandalf Fixed card and added margin |
|
@shawnborton Sure, updated, I just added top margin to look exactly like we have in figma now |
|
@shawnborton , if this looks good to you, can i start with platform testing? |
|
Where can I find updated screenshots? |
|
@shawnborton Here is an updated screenshot
|
|
Nice I think that looks good! |
|
@allgandalf can you complete the platform testing today, please? |
|
yeah getting to the big screen in 10 👍 |
allgandalf
left a comment
There was a problem hiding this comment.
Approved by design team! I tested on all platforms and LGTM. The issue of not seeing the card icon on native devices is also sorted, this looks good for staging 👍
mountiny
left a comment
There was a problem hiding this comment.
Thanks @waterim and @allgandalf
|
✋ 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/mountiny in version: 9.0.13-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.13-4 🚀
|











Details
Added new card sections and New card button
Fixed Issues
$ #44319
PROPOSAL: N/A
Tests
Pre-step:
Comment out the feature check in the WorkspaceExpensifyCardDetailsPage file, so you can access the screen.
Also don't forget to disable policy?.areExpensifyCardsEnabled here
Navigate to Workspace -> Members
Click on the member
Observe that cards displays correctly
Click on Card and look at details
Navigate to Workspace -> Members
Click on the member
Click on "New card"
Observe that first step was ommited correctly and assigneeEmail was added
Offline tests
Same as tests
QA Steps
None
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web