From 1bb829875665fef828687023a8f8d64ce3d0d20a Mon Sep 17 00:00:00 2001 From: Ivy Gesare <83957195+Gesare5@users.noreply.github.com> Date: Wed, 7 Aug 2024 18:44:13 +0300 Subject: [PATCH] [MM-59904] Migrate tooltips of 'components/channel_invite_modal/team_warning_banner/team_warning_banner.tsx' to WithTooltip (#27852) --- .../team_warning_banner.test.tsx.snap | 72 +++++++------------ .../team_warning_banner.tsx | 20 +++--- 2 files changed, 37 insertions(+), 55 deletions(-) diff --git a/webapp/channels/src/components/channel_invite_modal/team_warning_banner/__snapshots__/team_warning_banner.test.tsx.snap b/webapp/channels/src/components/channel_invite_modal/team_warning_banner/__snapshots__/team_warning_banner.test.tsx.snap index 3e4708cc2b..4b968298f3 100644 --- a/webapp/channels/src/components/channel_invite_modal/team_warning_banner/__snapshots__/team_warning_banner.test.tsx.snap +++ b/webapp/channels/src/components/channel_invite_modal/team_warning_banner/__snapshots__/team_warning_banner.test.tsx.snap @@ -459,9 +459,10 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh mentionName="user-0" />, " and ", - - , + , " are guest users and need to first be invited to the team before you can add them to the channel. Once they've joined the team, you can add them to this channel.", ] } @@ -560,23 +561,17 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh /> and - - @user-1, @user-2, @user-3, @user-4, @user-5, @user-6, @user-7, @user-8, @user-9, @user-10 - - } + delay={400} + disabled={false} + overlay={} placement="top" trigger={ Array [ @@ -587,11 +582,9 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh > - @user-1, @user-2, @user-3, @user-4, @user-5, @user-6, @user-7, @user-8, @user-9, @user-10 - + /> } placement="top" trigger={ @@ -668,7 +658,7 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh - + are guest users and need to first be invited to the team before you can add them to the channel. Once they've joined the team, you can add them to this channel. @@ -786,9 +776,10 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh mentionName="user-0" />, " and ", - - , + , " to this channel once they are members of the ", Team Name Display @@ -890,23 +881,17 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh /> and - - @user-1, @user-2, @user-3, @user-4, @user-5, @user-6, @user-7, @user-8, @user-9, @user-10 - - } + delay={400} + disabled={false} + overlay={} placement="top" trigger={ Array [ @@ -917,11 +902,9 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh > - @user-1, @user-2, @user-3, @user-4, @user-5, @user-6, @user-7, @user-8, @user-9, @user-10 - + /> } placement="top" trigger={ @@ -998,7 +978,7 @@ exports[`components/channel_invite_modal/team_warning_banner should match snapsh - + to this channel once they are members of the { /> ), others: ( - { }} /> - + ), }, ) @@ -132,9 +133,10 @@ const TeamWarningBanner = (props: Props) => { /> ), others: ( - { }} /> - + ), team: ({team?.display_name}), },