2023-08-30 19:55:02 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`RoomHeader does not show the face pile for DMs 1`] = `
|
|
|
|
<DocumentFragment>
|
|
|
|
<header
|
|
|
|
class="mx_Flex mx_RoomHeader light-panel"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-3x);"
|
|
|
|
>
|
2023-11-28 22:15:21 +01:00
|
|
|
<button
|
2024-07-23 13:46:24 +02:00
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="dialog"
|
2023-11-28 22:15:21 +01:00
|
|
|
aria-label="Room info"
|
|
|
|
class="mx_RoomHeader_infoWrapper"
|
|
|
|
tabindex="0"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
2023-11-28 22:15:21 +01:00
|
|
|
<span
|
2024-03-07 15:40:03 +01:00
|
|
|
class="_avatar_mcap2_17 mx_BaseAvatar _avatar-imageless_mcap2_61"
|
2024-02-07 18:26:05 +01:00
|
|
|
data-color="3"
|
2023-11-28 22:15:21 +01:00
|
|
|
data-testid="avatar-img"
|
|
|
|
data-type="round"
|
|
|
|
role="presentation"
|
|
|
|
style="--cpd-avatar-size: 40px;"
|
|
|
|
>
|
|
|
|
!
|
|
|
|
</span>
|
2023-08-30 19:55:02 +02:00
|
|
|
<div
|
2023-11-28 22:15:21 +01:00
|
|
|
class="mx_Box mx_RoomHeader_info mx_Box--flex"
|
|
|
|
style="--mx-box-flex: 1;"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
2023-11-28 22:15:21 +01:00
|
|
|
<div
|
|
|
|
aria-level="1"
|
|
|
|
class="_typography_yh5dq_162 _font-body-lg-semibold_yh5dq_83 mx_RoomHeader_heading"
|
|
|
|
dir="auto"
|
|
|
|
role="heading"
|
2023-10-11 16:43:01 +02:00
|
|
|
>
|
2023-11-28 22:15:21 +01:00
|
|
|
<span
|
|
|
|
class="mx_RoomHeader_truncated mx_lineClamp"
|
|
|
|
>
|
|
|
|
!1:example.org
|
|
|
|
</span>
|
|
|
|
</div>
|
2023-08-30 19:55:02 +02:00
|
|
|
</div>
|
2023-11-28 22:15:21 +01:00
|
|
|
</button>
|
2023-12-20 16:32:24 +01:00
|
|
|
<div
|
2023-08-30 19:55:02 +02:00
|
|
|
class="mx_Flex"
|
|
|
|
style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: center; --mx-flex-justify: start; --mx-flex-gap: var(--cpd-space-2x);"
|
|
|
|
>
|
|
|
|
<button
|
2023-12-14 12:10:01 +01:00
|
|
|
aria-disabled="true"
|
2023-09-11 18:55:32 +02:00
|
|
|
aria-label="There's no one here to call"
|
2024-07-12 17:27:51 +02:00
|
|
|
class="_icon-button_bh2qc_17"
|
2023-12-14 12:10:01 +01:00
|
|
|
role="button"
|
2023-08-30 19:55:02 +02:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 12:10:01 +01:00
|
|
|
tabindex="0"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
2024-01-25 17:53:41 +01:00
|
|
|
<div
|
2024-02-02 11:26:06 +01:00
|
|
|
class="_indicator-icon_133tf_26"
|
2024-01-25 17:53:41 +01:00
|
|
|
style="--cpd-icon-button-size: 100%; --cpd-color-icon-tertiary: var(--cpd-color-icon-disabled);"
|
|
|
|
>
|
2024-05-06 10:54:40 +02:00
|
|
|
<div />
|
2024-01-25 17:53:41 +01:00
|
|
|
</div>
|
2023-08-30 19:55:02 +02:00
|
|
|
</button>
|
|
|
|
<button
|
2023-12-14 12:10:01 +01:00
|
|
|
aria-disabled="true"
|
2023-09-11 18:55:32 +02:00
|
|
|
aria-label="There's no one here to call"
|
2024-07-12 17:27:51 +02:00
|
|
|
class="_icon-button_bh2qc_17"
|
2023-12-14 12:10:01 +01:00
|
|
|
role="button"
|
2023-08-30 19:55:02 +02:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 12:10:01 +01:00
|
|
|
tabindex="0"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
2024-01-25 17:53:41 +01:00
|
|
|
<div
|
2024-02-02 11:26:06 +01:00
|
|
|
class="_indicator-icon_133tf_26"
|
2024-01-25 17:53:41 +01:00
|
|
|
style="--cpd-icon-button-size: 100%; --cpd-color-icon-tertiary: var(--cpd-color-icon-disabled);"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
2023-08-30 19:55:02 +02:00
|
|
|
</button>
|
2024-07-09 13:36:50 +02:00
|
|
|
<button
|
|
|
|
aria-label="Room info"
|
2024-07-12 17:27:51 +02:00
|
|
|
class="_icon-button_bh2qc_17"
|
2024-07-09 13:36:50 +02:00
|
|
|
role="button"
|
|
|
|
style="--cpd-icon-button-size: 32px;"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="_indicator-icon_133tf_26"
|
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
|
|
|
</button>
|
2023-08-30 19:55:02 +02:00
|
|
|
<button
|
2023-09-11 18:55:32 +02:00
|
|
|
aria-label="Threads"
|
2024-07-12 17:27:51 +02:00
|
|
|
class="_icon-button_bh2qc_17"
|
2023-12-14 12:10:01 +01:00
|
|
|
role="button"
|
2023-08-30 19:55:02 +02:00
|
|
|
style="--cpd-icon-button-size: 32px;"
|
2023-12-14 12:10:01 +01:00
|
|
|
tabindex="0"
|
2023-08-30 19:55:02 +02:00
|
|
|
>
|
2024-01-25 17:53:41 +01:00
|
|
|
<div
|
2024-02-02 11:26:06 +01:00
|
|
|
class="_indicator-icon_133tf_26"
|
2024-01-25 17:53:41 +01:00
|
|
|
style="--cpd-icon-button-size: 100%;"
|
|
|
|
>
|
|
|
|
<div />
|
|
|
|
</div>
|
2023-08-30 19:55:02 +02:00
|
|
|
</button>
|
2023-12-20 16:32:24 +01:00
|
|
|
</div>
|
2023-08-30 19:55:02 +02:00
|
|
|
</header>
|
|
|
|
</DocumentFragment>
|
|
|
|
`;
|