Skip to content

Commit

Permalink
[MM-59909] Migrate tooltips of 'components/user_group_popover/group_m…
Browse files Browse the repository at this point in the history
…ember_list/group_member_list.tsx' to WithTooltip (mattermost#27809)
  • Loading branch information
hereje authored Aug 7, 2024
1 parent 7f35be5 commit 08e4215
Show file tree
Hide file tree
Showing 3 changed files with 95 additions and 204 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,22 +1060,16 @@ exports[`component/user_group_popover should match snapshot 1`] = `
<div
className="DMContainer-ilPVMc Cnskx group-member-list_dm-button"
>
<SimpleTooltip
content="Send message"
<WithTooltip
id="name-id0"
placement="top"
title="Send message"
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
overlay={
<Tooltip
className="hidden-xs"
id="name-id0"
placement="top"
>
Send message
</Tooltip>
}
delay={400}
disabled={false}
overlay={<Unknown />}
placement="top"
trigger={
Array [
Expand All @@ -1086,11 +1080,9 @@ exports[`component/user_group_popover should match snapshot 1`] = `
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
delay={400}
overlay={
<OverlayWrapper
className="hidden-xs"
id="name-id0"
intl={
Object {
"$t": [Function],
Expand Down Expand Up @@ -1130,10 +1122,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
"wrapRichTextChunksInFragment": undefined,
}
}
placement="top"
>
Send message
</OverlayWrapper>
/>
}
placement="top"
trigger={
Expand Down Expand Up @@ -1168,7 +1157,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
</DMButton>
</OverlayTrigger>
</OverlayTrigger>
</SimpleTooltip>
</WithTooltip>
</div>
</DMContainer>
</div>
Expand Down Expand Up @@ -1279,22 +1268,16 @@ exports[`component/user_group_popover should match snapshot 1`] = `
<div
className="DMContainer-ilPVMc Cnskx group-member-list_dm-button"
>
<SimpleTooltip
content="Send message"
<WithTooltip
id="name-id1"
placement="top"
title="Send message"
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
overlay={
<Tooltip
className="hidden-xs"
id="name-id1"
placement="top"
>
Send message
</Tooltip>
}
delay={400}
disabled={false}
overlay={<Unknown />}
placement="top"
trigger={
Array [
Expand All @@ -1305,11 +1288,9 @@ exports[`component/user_group_popover should match snapshot 1`] = `
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
delay={400}
overlay={
<OverlayWrapper
className="hidden-xs"
id="name-id1"
intl={
Object {
"$t": [Function],
Expand Down Expand Up @@ -1349,10 +1330,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
"wrapRichTextChunksInFragment": undefined,
}
}
placement="top"
>
Send message
</OverlayWrapper>
/>
}
placement="top"
trigger={
Expand Down Expand Up @@ -1387,7 +1365,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
</DMButton>
</OverlayTrigger>
</OverlayTrigger>
</SimpleTooltip>
</WithTooltip>
</div>
</DMContainer>
</div>
Expand Down Expand Up @@ -1498,22 +1476,16 @@ exports[`component/user_group_popover should match snapshot 1`] = `
<div
className="DMContainer-ilPVMc Cnskx group-member-list_dm-button"
>
<SimpleTooltip
content="Send message"
<WithTooltip
id="name-id10"
placement="top"
title="Send message"
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
overlay={
<Tooltip
className="hidden-xs"
id="name-id10"
placement="top"
>
Send message
</Tooltip>
}
delay={400}
disabled={false}
overlay={<Unknown />}
placement="top"
trigger={
Array [
Expand All @@ -1524,11 +1496,9 @@ exports[`component/user_group_popover should match snapshot 1`] = `
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
delay={400}
overlay={
<OverlayWrapper
className="hidden-xs"
id="name-id10"
intl={
Object {
"$t": [Function],
Expand Down Expand Up @@ -1568,10 +1538,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
"wrapRichTextChunksInFragment": undefined,
}
}
placement="top"
>
Send message
</OverlayWrapper>
/>
}
placement="top"
trigger={
Expand Down Expand Up @@ -1606,7 +1573,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
</DMButton>
</OverlayTrigger>
</OverlayTrigger>
</SimpleTooltip>
</WithTooltip>
</div>
</DMContainer>
</div>
Expand Down Expand Up @@ -1717,22 +1684,16 @@ exports[`component/user_group_popover should match snapshot 1`] = `
<div
className="DMContainer-ilPVMc Cnskx group-member-list_dm-button"
>
<SimpleTooltip
content="Send message"
<WithTooltip
id="name-id11"
placement="top"
title="Send message"
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
overlay={
<Tooltip
className="hidden-xs"
id="name-id11"
placement="top"
>
Send message
</Tooltip>
}
delay={400}
disabled={false}
overlay={<Unknown />}
placement="top"
trigger={
Array [
Expand All @@ -1743,11 +1704,9 @@ exports[`component/user_group_popover should match snapshot 1`] = `
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
delay={400}
overlay={
<OverlayWrapper
className="hidden-xs"
id="name-id11"
intl={
Object {
"$t": [Function],
Expand Down Expand Up @@ -1787,10 +1746,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
"wrapRichTextChunksInFragment": undefined,
}
}
placement="top"
>
Send message
</OverlayWrapper>
/>
}
placement="top"
trigger={
Expand Down Expand Up @@ -1825,7 +1781,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
</DMButton>
</OverlayTrigger>
</OverlayTrigger>
</SimpleTooltip>
</WithTooltip>
</div>
</DMContainer>
</div>
Expand Down Expand Up @@ -1936,22 +1892,16 @@ exports[`component/user_group_popover should match snapshot 1`] = `
<div
className="DMContainer-ilPVMc Cnskx group-member-list_dm-button"
>
<SimpleTooltip
content="Send message"
<WithTooltip
id="name-id12"
placement="top"
title="Send message"
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
overlay={
<Tooltip
className="hidden-xs"
id="name-id12"
placement="top"
>
Send message
</Tooltip>
}
delay={400}
disabled={false}
overlay={<Unknown />}
placement="top"
trigger={
Array [
Expand All @@ -1962,11 +1912,9 @@ exports[`component/user_group_popover should match snapshot 1`] = `
>
<OverlayTrigger
defaultOverlayShown={false}
delayShow={100}
delay={400}
overlay={
<OverlayWrapper
className="hidden-xs"
id="name-id12"
intl={
Object {
"$t": [Function],
Expand Down Expand Up @@ -2006,10 +1954,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
"wrapRichTextChunksInFragment": undefined,
}
}
placement="top"
>
Send message
</OverlayWrapper>
/>
}
placement="top"
trigger={
Expand Down Expand Up @@ -2044,7 +1989,7 @@ exports[`component/user_group_popover should match snapshot 1`] = `
</DMButton>
</OverlayTrigger>
</OverlayTrigger>
</SimpleTooltip>
</WithTooltip>
</div>
</DMContainer>
</div>
Expand Down
Loading

0 comments on commit 08e4215

Please sign in to comment.