riot-web/test/components/views/rooms
David Baker bd6ebc9630
Change 'type' prop on badges to 'forceDot' (#12327)
* Change 'type' prop on badges tio 'forceDot'

Which, hopefully, better represents what it actually does. Tidies
up some of the logic.

Split out from https://github.com/matrix-org/matrix-react-sdk/pull/12254

* Missed a file

* More comments

* Oops, there is no count here.

* Back out the logic refactor of StatelessNotificationBadge

because it was also updating the logic for mark as unread badges and
rewriting the ternary to the previous logic would be quite complex.

* Fix doc comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Clarify doc on displaying the count

* Update doc for the forceDot param here too.

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-03-14 14:30:47 +00:00
..
EventTile
NotificationBadge Change 'type' prop on badges to 'forceDot' (#12327) 2024-03-14 14:30:47 +00:00
RoomHeader
__snapshots__
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 Consolidate conjugation i18n strings (#11660) 2023-09-25 12:18:15 +01:00
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