element-portable/src/components/views
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
..
audio_messages Accessibility improvements around aria-labels and tooltips (#12062) 2024-01-05 10:59:41 +00:00
auth Fix forced lowercase username in login/registration flows (#9329) 2024-02-15 12:19:15 +00:00
avatars fix automatic DM avatar with functional members (#12157) 2024-03-03 11:01:00 +00:00
beacon Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
beta Migrate more strings to translation keys (#11608) 2023-09-19 07:17:31 +01:00
context_menus Don't reference the notification levels by colour (#12138) 2024-01-15 15:25:48 +00:00
dialogs Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
directory Migrate more strings to translation keys (#11694) 2023-10-03 19:17:26 +01:00
elements Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
emojipicker Iterate landmarks around the app in order to improve a11y (#12064) 2023-12-20 15:32:24 +00:00
location Migrate more strings to translation keys (#11694) 2023-10-03 19:17:26 +01:00
messages Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
pips Fix regression around CSS stacking contexts and PIP widgets (#12094) 2024-01-08 12:11:44 +00:00
polls Migrate the majority of TooltipTarget consumers to Compound Tooltip (#12086) 2024-01-09 11:46:31 +00:00
right_panel Use new semantic tokens for username colors (#12209) 2024-02-06 20:54:30 +00:00
room_settings Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
rooms Change 'type' prop on badges to 'forceDot' (#12327) 2024-03-14 14:30:47 +00:00
settings Reset power selector on API failure to prevent state mismatch (#12319) 2024-03-08 11:58:36 +00:00
spaces Change 'type' prop on badges to 'forceDot' (#12327) 2024-03-14 14:30:47 +00:00
terms Migrate more strings to translation keys (#11665) 2023-09-25 18:12:41 +01:00
toasts Migrate more strings to translation keys (#11665) 2023-09-25 18:12:41 +01:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Migrate more strings to translation keys (#11499) 2023-09-01 08:26:48 +01:00
verification Migrate more strings to translation keys (#11642) 2023-09-21 18:16:04 +01:00
voip Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00