mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 18:08:14 +08:00
d551469543
* Fix performance issues with useRoomMembers With the current implementation it would create a new function, with leading: true, rendering the whole throttling useless * Add public room indicator * Format room members count better * Add public room test * Add search to room summary card * Update settings UI * Update snapshot * Remove default title attribute
57 lines
1.2 KiB
Plaintext
57 lines
1.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<PinnedEventTile /> should render pinned event 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_PinnedEventTile"
|
|
>
|
|
<span
|
|
class="_avatar_2lhia_17 mx_BaseAvatar mx_PinnedEventTile_senderAvatar _avatar-imageless_2lhia_56"
|
|
data-color="6"
|
|
data-testid="avatar-img"
|
|
data-type="round"
|
|
role="presentation"
|
|
style="--cpd-avatar-size: 24px;"
|
|
title="@alice:server.org"
|
|
>
|
|
a
|
|
</span>
|
|
<span
|
|
class="mx_PinnedEventTile_sender mx_Username_color6"
|
|
>
|
|
@alice:server.org
|
|
</span>
|
|
<div
|
|
class="mx_PinnedEventTile_message"
|
|
>
|
|
<div
|
|
class="mx_MTextBody mx_EventTile_content"
|
|
>
|
|
<span
|
|
class="mx_EventTile_body"
|
|
dir="auto"
|
|
>
|
|
First pinned message
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mx_PinnedEventTile_footer"
|
|
>
|
|
<span
|
|
class="mx_MessageTimestamp mx_PinnedEventTile_timestamp"
|
|
>
|
|
Thu, Jan 1, 1970, 00:00
|
|
</span>
|
|
<div
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
View message
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|