mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-25 09:58:11 +08:00
95430cecbc
* Add notification dots to thread summary icons Adopts new IndicatorIcon from compound to have threads icons with indicator dot (that aren't also buttons). Adds green & red dots on the threads icon in the thread summary to indicate notifications. Changes the notification level dots colours in the threads panel to be green to match. * Update test for new CSS class * Update snapshots with new class name * Another snapshot update for new class name * Replace more uses of old class name in tests * More snapshot updates for new class name * Unsure how this ever worked in chronological mode * More snapshot updates * Fix dot colours * Upgrade to compound-web 3 * Fix computed notification levels * Add test for notificationLevelToIndicator
40 lines
839 B
Plaintext
40 lines
839 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<VideoRoomChatButton /> renders button when room is a video room 1`] = `
|
|
<button
|
|
aria-label="Chat"
|
|
class="_icon-button_16nk7_17"
|
|
data-state="closed"
|
|
role="button"
|
|
style="--cpd-icon-button-size: 32px;"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="_indicator-icon_jtb4d_26"
|
|
style="--cpd-icon-button-size: 100%;"
|
|
>
|
|
<div />
|
|
</div>
|
|
</button>
|
|
`;
|
|
|
|
exports[`<VideoRoomChatButton /> renders button with an unread marker when room is unread 1`] = `
|
|
<button
|
|
aria-label="Chat"
|
|
class="_icon-button_16nk7_17"
|
|
data-indicator="default"
|
|
data-state="closed"
|
|
role="button"
|
|
style="--cpd-icon-button-size: 32px;"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="_indicator-icon_jtb4d_26"
|
|
data-indicator="default"
|
|
style="--cpd-icon-button-size: 100%;"
|
|
>
|
|
<div />
|
|
</div>
|
|
</button>
|
|
`;
|