chore: change size of avatar to 100x100 for react action item created#49555
chore: change size of avatar to 100x100 for react action item created#49555puneetlath merged 5 commits intoExpensify:mainfrom
Conversation
|
@dubielzyk-expensify @shawnborton I have added multiple screenshots for macos chrome. Also I have added new style (property) that didn't exist for XLARGE size.
Also we used to divide width by 3 to get overlap between two avatars, for XLARGE it was't looking good so I made it 4. Please have a look and let me know if that's okay |
|
Let's wait for @Expensify/design to review first. |
|
I think the screenshots are looking good. Will let @dubielzyk-expensify weigh in too but I think I like the |
|
Yeah the 4px above looks good. Can you answer the inline code question? Cause it looks like there was some logic when there's more than 3 avatars? I'm not sure if we have that anymore given groups use a group avatar. |
|
As far as I know we'll only have a max of two avatars up there now. |
|
If so, then this looks good to me 👍 |
|
@BhuvaneshPatil Can you complete remain PR checklist please? |
|
@eh2077 Checklist is completed and all checks are passing |
Reviewer Checklist
Screenshots/Videos |
dubielzyk-expensify
left a comment
There was a problem hiding this comment.
Approving the visual end
| > | ||
| <MultipleAvatars | ||
| icons={icons} | ||
| size={isLargeScreenWidth || (icons && icons.length < 3) ? CONST.AVATAR_SIZE.LARGE : CONST.AVATAR_SIZE.MEDIUM} |
There was a problem hiding this comment.
Interesting. What does this mean? If there are more than 3 avatars, then it'll make them smaller?
There was a problem hiding this comment.
@dubielzyk-expensify Oh yes, this is what we did previously. This PR will set size={CONST.AVATAR_SIZE.XLARGE} for all cases. I think it'll be aligned with your comment here #49435 (comment)
|
@puneetlath ^^ |
|
✋ 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/puneetlath in version: 9.0.46-0 🚀
|
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.0.46-5 🚀
|














Details
We are changing the size of avatar that is displayed when chat starts, or top of the chat
Fixed Issues
$ #49435
PROPOSAL: #49435 (comment)
Tests
Offline tests
Same as above
QA Steps
same as above
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: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop