element-web-Github/test/components/views/rooms/NotificationBadge
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
..
NotificationBadge-test.tsx Don't reference the notification levels by colour (#12138) 2024-01-15 15:25:48 +00:00
StatelessNotificationBadge-test.tsx Change 'type' prop on badges to 'forceDot' (#12327) 2024-03-14 14:30:47 +00:00
UnreadNotificationBadge-test.tsx Add notification dots to thread summary icons (#12146) 2024-01-25 16:53:41 +00:00