Skip to content

[HOLD for payment 2022-02-16] Tooltip text and arrow appears in different positions - reported by @sobitneupane #7481

Closed

Description

@mvtglobally

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:

  1. Create an account using a very long email address. (pro tip: use an email with a uuid like mylongemail+e66b2bfb-2bd8-4372-93f6-561ad20578ef@gmail.com
  2. Create two other accounts with short first names
  3. From a fourth account, create a group chat will all three accounts from the previous two steps.
  4. Send a message in the group chat.
  5. Open the search page and search for the group chat.
  6. Hover over the long email address

Expected Result:

The tooltip and arrow are correctly positioned.

Actual Result:

The tooltip content is misplaced from the arrow.

Workaround:

Yes, this is a design issue.

Platform:

Where is this issue occurring?

  • Web
  • Desktop App

Version Number: 1.1.33-0
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screenshot from 2022-01-28 09-42-53
image - 2022-01-31T000733 852

Expensify/Expensify Issue URL:
Issue reported by: @sobitneupane
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1643208301483100

View all open jobs on GitHub

Activity

  1. MelvinBot commented on Jan 31, 2022

    @MelvinBot
    Contributor

    Triggered auto assignment to @mountiny (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  2. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Jan 31, 2022
  3. MelvinBot commented on Jan 31, 2022

    @MelvinBot
    Contributor

    Triggered auto assignment to @stephanieelliott (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  4. sobitneupane commented on Jan 31, 2022

    @sobitneupane
    Contributor

    @mountiny In Actions Performed Section, there are two sets of actions which is bit confusing. The reason for the first set of actions is a bug in src/styles/getTooltipStyles. And the second set of actions is a different design issue. I think it is better to have two different issues for those different set of actions. Just a thought.

  5. mountiny commented on Jan 31, 2022

    @mountiny
    Contributor

    @sobitneupane You are right, I have updated it mostly to keep track and potentially merge it with this issue as they both seem quite straightforward. But for the sake of granularity, I will create a new issue for this 👍

  6. sobitneupane commented on Jan 31, 2022

    @sobitneupane
    Contributor

    Reason
    Function computeHorizontalShift shifts the element without considering manualShiftHorizontal.

    Proposal
    Replacing this line

    const componentCenter = xOffset + (componentWidth / 2);

    by

        const componentCenter = xOffset + (componentWidth / 2) + manualShiftHorizontal;
    
  7. stephanieelliott commented on Jan 31, 2022

    @stephanieelliott
    Contributor

    I have updated it mostly to keep track and potentially merge it with this issue as they both seem quite straightforward

    @mountiny is this ready to be posted to Upwork, or do we plan to sit on this for a while?

  8. mountiny commented on Jan 31, 2022

    @mountiny
    Contributor

    @stephanieelliott This can be Exported. Sorry for the confusion. I have created a separate issue for the other problem to keep them both self-contained! This is good to go, thank you for confirming 😊

  9. stephanieelliott commented on Jan 31, 2022

    @stephanieelliott
    Contributor
  10. 17 remaining items

  11. stephanieelliott commented on Feb 8, 2022

    @stephanieelliott
    Contributor

    PR is on staging!

  12. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed on Feb 9, 2022
  13. botify commented on Feb 9, 2022

    @botify

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.37-2 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 2022-02-16. 🎊

  14. changed the title [-]Tooltip text and arrow appears in different positions - reported by @sobitneupane[/-] [+][HOLD for payment 2022-02-16] Tooltip text and arrow appears in different positions - reported by @sobitneupane[/+] on Feb 9, 2022
  15. sobitneupane commented on Feb 18, 2022

    @sobitneupane
    Contributor

    Waiting for payment.

  16. mountiny commented on Feb 18, 2022

    @mountiny
    Contributor

    cc @stephanieelliott. Thank you! 🙇

  17. stephanieelliott commented on Feb 18, 2022

    @stephanieelliott
    Contributor

    Oop, thanks for the bump! All paid up 😃

  18. sobitneupane commented on Feb 19, 2022

    @sobitneupane
    Contributor

    @stephanieelliott I am also the reporter of this issue. I am paid for the solution but not for reporting.

  19. mountiny commented on Feb 19, 2022

    @mountiny
    Contributor

    Gonna reopen this issue just so we do not lose track. Sorry for any inconvenience @sobitneupane 🙏

  20. stephanieelliott commented on Feb 21, 2022

    @stephanieelliott
    Contributor

    Oop, sorry for the wait, reporting bonus paid @sobitneupane!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions