[Search v2.3] Fix tooltip rendering#49473
Conversation
|
PR is looking good. Let me know once it's ready for review |
Ready for review! |
|
@paultsimura 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] |
|
Hi, does it need a c+ review? |
9a1f267 to
d9d574d
Compare
Yes, please |
|
Cool, will do within the next hour👍 |
|
@lakchote is the BE PR already on staging/prod? |
|
Bug:
2024-09-20.-.15.31.-.Screen.Recording.2024-09-20.at.15.30.16.mp4 |
Sorry, when I meant it was available to review I was speaking of the code, not necessarily the whole flow. More of like a pre-review, if you would. The BE PR is still pending review, so you won't be able to test the whole flow yet. |
Very nice find. It's important to correct this as it does a boatload of unnecessary API calls. cc @luacmartins |
luacmartins
left a comment
There was a problem hiding this comment.
I'm discussing this 1:1 with Lucien, but I think we can probably find a frontend only approach to solve this issue. I think we could rely solely on the length of the savedSearches NVP
Co-authored-by: Carlos Martins <cmartins@expensify.com>
|
Reviewing now. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeN/AAndroid: mWeb ChromeN/AiOS: NativeN/AiOS: mWeb SafariN/AMacOS: Chrome / Safari2024-09-23.-.12.04.-.Screen.Recording.2024-09-23.at.11.51.44.mp4MacOS: Desktop2024-09-23.-.12.04.-.Screen.Recording.2024-09-23.at.12.01.58.mp4 |
|
@lakchote this tests well, there's just one typo fix and we're good to go. |
Updated code! |
|
@mjasikowski 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] |
|
Unrelated JEST tests are failing. I tried to merge main, but it seems broken there too. |
|
Gonna wait for a fix so we can merge this |
|
@lakchote seems like the unit test got fixed on |
|
✋ 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/luacmartins in version: 9.0.40-0 🚀
|
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.0.40-6 🚀
|
Details
Video test:
Screen.Recording.2024-09-20.at.11.17.59.mov
Fixed Issues
$ #49204
Tests
Offline tests
QA Steps
Same as in 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)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so 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./** 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)Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop