Skip to content
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-07-26] [$1000] Web - The tooltip end is broken for users with long names on details page of group chat #21100

Closed
1 of 6 tasks
kbecciv opened this issue Jun 20, 2023 · 72 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@kbecciv
Copy link

kbecciv commented Jun 20, 2023

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
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jun 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jun 20, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Jun 20, 2023

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

@johncschuster
Copy link
Contributor

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

@melvin-bot melvin-bot bot added the Overdue label Jun 26, 2023
@johncschuster
Copy link
Contributor

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

@melvin-bot melvin-bot bot removed the Overdue label Jun 26, 2023
@johncschuster johncschuster added Weekly KSv2 and removed Daily KSv2 labels Jun 26, 2023
@alitoshmatov
Copy link
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

@alitoshmatov
Copy link
Contributor

alitoshmatov commented Jun 30, 2023

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)

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jun 30, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 3, 2023

@johncschuster Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot
Copy link

melvin-bot bot commented Jul 4, 2023

@johncschuster this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot
Copy link

melvin-bot bot commented Jul 5, 2023

@johncschuster Huh... This is 4 days overdue. Who can take care of this?

@johncschuster johncschuster added the External Added to denote the issue can be worked on by a contributor label Jul 6, 2023
@melvin-bot melvin-bot bot changed the title Web - The tooltip end is broken for users with long names on details page of group chat [$1000] Web - The tooltip end is broken for users with long names on details page of group chat Jul 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 6, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01813ef7a0589a7c4b

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 6, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jul 6, 2023

Current assignee @johncschuster is eligible for the External assigner, not assigning anyone new.

@melvin-bot
Copy link

melvin-bot bot commented Jul 6, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif (External)

@Sandeep7409
Copy link

First name and Last name allow max 50 characters and tooltip shows all 50 characters. I don't understand what is the meaning of "the end of the tooltip is broken". Please include some actual and expected result in issue description to make it clear.

@melvin-bot
Copy link

melvin-bot bot commented Jul 6, 2023

📣 @Sandeep7409! 📣
Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
    Screen Shot 2022-11-16 at 4 42 54 PM
    Format:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@Sandeep7409
Copy link

Contributor details
Your Expensify account email: sandeep.patel25@hotmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01885cd3495b066b3f

@cead22
Copy link
Contributor

cead22 commented Jul 31, 2023

Not overdue. Working on payments

@melvin-bot melvin-bot bot removed the Overdue label Jul 31, 2023
@johncschuster
Copy link
Contributor

johncschuster commented Aug 1, 2023

Are we working on payment? It seems like the behavior isn't resolved yet, right?

@alitoshmatov
Copy link
Contributor

@johncschuster Similar issue did come up, but it is not related to this and has a different root cause

@johncschuster
Copy link
Contributor

@alitoshmatov can you share that similar issue here?

@alitoshmatov
Copy link
Contributor

@johncschuster This one #23784

@spcheema
Copy link
Contributor

spcheema commented Aug 4, 2023

@cead22 @johncschuster Actually linked that issue thought it's related. Apologies for confusion and causing delay in you payout @alitoshmatov

@melvin-bot melvin-bot bot added the Overdue label Aug 7, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 7, 2023

@cead22, @johncschuster, @alitoshmatov, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick!

@johncschuster
Copy link
Contributor

Thanks for surfacing that, @alitoshmatov! I'll get payments issued now.

@melvin-bot melvin-bot bot removed the Overdue label Aug 9, 2023
@johncschuster
Copy link
Contributor

johncschuster commented Aug 9, 2023

Summary:

External issue reporter - @priya-zha = $250 (paid through Upwork)
Contributor that fixed the issue - @alitoshmatov - $1500 (paid through Upwork)
Contributor+ that helped on the issue and/or PR - @aimane-chnaif - $1500 (will request payment through NewDot)

cc @JmillsExpensify

@melvin-bot melvin-bot bot added the Overdue label Aug 11, 2023
@aimane-chnaif
Copy link
Contributor

@johncschuster I am still using upwork

@melvin-bot melvin-bot bot removed the Overdue label Aug 13, 2023
@johncschuster
Copy link
Contributor

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

@johncschuster
Copy link
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?

@priya-zha
Copy link

Thanks.. Accepted.

@johncschuster
Copy link
Contributor

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

@melvin-bot melvin-bot bot added the Overdue label Aug 21, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

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

@cead22
Copy link
Contributor

cead22 commented Aug 22, 2023

On hold for payment and not overdue

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Aug 22, 2023
@johncschuster
Copy link
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
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

9 participants