-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat: update ProfilePage #42188
feat: update ProfilePage #42188
Conversation
6c55eb2
to
6cb2ef2
Compare
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 👍
Yeah I can get down with that! It does look a bit massive when it's full-width haha. |
Yeah that's clever and also making sure that it's centered which I'm sure it would be anyways :) |
Thanks! I will update it in the #41972 PR, as this is where we've introduced the PromotedActionBar. |
And then for posterity, can you show us what it looks like when there are 2 or more buttons here? Just to make sure we got the styles correct. Thanks! |
I will follow up in the original PR #41972 so as not to duplicate the discussion :D |
@kosmydel Is this PR ready for C+ review? |
@trjExpensify I started testing. I should be able to complete the checklist today. @kosmydel There's a new merge conflict. Please check. |
I've resolved the conflicts ✅ |
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.
Code changes LGTM, going to make a test build for design review
building... |
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
@kosmydel The Pin button on the profile page doesn't show up until after you have opened a DM with a user. Just confirming that this is the expected behaviour. Thanks. |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safari42188-web.mp4 |
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 production by https://github.com/Julesssss in version: 1.4.79-11 🚀
|
return null; | ||
} | ||
|
||
if (promotedActions.length === 0) { | ||
return null; | ||
} | ||
|
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.
@kosmydel Any specific reason why the additional identical early return is needed here ?
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.
Oh, it must have been added by mistake.
Details
This PR refactors the
DetailsPage
component to use the new design described in the design doc.This PR base is another PR, so to see changes only from this PR you can use this link.
Fixed Issues
$ #42077
PROPOSAL: N/A
Tests
#exfy-roadmap
: /r/868417741568295)Offline tests
N/A
QA Steps
Tests
section.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 & iOS: Native
native.mov
Android & iOS: mWeb
mweb.mov
MacOS: Chrome / Safari
MacOS: Desktop