-
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
UI MoneyRequestHeader Polish #18775
UI MoneyRequestHeader Polish #18775
Conversation
{isExpenseReport ? ( | ||
<SubscriptAvatar | ||
backgroundColor={themeColors.highlightBG} |
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.
This is taken from MoneyRequestHeader
@Julesssss @0xmiroslav One of you needs to 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] |
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. I'm going to cc Shawn for a final design review.
I kicked off an automated builds run here. Once complete, I'll share the links with Shawn for review. |
I will review and checklist in a few hrs |
@Julesssss the automated build failed https://github.com/Expensify/App/actions/runs/4956770413 |
Forgot to add the label, re-running now. |
Also, please pull from |
@0xmiroslav
This is based on |
No issue but just for safety (207 commits behind is not small diff). PR itself is fine but after merge, might conflict with another PR as I've seen a few cases recently. |
Key notes:
I think the rest is self-explanatory. cc @shawnborton |
[CONST.AVATAR_SIZE.SMALL_SUBSCRIPT]: 2, | ||
[CONST.AVATAR_SIZE.SMALL_SUBSCRIPT]: 1, |
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.
This was based on the removed border width from secondAvatarSubscriptCompact
.
Looks good to me! |
@s77rt is this ready for review? |
@0xmiroslav Yes. There are still 2 other enhancements but we may move those to a follow up PR. You can review this one as is. |
Let's merge main into this branch and see if that still happens |
I don't think we should merge it with failing tests. |
yeah we cannot merge this as then all PRs would be failing. |
Oh I meant to pull main since this branch is 445 commits behind |
Sorry I thought the failing test was the old unread indicator one, it's another one. Fix is on the way. |
ff1d770
Ok we should be good to go 🚀 |
UI MoneyRequestHeader Polish (cherry picked from commit bd6743c)
…-18775 🍒 Cherry pick PR #18775 to staging 🍒
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 1.3.14-11 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/yuwenmemon in version: 1.3.14-14 🚀
|
🚀 Cherry-picked to staging by https://github.com/AndrewGable in version: 1.3.28-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.28-5 🚀
|
</View> | ||
<Tooltip text={props.secondaryTooltip}> | ||
<Avatar | ||
imageStyles={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.
Hi this PR caused #19905
More details - #19905 (comment)
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 @rushatgabhane We didn't test with a real image indeed. Nice catch!
Details
<ReportActionItemCreated />
(welcome message, avatars and bg art) will be rendered only if the report is a chat report.Fixed Issues
$ #18773
Tests
Same as #18537 but request money from a workspace/user with a very long name
Offline tests
n/a
QA Steps
same as Tests ^
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
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android