-
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] Chat - Link in end of line displays tooltip over text and not on link #27585
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01aa77f02fd5409216 |
Triggered auto assignment to @sophiepintoraetz ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @isabelastisser ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When a link is wrapped onto multiple lines in a chat window, and the user hovers over the link, the tooltip appears in the wrong place. What is the root cause of that problem?The problem is that the What changes do you think we should make in order to solve the problem?From the user's perspective, you want the tooltip to target the link, but since the link is now in two parts (one at the end of the first line, one at the start of the second line) you want the tooltip to target the center of whichever part of the link the user is hovering over. It is possible to get the browser to give you the bounding box of each part of the text. However, Algorithm outline for
This algorithm will add a bit of cost to the |
@ewanmellor Thanks for the proposal. Your RCA is correct. In our App we seem to always position the tooltip on the center of the target regardless of the mouse position. I noticed that Slack do things a little different, they position the tooltip on the center of the partial target, the partial target being the part of the target that the mouse is at. Your suggested solution seems to help towards that approach but it's not much clear. Can you please elaborate your proposal on how the algorithm would work? |
@s77rt Yes, that's what I meant.
|
@ewanmellor Thanks for the update. That makes sense, can you please update your proposal to include that? BTW, do you have a proof of concept or did you manage to get this working? not really necessary, just it would help avoid deadends |
@s77rt I haven't written the code yet, no. I am waiting for approval before I spend the time. |
@s77rt Proposal updated: #27585 (comment) |
@ewanmellor Thanks for the update! 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @pecanoro, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Assigning @ewanmellor, let's see if we can fix this one! |
This comment was marked as duplicate.
This comment was marked as duplicate.
Hey @kadiealexander, just need some help babysitting this issue while I'm OOO till 15 Oct:
|
Hi, I'm Eto from Callstack - expert contributor group - and I would like to take a look at this issue. |
@pecanoro @s77rt @teneeto @sophiepintoraetz @kadiealexander this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
Not overdue. We are working on it Melvin |
This comment was marked as off-topic.
This comment was marked as off-topic.
Please Let's continue Review of the Solution to this Issue with new Information.
Note: It would be nice to assign PR to same reviewer, then continue discussions on the new PR. |
Note: We had a regression #29446. |
The PR fixing this is merged and deployed to production. Melvin forgot to remove the |
And another one 😅 #29678 |
@s77rt Do you know why it created an additional issue for payment instead of updating this one? Probably the issue wasn't linked properly in the PR description. |
@sophiepintoraetz We only need to pay the reporting bonus to @dhanashree-sawant since @s77rt was paid in the other issue. |
I've already paid @dhanashree-sawant for this issue, so if that's all that we're waiting on, we can close this issue? |
Yes! We can close it then, thank you! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
App should display tooltip over link on hover
Actual Result:
App displays tooltip over text on link hover when link is multiline and occupies the end of line with text in start
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.70-5
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Notes/Photos/Videos: Any additional supporting documentation
link.in.end.text.displays.link.over.text.mp4
Recording.29.2.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694604089052599
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: