Fix: Video Room Chat Header Button Removed (#11911)

* "@vector-im/compound-design-tokens": "^0.1.0"

* add chat button to room header for video rooms

* cleanup useEffect, comments

* comment
This commit is contained in:
Kerry 2023-11-22 10:28:54 +13:00 committed by GitHub
parent 4a0ffefae7
commit 668e3a3bd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 252 additions and 5 deletions

View file

@ -0,0 +1,24 @@
// 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_1qjaf_17"
data-state="closed"
style="--cpd-icon-button-size: 32px;"
>
<div />
</button>
`;
exports[`<VideoRoomChatButton /> renders button with an unread marker when room is unread 1`] = `
<button
aria-label="Chat"
class="_icon-button_1qjaf_17"
data-indicator="default"
data-state="closed"
style="--cpd-icon-button-size: 32px;"
>
<div />
</button>
`;