Skip to content

[HOLD for payment 2023-07-26] [$1000] Web - The tooltip end is broken for users with long names on details page of group chat #21100

Description

@kbecciv

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. Go to staging dot on web chrome and login with User A
  2. Create a group with multiple users
  3. Click on details page
  4. Login with any one user on another web chrome that you have create a group with
  5. Change the display name of the user and replace it with a long name (max character)
  6. Go to User A and hover over the username of the user on the details page and notice that the pointer of the tooltip is broken (not centered)

Expected Result:

The pointer of the tooltip should be centered

Actual Result:

The pointer of the tooltip is off-center for users with long names on details page of group chat

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.29.2

Reproducible in staging?: y

Reproducible in production?: y

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

error-2023-06-13_11.24.23.1.mp4
Recording.2662.mp4

Expensify/Expensify Issue URL:

Issue reported by: @priya-zha

Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686635011685439

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01813ef7a0589a7c4b
  • Upwork Job ID: 1676961079120977920
  • Last Price Increase: 2023-07-06

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jun 20, 2023
  2. melvin-bot commented on Jun 20, 2023

    @melvin-bot

    Triggered auto assignment to @johncschuster (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

  3. melvin-bot commented on Jun 20, 2023

    @melvin-bot

    Bug0 Triage Checklist (Main S/O)

    • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
    • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
      • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
    • This bug is reproducible using the reproduction steps in the OP. S/O
      • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
      • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
    • This issue is filled out as thoroughly and clearly as possible
      • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
    • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync
  4. johncschuster commented on Jun 22, 2023

    @johncschuster
    Contributor

    Looks like @alitoshmatov has a proposal in the above-linked GH that should fix this as well.

  5. johncschuster commented on Jun 26, 2023

    @johncschuster
    Contributor

    I'm going to downgrade this to Weekly while we wait on the other issue to get resolved.

  6. alitoshmatov commented on Jun 30, 2023

    @alitoshmatov
    Contributor

    @johncschuster Looks like the other issue is closed, I think you should proceed with this one. Just in case, I am going post my proposal here as well

  7. alitoshmatov commented on Jun 30, 2023

    @alitoshmatov
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Web - Tooltip pointer is not pointing to the center of the text

    What is the root cause of that problem?

    We are not passing shiftHorizontal prop down to tooltip in UserDetailsTooltip which is responsible for preventing this kind of issue, where child element is not visible and its center is outside of parent element. We are passing shiftHorizontal to UserDetailsTooltip

    shiftHorizontal={() => this.getTooltipShiftX(index)}

    What changes do you think we should make in order to solve the problem?

    We should pass props.shiftHorizontal down to Tooltip component here:

    return <Tooltip renderTooltipContent={renderTooltipContent}>{props.children}</Tooltip>;

      shiftHorizontal={props.shiftHorizontal}

    Result:
    Screenshot 2023-06-30 at 12 40 50 PM

    What alternative solutions did you explore? (Optional)

  8. 80 remaining items

  9. aimane-chnaif commented on Aug 13, 2023

    @aimane-chnaif
    Contributor

    @johncschuster I am still using upwork

  10. johncschuster commented on Aug 14, 2023

    @johncschuster
    Contributor

    Ah, thanks for calling that out! I'll get payment issued via Upwork for you then.

  11. johncschuster commented on Aug 14, 2023

    @johncschuster
    Contributor

    I have issued payment to @aimane-chnaif via Upwork.

    @priya-zha, I've sent the invite to you via Upwork. Can you accept that so I can issue payment?

  12. priya-zha commented on Aug 15, 2023

    @priya-zha

    Thanks.. Accepted.

  13. johncschuster commented on Aug 15, 2023

    @johncschuster
    Contributor

    Thank you! I've issued payment to @priya-zha.

  14. melvin-bot commented on Aug 21, 2023

    @melvin-bot

    @cead22, @johncschuster, @alitoshmatov, @aimane-chnaif Huh... This is 4 days overdue. Who can take care of this?

  15. melvin-bot commented on Aug 21, 2023

    @melvin-bot

    @cead22, @johncschuster, @alitoshmatov, @aimane-chnaif Eep! 4 days overdue now. Issues have feelings too...

  16. cead22 commented on Aug 22, 2023

    @cead22
    Contributor

    On hold for payment and not overdue

  17. johncschuster commented on Aug 25, 2023

    @johncschuster
    Contributor

    Uhh... I don't think that's right. I issued payment, and it looks like I totally forgot to close the issue. 🤦

    Closing!

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 productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions