mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-28 19:38:48 +08:00
f784a085fd
* New right panel visual language * Upgrade Compound * Align old room header with right panel * Rigth panel look and feel * Fix linting and e2e tests * Update snapshot * Add test * Lint * Remove screenshot local script * Update snapshots and UI based on feedback * fix i18n key * Update right panel visuals * Fix tests * lintfixes * fix tests * fix tests * Add tests for search icon * Fix invite dialog spec
70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
// 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);"
|
|
>
|
|
<span
|
|
class="_avatar_1o69u_17 mx_BaseAvatar _avatar-imageless_1o69u_60"
|
|
data-color="7"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 40px;"
|
|
>
|
|
!
|
|
</span>
|
|
<div
|
|
class="mx_Box mx_RoomHeader_info mx_Box--flex"
|
|
style="--mx-box-flex: 1;"
|
|
>
|
|
<div
|
|
aria-level="1"
|
|
class="_font-body-lg-semibold_1jx6b_83 mx_RoomHeader_heading"
|
|
dir="auto"
|
|
role="heading"
|
|
>
|
|
<span
|
|
class="mx_RoomHeader_truncated mx_lineClamp"
|
|
>
|
|
!1:example.org
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<nav
|
|
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
|
|
aria-label="There's no one here to call"
|
|
class="_icon-button_1qjaf_17"
|
|
data-state="closed"
|
|
disabled=""
|
|
style="--cpd-icon-button-size: 32px;"
|
|
>
|
|
<div />
|
|
</button>
|
|
<button
|
|
aria-label="There's no one here to call"
|
|
class="_icon-button_1qjaf_17"
|
|
data-state="closed"
|
|
disabled=""
|
|
style="--cpd-icon-button-size: 32px;"
|
|
>
|
|
<div />
|
|
</button>
|
|
<button
|
|
aria-label="Threads"
|
|
class="_icon-button_1qjaf_17"
|
|
data-state="closed"
|
|
style="--cpd-icon-button-size: 32px;"
|
|
>
|
|
<div />
|
|
</button>
|
|
</nav>
|
|
</header>
|
|
</DocumentFragment>
|
|
`;
|