Repository navigation
Ensure correct background is present for horizontalStackedAvatar style - #13351
Conversation
|
How does this look with multiple workspaces in the row? |
… so that we get the correct overlap effect.
horizontalStackedAvatar stylehorizontalStackedAvatar style
|
Updated to cover that case! Not sure if there is an easier way to do this... but realized we needed to pass the "hover" and "pressed" states so that these borders work correctly. At first, I tried just removing the background color, but this doesn't work very well once you start adding the extra avatars into the mix and need the overlapping border to be solid so it creates the avatar stacking illusion. |
|
Think this is in a pretty good spot. Gonna open up for reviews / testing. |
|
@mananjadhav @MonilBhavsar 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] |
|
I believe @grgia will handle the overlay (+X) color over in this one |
|
Ok cool I pushed a fix for it anyway. Maybe we can get @grgia on the review for this one to make sure we are not clashing. 🙏 |
|
That works, I'll look at this now since I am planning on starting the overlay tonight |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopScreen.Recording.2022-12-06.at.5.01.56.PM.moviOSAndroid |
|
I need to restart my computer, gonna take a break and then finish :) |
Reviewer Checklist
Screenshots/VideosWebweb-hover-subscript-avatar.movMobile Web - Chromemweb-chrome-hover-subscript-avatar.movMobile Web - Safarimweb-safari-hover-subscript-avatar.movDesktopdesktop-hover-subscript-avatar.moviOSios-hover-subscript-avatar.movAndroidandroid-hover-subscript-avatar.mov |
grgia
left a comment
There was a problem hiding this comment.
Tests well, code/styling 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 @chiragsalian in version: 1.2.38-6 🚀
|


Details
Looks like we want to the border on avatars to be more of a pass through than matching the app background color. Noticed there was a style of
appBGbeing passed to the avatar.Fixed Issues
$ #13347
Tests
Same as QA
Offline tests
QA Steps
/settingsGeneral regression testing idea: Verify that other avatar styles in the app look correct.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesWaiting 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)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)Screenshots/Videos
Web
2022-12-05_15-25-42.mp4
Mobile Web - Chrome
2022-12-05_16-23-46.mp4
Mobile Web - Safari
2022-12-05_16-12-14.mp4
Desktop
2022-12-05_15-58-56.mp4
iOS
2022-12-05_21-01-22.mp4
Android
2022-12-05_16-33-27.mp4