-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Feature: A new section in the workspace member’s details #45681
Feature: A new section in the workspace member’s details #45681
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 👍 |
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.
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 👍
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.
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 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)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web