-
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
[$500] Workspace - Tooltip is at the center instead of above display name #35691
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @hayata-suenaga ( |
We think that this bug might be related to #5 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Tooltip is at the center instead of above display name What is the root cause of that problem?We place the Tootip at wrong component What changes do you think we should make in order to solve the problem?Rearrange the tooltip to be placed exactly above the text What alternative solutions did you explore? (Optional)N/A |
Job added to Upwork: https://www.upwork.com/jobs/~01da161df451d2ec58 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @shubham1206agra ( |
seems like from the Ideal Navigation PR? Removing the blocker as this is just a UI bug. I'll track this as part of the Ideal Nav regressions |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - Tooltip is at the center instead of above display name What is the root cause of that problem?This issue happens because the text container inside What changes do you think we should make in order to solve the problem?Set the text container width to Result |
@hayata-suenaga this is not related to Ideal Nav. |
Interesting. But I am not sure if we should treat this as regression from #34197 as they can't test this on Ideal Nav due to PR timings. |
This also happens on Invite members page which isn't part of Ideal Nav. |
ah should I remove this from ideal nav then? |
Oh. If that's the case, then I will unassign myself from this issue and let @sobitneupane take over. |
Yes |
cc: @sobitneupane |
I'll raise a fix shortly |
PR is ready: #35735 @sobitneupane |
IDK why, but I'm not able to get tooltips to show up on this view at all 😕 |
the only tooltip I see is this one: same on main and on @aswin-s' branch |
@sobitneupane @roryabraham Looks like hiding the tooltip is intentional. Regression is from #35460. As per issue #34961 it shouldn't even show tooltip here as the label and tooltip is same. So is this issue valid any more? |
@aswin-s Going through the linked PR, we do show the tooltip, If target.scrollWidth > target.offsetWidth (i.e., if the text overflows). Screen.Recording.2024-02-07.at.12.27.40.movBut I do believe that in case the text overflows, the tooltip will basically appear at the center. But we should extensively test different cases with larger text and alternate texts. |
@sobitneupane The scenario where text overflows is when the text length reaches the container width. At this point tool tip should be aligned at the center of the container anyways. |
cool, so it sounds like this issue is no longer valid. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: .1.4-36.0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Tooltip appeaers above the display name
Actual Result:
Tooltip is at the center instead of above the display name
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6365133_1706896814542.20240203_001655.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: