Display rooms & threads as unread (bold) if threads have unread messages. (#9763)
Co-authored-by: Germain <germain@souquet.com> Co-authored-by: Germain <germains@element.io> Fixes https://github.com/vector-im/element-web/issues/23907
This commit is contained in:
parent
df03112a3b
commit
da2640b7ba
9 changed files with 521 additions and 183 deletions
|
@ -21,27 +21,7 @@ exports[`RoomGeneralContextMenu renders an empty context menu for archived rooms
|
|||
>
|
||||
<div
|
||||
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
|
||||
>
|
||||
<div
|
||||
aria-checked="false"
|
||||
aria-label="Mark as read"
|
||||
class="mx_AccessibleButton mx_IconizedContextMenu_item"
|
||||
role="menuitemcheckbox"
|
||||
tabindex="0"
|
||||
>
|
||||
<span
|
||||
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconMarkAsRead"
|
||||
/>
|
||||
<span
|
||||
class="mx_IconizedContextMenu_label"
|
||||
>
|
||||
Mark as read
|
||||
</span>
|
||||
<span
|
||||
class="mx_IconizedContextMenu_icon mx_IconizedContextMenu_unchecked"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
/>
|
||||
<div
|
||||
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst mx_IconizedContextMenu_optionList_red"
|
||||
>
|
||||
|
@ -88,27 +68,7 @@ exports[`RoomGeneralContextMenu renders the default context menu 1`] = `
|
|||
>
|
||||
<div
|
||||
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst"
|
||||
>
|
||||
<div
|
||||
aria-checked="false"
|
||||
aria-label="Mark as read"
|
||||
class="mx_AccessibleButton mx_IconizedContextMenu_item"
|
||||
role="menuitemcheckbox"
|
||||
tabindex="0"
|
||||
>
|
||||
<span
|
||||
class="mx_IconizedContextMenu_icon mx_RoomGeneralContextMenu_iconMarkAsRead"
|
||||
/>
|
||||
<span
|
||||
class="mx_IconizedContextMenu_label"
|
||||
>
|
||||
Mark as read
|
||||
</span>
|
||||
<span
|
||||
class="mx_IconizedContextMenu_icon mx_IconizedContextMenu_unchecked"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
/>
|
||||
<div
|
||||
class="mx_IconizedContextMenu_optionList mx_IconizedContextMenu_optionList_notFirst mx_IconizedContextMenu_optionList_red"
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue