Skip to content

[HOLD for payment 2021-11-22] Details page - Show tooltip on user detail page if the email is too long #5542

Closed

Description

@isagoico

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. Navigate to a conversation with a user that has a long email
  2. Open the user detail page
  3. Hover the cursor over the email

Expected Result:

There should be a tooltip to view the email address

Actual Result:

There's no tooltip to view the email address.

Workaround:

Unknown.

Platform:

Where is this issue occurring?

  • Web
  • Desktop App

Version Number: 1.1.2-5

Reproducible in staging?: yes
Reproducible in production?: yes

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:

Issue reported by: @akshayasalvi
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1632614361076100

View all open jobs on GitHub

Activity

  1. added
    AutoAssignerTriage
    Daily
    on Sep 27, 2021
  2. MelvinBot commented on Sep 27, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @MitchExpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

  3. removed
    AutoAssignerTriage
    on Sep 27, 2021
  4. akshayasalvi commented on Sep 27, 2021

    @akshayasalvi
    Contributor

    Solution

    In CommunicationsLink.js, we can add Tooltip only to the else block as it is for wide screen width.

    Replace the {props.children} in the else (after : ) block with the following code:

    <Tooltip text={props.value}>
          <View style={[styles.communicationsLinkWidth]}>
              {props.children}
          </View>
      </Tooltip>
    

    and in style.js add the following:

    communicationsLinkWidth: {
        maxWidth: 320,
    }
    
    

    We need to wrap the props.children around a View so that the view doesn't break when we have a very long email address.

    Screenshots:

    image

    image

  5. parasharrajat commented on Sep 28, 2021

    @parasharrajat
    Member

    You are showing a tooltip even if the email is small and clearly visible but the issue title says, show the tooltip when the email is too long and trimmed.

  6. akshayasalvi commented on Sep 28, 2021

    @akshayasalvi
    Contributor

    You are showing a tooltip even if the email is small and clearly visible but the issue title says, show the tooltip when the email is too long and trimmed.

    I thought about it. But in the main chat screen we're showing tooltips irrespective of the length of the email.

    image
    image

  7. parasharrajat commented on Sep 28, 2021

    @parasharrajat
    Member

    because it shows displayName here.
    DisplayName could be any of these => First+last Name, email + phone. In most cases, it would be First+last Name and thus we show login in the tooltip.

    But on the details page, it's always email so why duplicate this unless Email is trimmed as you reported in Slack.

  8. MitchExpensify commented on Sep 29, 2021

    @MitchExpensify
    Contributor

    Reproduced and agree its valuable. This is n6-hold so not labeling eng just yet

  9. MitchExpensify commented on Oct 1, 2021

    @MitchExpensify
    Contributor

    On hold

  10. 48 remaining items

  11. parasharrajat commented on Nov 1, 2021

    @parasharrajat
    Member

    Should #5542 (comment) be implemented as a solution or just add a tooltip for all cases?

    I don't see an official acceptance of the proposal so it's unclear to me.

  12. thienlnam commented on Nov 1, 2021

    @thienlnam
    Contributor

    I didn't accept a proposal specifically yet but since we already hired @akshayasalvi we will just continue working through this job. I asked for clarification https://expensify.slack.com/archives/C01GTK53T8Q/p1635784104290300?thread_ts=1632614361.076100&cid=C01GTK53T8Q here about the tooltip

  13. Christinadobrzyn commented on Nov 8, 2021

    @Christinadobrzyn
    Contributor

    We still have the Company Offsite hold label on this issue so working through the PR as we have time.

  14. akshayasalvi commented on Nov 8, 2021

    @akshayasalvi
    Contributor

    @Christinadobrzyn Didnt understand the hold. The PR is merged to the main branch already

  15. thienlnam commented on Nov 8, 2021

    @thienlnam
    Contributor

    @Christinadobrzyn My bad, forgot about the label and merged the PR already. Let's do the standard 7 day regression wait and then just pay this one out

  16. akshayasalvi commented on Nov 12, 2021

    @akshayasalvi
    Contributor

    @Christinadobrzyn @thienlnam Is the production deployment for this PR delayed due to hold? It's been on staging for 8 days already and now I'll have to wait for production deployment + 7 days for the payment.

  17. thienlnam commented on Nov 15, 2021

    @thienlnam
    Contributor

    We've delayed all PRs due to the hold. Since I made the mistake and merged ahead of time @Christinadobrzyn, let's pay this out. It passed staging QA

  18. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Nov 15, 2021
  19. changed the title [-]Details page - Show tooltip on user detail page if the email is too long[/-] [+][HOLD for payment 2021-11-22] Details page - Show tooltip on user detail page if the email is too long[/+] on Nov 15, 2021
  20. botify commented on Nov 15, 2021

    @botify

    The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.14-4 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 2021-11-22. 🎊

  21. Christinadobrzyn commented on Nov 23, 2021

    @Christinadobrzyn
    Contributor

    Alright - 7 days in production have passed! 🎉

    Paid @akshayasalvi $250 for reporting the bug + $250 for fixing the bug + 250 bonus for the company offsite delay. Closing this job in Upwork and this GH.

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

Metadata

Metadata

Labels

Awaiting PaymentEngineeringExternalWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions