Fixed LHN avatars#33042
Conversation
|
@shubham1206agra Thanks for the PR, generally looks good just one small issue: in this design the expense report has the workspace icon first but in this PR it's the other way around. |
|
This was discussed earlier with design team, and it was a mistake in design mockup actually. |
|
@Expensify/design coming from #32413 (comment) can we just double check with you that this all looks correct before proceeding, thanks! |
|
@shawnborton Ping here for additional check |
|
Looking good to me! |
| */ | ||
| function isWorkspaceThread(report: OnyxEntry<Report>): boolean { | ||
| return isThread(report) && !isDM(report); | ||
| return isThread(report) && isChatReport(report) && !isDM(report); |
There was a problem hiding this comment.
I have written this in my proposal.
The diagonal avatar pattern was missing from the Expense report and IOU report because there is a bug in isWorkspaceThread function which also gives true for the thread which is not a chat (i.e., IOU or expense).
Reviewer Checklist
Screenshots/Videos |
|
✋ 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/rlinoz in version: 1.4.15-0 🚀
|
|
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.15-5 🚀
|









Details
Fixed Issues
$ #32413
PROPOSAL: #32413 (comment)
Tests
Offline tests
Same as Tests
QA Steps
Same as Tests
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)StyleUtils.getBackgroundAndBorderStyle(theme.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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop