Skip to content

[HOLD for payment 2023-07-24] [$1000] Web - Tooltip is not shown for a new user on invite message page #21946

Closed

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
  2. Create a new workspace > Invite members > Click on invite > Select two members (For the First member, enter an email of a NEW user and the second user should be an old user)
  3. Click on Next and hover over the profile avatars. Notice for the old user tooltip is shown, but if you hover over the avatar for the new user, tooltip is not shown.

Expected Result:

Tooltip should be shown for a new user on invite message page

Actual Result:

Tooltip is not shown for a new user on invite message page

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.34-1
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

green-2023-06-29_12.36.12.mp4
Recording.3326.mp4

Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1688021163521579

View all open jobs on GitHub

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

Activity

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

    @melvin-bot

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

  3. melvin-bot commented on Jun 30, 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. 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 is not shown for a new user on invite message page

    What is the root cause of that problem?

    UserDetailsTooltip is not working because only accountID was provided

    <UserDetailsTooltip accountID={props.icons[0].id}>

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

    We don't have a data for new users in personalDetails that's why tooltip cannot retrieve any data. But we can provide fallback data to display available information about user like this:

    fallbackUserDetails={{
                                        displayName: ReportUtils.getDisplayNameForParticipant(props.icons[1].id),
                                        login: lodashGet(props.icons[1], 'name',''),
                                        avatar: lodashGet(props.icons[1], 'source', ''),
                                    }}

    We should provide fallback data in every instance of tooltip in MultipleAvatars

    What alternative solutions did you explore? (Optional)

  5. melvin-bot commented on Jul 3, 2023

    @melvin-bot

    @NicMendonca Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  6. NicMendonca commented on Jul 4, 2023

    @NicMendonca
    Contributor

    still reviewing this

  7. NicMendonca commented on Jul 4, 2023

    @NicMendonca
    Contributor

    @priya-zha are those clickable on other platforms? Should they be clickable? 🤔

  8. priya-zha commented on Jul 4, 2023

    @priya-zha

    No. It's not about being clickable or not. Just try to hover over the avatar and notice that on hover, the tooltip isn't present for new users.

  9. NicMendonca commented on Jul 5, 2023

    @NicMendonca
    Contributor

    @priya-zha my apologies, I understand now.

    Any the other platforms? Can you make sure you are testing on all of those? We want to make sure we are ensuring parity. I was able to also reproduce on MacOS Desktop as an example:

    image image
  10. priya-zha commented on Jul 5, 2023

    @priya-zha

    I tested in on chrome (linux). Since it's related to tooltips, I could have tested it on Mac Os chrome or safari , but I don't have Mac to test them.

  11. shawnborton commented on Jul 6, 2023

    @shawnborton
    Contributor

    I think it makes sense to have the tooltip here out of consistency's sake. That being said, I think we just merged some code that touches this area so let's make sure it's still happening (cc @puneetlath)

  12. 33 remaining items

  13. melvin-bot commented on Jul 17, 2023

    @melvin-bot

    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:

    • [@thesahindia] The PR that introduced the bug has been identified. Link to the PR:
    • [@thesahindia] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
    • [@thesahindia] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
    • [@thesahindia] Determine if we should create a regression test for this bug.
    • [@thesahindia] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
    • [@NicMendonca] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
  14. NicMendonca commented on Jul 24, 2023

    @NicMendonca
    Contributor

    @thesahindia will you be requesting payment via Expensify?

  15. NicMendonca commented on Jul 24, 2023

    @NicMendonca
    Contributor
  16. NicMendonca commented on Jul 24, 2023

    @NicMendonca
    Contributor

    @alitoshmatov you've been paid! 🎉

  17. NicMendonca commented on Jul 25, 2023

    @NicMendonca
    Contributor
  18. thesahindia commented on Jul 25, 2023

    @thesahindia
    Member

    @thesahindia will you be requesting payment via Expensify?

    yup!

    I think there is no need to add a regression test? And we can skip the other items of the checklist too since this couldn't have been caught. It was caused by a big PR

  19. NicMendonca commented on Jul 26, 2023

    @NicMendonca
    Contributor

    @priya-zha - reporting bonus $250
    @alitoshmatov - Contributor - $1,500
    @thesahindia - C+ $1,500 (paid via Expensify)

  20. NicMendonca commented on Jul 26, 2023

    @NicMendonca
    Contributor

    @priya-zha just need you to accept the offer in Upwork please 🙏

  21. priya-zha commented on Jul 27, 2023

    @priya-zha

    @NicMendonca submitted the proposal. Apologies for the delay. I was out for a few days and didn't check the mail.

    Thank you for the offer.

  22. NicMendonca commented on Jul 27, 2023

    @NicMendonca
    Contributor

    @priya-zha you've been paid!

  23. NicMendonca commented on Jul 27, 2023

    @NicMendonca
    Contributor

    Everyone has been paid!

    @thesahindia don't forget to request payment via Expensify.

    @priya-zha - reporting bonus $250
    @alitoshmatov - Contributor - $1,500
    @thesahindia - C+ $1,500 (paid via Expensify)

  24. JmillsExpensify commented on Aug 24, 2023

    @JmillsExpensify
    Contributor

    Reviewed the details for @thesahindia. $1,500 approved for payment in NewDot based on the BZ summary above.

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.DailyKSv2ExternalAdded 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