fix avatar border opacity#15736
Conversation
|
@joelbettner @rushatgabhane 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 want to explain why I added App/src/pages/home/report/ReportActionItem.js Lines 230 to 253 in 7e8e8a1 So, it looks like this To apply the opacity, we need to have the Little example of the double opacity. |
|
Kindly bump @rushatgabhane if you have the time 😄. |
Reviewer Checklist
Screenshots/Videos |
|
@bernhardoj i don't think it looks right on iOS. The avatars are overlapping. |
|
Interesting. Actually, it happens to me once, then I reload it and it works fine. I guess there is something wrong with the file save. Now, I can always reproduce it. Turns out, I decided to give it |
@bernhardoj don't you think it will be a problem if the default value changes in future? |
|
If RN decided to change the default value from true to false, then that means they have a concern about it. Maybe there is a bug on newer versions, or it make things slower, etc. I think we don't really need to care about the default value changes, just like the other props that we don't explicitly set the values. |
|
gentle bump @joelbettner |
|
✋ 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/joelbettner in version: 1.2.88-0 🚀
|
|
🚀 Deployed to staging by https://github.com/joelbettner in version: 1.2.88-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.2.88-2 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.2.88-2 🚀
|
|
Hi, this PR caused a regression. Info here. |




















Details
The avatar border overlaps the other avatar when we apply an opacity.
Fixed Issues
$ #15283
PROPOSAL: #15283 (comment)
Tests
Same as QA Steps
Offline tests
Same as QA Steps
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)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)/** 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)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
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android