Repository navigation
feat: wrap TaskView inside Hoverable - #23545
Conversation
|
Friendly bump @ArekChr! |
| if (e && e.type === 'click') { | ||
| e.currentTarget.blur(); | ||
| } | ||
| <Hoverable> |
There was a problem hiding this comment.
Can we have the Hoverable component as a second child wrapped by PressableWithSecondaryInteraction like in this example?
There was a problem hiding this comment.
I think that's not necessary. There are places where we are adding Hoverable to the top. This is needed because PressableWithSecondaryInteraction uses the hovered state to calculate its style.
Reviewer Checklist
Screenshots/VideosWebweb.movMobile Web - Chromemweb.chrome.movMobile Web - Safarimweb.safari.movDesktopdesktop.moviOSios.movAndroidandroid.mov |
|
cc @Li357 |
|
✋ 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/Li357 in version: 1.3.47-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.47-6 🚀
|
Details
This PR wraps
TaskViewinsideHoverablesuch that the hover functionality does not break when hovering over the check box.Fixed Issues
$ #23182
PROPOSAL: #23182 (comment)
Tests
Offline tests
Same as above
QA Steps
Same as above
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
Screen.Recording.2023-07-25.at.5.59.01.PM.mov
Mobile Web - Chrome
Screen.Recording.2023-07-25.at.6.02.48.PM.mov
Mobile Web - Safari
Screen.Recording.2023-07-25.at.6.01.24.PM.mov
Desktop
Screen.Recording.2023-07-25.at.5.59.59.PM.mov
iOS
Screen.Recording.2023-07-25.at.6.00.52.PM.mov
Android
Screen.Recording.2023-07-25.at.6.01.56.PM.mov