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

[$100] Group chat - No tooltip when hovering over group member avatar in details page #29322

Closed
2 of 6 tasks
lanitochka17 opened this issue Oct 11, 2023 · 16 comments
Closed
2 of 6 tasks
Assignees
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 11, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.3.81-4

Reproducible in staging?: Yes

Reproducible in production?: No

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

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to any group chat
  3. Click on the group chat header
  4. Hover over the avatars in group details page

Expected Result:

Tooltip appears when hovering over group member avatar

Actual Result:

Tooltip does not appear when hovering over group member avatar

Workaround:

Unknown

Platforms:

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

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Bug6233110_1697032667398.20231011_201711.mp4
MacOS: Desktop

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01939a661b5c2c58a4
  • Upwork Job ID: 1712149389829230592
  • Last Price Increase: 2023-10-11
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 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

@OSBotify
Copy link
Contributor

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

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

@alitoshmatov
Copy link
Contributor

alitoshmatov commented Oct 11, 2023

I am available right now and can raise quick PR if needed

Proposal

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

Tooltip is not working in group details page avatars

What is the root cause of that problem?

In RoomHeaderAvatar component, avatars are not wrapped in tooltip

<Avatar
source={icon.source}
fill={themeColors.iconSuccessFill}
size={CONST.AVATAR_SIZE.LARGE}
containerStyles={[...iconStyle, StyleUtils.getAvatarBorderRadius(CONST.AVATAR_SIZE.LARGE_BORDERED, icon.type)]}
name={icon.name}
type={icon.type}
fallbackIcon={icon.fallbackIcon}
/>

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

We should wrap avatar components in UserDetailsTooltip, like this:

 <UserDetailsTooltip
                                        key={`stackedAvatars-${index}`}
                                        accountID={icon.id}
                                        icon={icon}
                                        fallbackUserDetails={{
                                            displayName: icon.name,
                                            avatar: icon.avatar,
                                        }}
                                    >
                                        <View>
                                    <Avatar
                                        source={icon.source}
                                        fill={themeColors.iconSuccessFill}
                                        size={CONST.AVATAR_SIZE.LARGE}
                                        containerStyles={[...iconStyle, StyleUtils.getAvatarBorderRadius(CONST.AVATAR_SIZE.LARGE_BORDERED, icon.type)]}
                                        name={icon.name}
                                        type={icon.type}
                                        fallbackIcon={icon.fallbackIcon}
                                    /></View>
                                        </UserDetailsTooltip>

What alternative solutions did you explore? (Optional)

@joelbettner
Copy link
Contributor

This is not a deploy blocker. On production, when clicking the header we get shown the following:
image

On staging, those details are now under the "Members" selection:
image

Under the "Members" selection everything works correctly with the tooltip:
image

@joelbettner joelbettner removed DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels Oct 11, 2023
@joelbettner
Copy link
Contributor

This begs the question...do we want to show the tool tip on the "RoomHeaderAvatars" as per @alitoshmatov 's proposal?

@techievivek
Copy link
Contributor

We added this change as part of this wave 8 issue: #27394 so I will tag @MitchExpensify @trjExpensify @shawnborton to confirm if we want to show the tooltip or not, but I agree that it shouldn't be a deploy blocker.

@joelbettner
Copy link
Contributor

Cool cool. Given that it is also not a bug, I'm going to un-assign myself while that discussion happens.

@joelbettner joelbettner removed their assignment Oct 11, 2023
@techievivek techievivek added Daily KSv2 and removed Hourly KSv2 labels Oct 11, 2023
@mountiny
Copy link
Contributor

I think we want to show the tooltip as we do everywhere for consistency but I agree this is not a blocker, we could export this for $250

@techievivek techievivek added External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors labels Oct 11, 2023
@melvin-bot melvin-bot bot changed the title Group chat - No tooltip when hovering over group member avatar in details page [$500] Group chat - No tooltip when hovering over group member avatar in details page Oct 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01939a661b5c2c58a4

@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

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

@techievivek techievivek changed the title [$500] Group chat - No tooltip when hovering over group member avatar in details page [$100] Group chat - No tooltip when hovering over group member avatar in details page Oct 11, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 11, 2023

Upwork job price has been updated to $100

@trjExpensify
Copy link
Contributor

I think we want to show the tooltip as we do everywhere for consistency but I agree this is not a blocker, we could export this for $250

Huh? What's the issue here? We don't show a tooltip when you hover over a user avatar in the profile page, why do we need to do it here in the group details page? A tooltip on hover over the name is enough IMO.

@techievivek
Copy link
Contributor

I am going to close this because this is expected behaviour. Please re-open the issue or bring a discussion in Slack if you disagree.

@mountiny
Copy link
Contributor

Alright, we used to show the tooltip almost everywhere so if these are the exception, thats fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

9 participants