-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Reviewing now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small typo
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! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✔️
@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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
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 Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps./** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is 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