-
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 2023-10-30] [$500] Copy to clipboard tooltip moves to top left corner on copy to clipboard click #29678
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @Julesssss ( |
Clearly a big but I dont think we have to block deploy on this |
Yep, removing the blocker label. and updating the checklist. |
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Copy to clipboard tooltip moves to top left corner on copy to clipboard click What is the root cause of that problem?Changed button icon when pressed is triggering App/src/components/Tooltip/BaseTooltip.js Line 129 in 7fdbe50
This function ,in turn, is calling chooseBoundingBox to get bounding box of the button.App/src/components/Tooltip/BaseTooltip.js Line 52 in 7fdbe50
When mouse is not moved, App/src/components/Tooltip/BaseTooltip.js Lines 51 to 52 in 7fdbe50
What changes do you think we should make in order to solve the problem?We should utilize // If no matching bounding box is found, fall back to getBoundingClientRect.
return bounds; Or we can return const betterBounds = chooseBoundingBox(target.current, initialMousePosition.current.x, initialMousePosition.current.y) || bounds; What alternative solutions did you explore? (Optional) |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Reproduced - opening up to external for a fix |
|
Will create Upwork job when we're ready to assign. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Copy to clipboard tooltip moves to top left corner on copy to clipboard click. What is the root cause of that problem?App/src/components/Tooltip/BaseTooltip.js Lines 80 to 83 in 91e2120
Whenever App/src/components/Tooltip/BaseTooltip.js Lines 51 to 52 in 91e2120
And from
But in the step 5 of this issue, As a result, we see the tooltip in the top left corner of the screen. What changes do you think we should make in order to solve the problem?We should get
So we can get correct What alternative solutions did you explore? (Optional)N/A |
All yours @akamefi202! Thank you for your proposal |
The PR is merged. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.88-11 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 2023-10-30. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
Regression Test Proposal
|
QA added - now we wait for payment. |
Offers out for payment in the meantime. |
@garrettmknight I received the offer in Upwork. I should accept it again? |
@garrettmknight No payment is due for me here since it's a regression. |
My mistake @s77rt thanks for keeping me honest |
@garrettmknight Could you please complete this issue if there isn't other problem? |
Summarizing payment:
|
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.3.84.4
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: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1697387056991069
Action Performed:
Expected Result:
App should display tooltip above copy to clipboard after click on it
Actual Result:
App displays tooltip in top left corner after click on copy to clipboard
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
windows.chrome.copy.to.clipboard.tooltip.displays.top.left.corner.mp4
mac.chrome.copy.to.clipboard.move.to.corner.mov
Recording.5008.mp4
MacOS: Desktop
mac.desktop.copy.to.clipboard.move.to.corner.mov
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: