Fix: reapply #22567#22637
Conversation
|
@mananjadhav Please 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] |
|
@hannojg Thanks for the PR. I had originally reviewed this, let me check this again. |
|
@hannojg do we not need a no-op component for native? as and then have the current code moved to |
|
@mananjadhav I did it the other way around, every platform uses the no-op component, while web/desktop will use the real implementation. Is it fine this way around? |
|
Ohh Yes. It’s totally fine. Basically I was on Chirag’s branch and when I did the checkout of your branch, UserDetailsTooltip/index.js was empty. Hence I posted the comment. You can ignore my comment and I’ll retest in an hour. |
|
@mananjadhav - @chiragxarora will open a new PR as he is the original author. Sorry for the double work here guys! |
|
Okay @hannojg |
Details
After refactoring the
UserDetailsTooltipto be a web only component I missed the changed from the named PR as Chirag pointed out.See also:
Fixed Issues
$ #20839
PROPOSAL: #20839 (comment)
Tests
Offline tests
n/a
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)/** 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
bandicam.2023-07-10.22-41-52-471.mp4
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android