mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
8b7f49e74e
* Rewrite doesRoomOrThreadHaveUnreadMessages to use the receipt rewrite from js-sdk * Remove unit tests that rely on receipt timestamps Previously, if we found a receipt for an unknown event, we would use the receipt timestamp and declare all events before that time to be read. Now, we ignore such "dangling" receipts until we find the event they refer to. This new behaviour is more correct, but does lead to more messages being considered unread. This commit deletes tests that checked for the old behaviour. * Check for a missing thread in determineUnreadState * Fix incorrect way to find room timeline * More realistic test setup to support new receipt code * Update snapshot to expect a room to be unread when there are no receipts * Formatting fixes * Update snapshot to show menu and notif button * Disable some flaky tests * Disable some flaky tests * Fix test to make a threaded receipt for an event that is actually in the thread --------- Co-authored-by: Florian Duros <florianduros@element.io> Co-authored-by: Florian Duros <florian.duros@ormaz.fr> |
||
---|---|---|
.. | ||
__snapshots__ | ||
EventTile | ||
NotificationBadge | ||
RoomHeader | ||
wysiwyg_composer | ||
BasicMessageComposer-test.tsx | ||
EditMessageComposer-test.tsx | ||
EventTile-test.tsx | ||
ExtraTile-test.tsx | ||
LegacyRoomHeader-test.tsx | ||
MemberList-test.tsx | ||
MemberTile-test.tsx | ||
MessageComposer-test.tsx | ||
MessageComposerButtons-test.tsx | ||
NewRoomIntro-test.tsx | ||
PinnedEventTile-test.tsx | ||
PresenceLabel-test.tsx | ||
ReadReceiptGroup-test.tsx | ||
RoomHeader-test.tsx | ||
RoomKnocksBar-test.tsx | ||
RoomList-test.tsx | ||
RoomListHeader-test.tsx | ||
RoomPreviewBar-test.tsx | ||
RoomPreviewCard-test.tsx | ||
RoomTile-test.tsx | ||
SearchBar-test.tsx | ||
SearchResultTile-test.tsx | ||
SendMessageComposer-test.tsx | ||
ThirdPartyMemberInfo-test.tsx | ||
VoiceRecordComposerTile-test.tsx |