-
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
[HOLD for payment 2024-04-05] [$250] Tooltips - Tooltips on Desktop overlap with App window "dots" #38292
Comments
Triggered auto assignment to @sakluger ( |
👋 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 @lakchote ( |
@lakchote I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors. |
We think that this bug might be related to #vip-vsb |
Production Bug6413082_1710388408018.On_Prod_the_tooltips_do_not_overlap_.mp4 |
This is not a blocker due to its impact on users, I think think we make this external and for $250 as its low impact |
Job added to Upwork: https://www.upwork.com/jobs/~01ec455ad18cff87b2 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Is there any such case on production? |
ProposalPlease re-state the problem that we are trying to solve in this issue.The tooltip overlaps with the desktop window dots. What is the root cause of that problem?This happens after the ideal nav v2 where the TopBar is moved to the sidebar screen. Both the sidebar screen and CustomBottomTabNavigator are wrapped with ScreenWrapper, App/src/pages/home/sidebar/SidebarScreen/BaseSidebarScreen.js Lines 30 to 31 in 206d293
App/src/libs/Navigation/AppNavigator/createCustomBottomTabNavigator/index.tsx Lines 48 to 49 in 206d293
and ScreenWrapper has a header gap component that has a height of 12 for desktop only. App/src/components/ScreenWrapper.tsx Line 250 in 206d293
Because there are 2 screen wrappers, the total height is 24 which means the top bar is pushed down 12 more than the previous version and this gives enough space for the tooltip logic to detect that the tooltip is 12 px (GUTTER_WIDTH) far from the window top edge. App/src/styles/utils/generators/TooltipStyleUtils.ts Lines 187 to 188 in 206d293
yOffset is the element wrapped with the tooltip y position, in our case the workspace switcher button. There are 2 problems with the calculation above.
What changes do you think we should make in order to solve the problem?For the double header gap, we can add a new props to ScreenWrapper to conditionally disable it. (or perhaps we should remove the screen wrapper from the custom bottom tab navigator?) Fixing the above is actually enough, if we also want to fix the tooltip calculation, we can add the tooltip arrow height and consider the desktop header height.
|
Upwork job price has been updated to $250 |
There are two examples in the original issue description:
|
@bernhardoj Yes we should keep the ScreenWrapper |
@jhohlfeld I think we should understand the meaning of
Besides, if we change the Pls note that this bug just happens on desktop since we have |
We should go with @bernhardoj's solution. BTW, I think we should handle popover bug that is mentioned by @jhohlfeld in other issue, since we have the different RCA and solution. 🎀👀🎀 C+ reviewed |
Current assignee @lakchote is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
Thanks everyone for your proposals and thanks @dukenv0307 for your review. I do agree with what you've said about the gutter width.
I do agree that the issue @jhohlfeld reported should be handled in another issue. cc @sakluger -- @bernhardoj's proposal LGTM 👍 |
❌ There was an error making the offer to @dukenv0307 for the Reviewer role. The BZ member will need to manually hire the contributor. |
❌ There was an error making the offer to @bernhardoj for the Contributor role. The BZ member will need to manually hire the contributor. |
PR is ready cc: @dukenv0307 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-04-05. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
BugZero Checklist:
|
Payment Summary
BugZero Checklist (@sakluger)
|
I sent offers via Upwork, I'll pay out once the offers are accepted. |
All paid out, thanks 🙇♂️ |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Found when validating PR : #37421
Version Number: v1.4.52-0
Reproducible in staging?: Y
Reproducible in production?: N
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:
EXTRA: Also happens when user long presses on the chat to open the modal
Expected Result:
User expects the tooltips to be "underneath" as on prod and not overlap with the 3 dots
Actual Result:
The tooltips are slightly cut off with this new UI update
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6413082_1710388502434.Overlapping_on_new_UI_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: