Conversation
6c55eb2 to
6cb2ef2
Compare
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 ✅ |
grgia
left a comment
There was a problem hiding this comment.
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 |
|
✋ 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.
@kosmydel Any specific reason why the additional identical early return is needed here ?
There was a problem hiding this comment.
Oh, it must have been added by mistake.







Details
This PR refactors the
DetailsPagecomponent 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
Testssection.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android & iOS: Native
native.mov
Android & iOS: mWeb
mweb.mov
MacOS: Chrome / Safari
MacOS: Desktop