-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix: Filters button tooltip is not displayed properly #54677
Conversation
@thesahindia 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] |
For the mobile versions, I would think the very right edge of the tooltip would be aligned with the right edge of the filters button. Right now it seems like the tooltip is too far to the right: But cc @Expensify/design (and particularly @dubielzyk-expensify) for thoughts on that one. The web mocks look good to me though. |
Yeah. I don't mind it too much, but we can make it have the same edge padding (20px). We probably need to move the arrow slightly to make sure it points correctly to the center of the button still. (though we're changing the look in another PR anyways so maybe just ignore that part!?) |
It doesn't bother me either, but I'm down to make it all aligned. Also like Jon mentioned it we're going to be tinkering with the style of these a bit so we may just not want to worry about the pointer here. |
Cool cool - I say let's right-align it then. @daledah can you please adjust? Thanks! |
Will update soon |
![]() @shawnborton @thesahindia @techievivek In production we also have the same problem so I think this problem is out of scope. We should create a new issue for it. |
@daledah how hard would it be to fix this? Is it a non-trivial amount of work? |
I think it will be complicated because the logic to calculate tooltip position is quite complicated, so if fix it, it will easily cause regression, need to test manually + automatically a lot. |
Got it, we can fix this in a follow up then. |
Will complete the checklist in the morning. |
Reviewer Checklist
Screenshots/VideosiOS: NativeScreen.Recording.2025-01-16.at.5.57.13.PM.mov |
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.
Works fine!
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.
Hey, there are some conflicts.
@daledah Can you please fix the conflicts so I can move forward with the merge? |
✋ 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/techievivek in version: 9.0.88-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.88-7 🚀
|
Explanation of Change
Fixed Issues
$ #54596
PROPOSAL: #54596 (comment)
Tests
Offline tests
Same as tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.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 and/or tagged@Expensify/design
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.Screenshots/Videos
Android: Native
android.mov
Android: mWeb Chrome
android-mweb.mov
iOS: Native
Screen.Recording.2025-01-01.at.22.17.27.mov
iOS: mWeb Safari
ios-mweb.mov
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov