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
|
@ -141,9 +141,10 @@ describe("EventTile", () => {
|
|||
mxEvent = rootEvent;
|
||||
});
|
||||
|
||||
it("shows an unread notification bage", () => {
|
||||
it("shows an unread notification badge", () => {
|
||||
const { container } = getComponent({}, TimelineRenderingType.ThreadsList);
|
||||
|
||||
// By default, the thread will assume it is read.
|
||||
expect(container.getElementsByClassName("mx_NotificationBadge")).toHaveLength(0);
|
||||
|
||||
act(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue