element-web-Github/test/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 Get country names from the browser instead of manual i18n (#11428) 2023-08-22 16:15:16 +00:00
avatars Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
beacon Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
beta Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
context_menus Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
dialogs Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
elements Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
emojipicker Fix regression in emoji picker order mangling after clearing filter (#10854) 2023-05-11 13:24:39 +00:00
location Upgrade compound-web (#12234) 2024-02-07 17:26:05 +00:00
messages Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
polls/pollHistory Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
right_panel Update dependency @vector-im/compound-web to v3.1.3 (#12281) 2024-03-07 14:40:03 +00:00
rooms Change 'type' prop on badges to 'forceDot' (#12327) 2024-03-14 14:30:47 +00:00
settings Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
spaces Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
toasts Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
typography Compound Typography pass (#11103) 2023-06-29 10:30:25 +00:00
user-onboarding Update Jest to more recent release (#11409) 2023-08-16 10:20:48 +00:00
voip Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
VerificationShowSas-test.tsx Load SAS Emoji translations from @matrix-org/spec (#11429) 2023-08-21 08:15:22 +00:00