element-web/test
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
..
@types
__snapshots__ Enable custom themes to theme Compound (#12240) 2024-02-13 14:07:58 +00:00
accessibility Improve Forward Dialog a11y by switching to roving tab index interactions (#12306) 2024-03-08 14:45:15 +00:00
actions/handlers
audio Move `mediaDevices` mock out of `setupManualMocks` (#11413) 2023-08-16 08:29:34 +00:00
autocomplete
components Change 'type' prop on badges to 'forceDot' (#12327) 2024-03-14 14:30:47 +00:00
contexts OIDC: Persist details in session storage, create store (#11302) 2023-07-20 21:30:19 +00:00
dispatcher
editor Deserialise spoilers back into slash command form (#11805) 2023-10-26 13:35:02 +00:00
events
hooks Fix default thread notification of the new RoomHeader (#12194) 2024-01-31 16:24:56 +00:00
i18n Use Intl for names of languages (#11427) 2023-08-22 14:07:16 +00:00
images
img
models Use browser's font size instead of hardcoded `16px` as root font size (#12246) 2024-02-21 11:23:07 +00:00
modules Expose apps/widgets (#12071) 2024-01-22 10:53:27 +00:00
notifications
settings Use browser's font size instead of hardcoded `16px` as root font size (#12246) 2024-02-21 11:23:07 +00:00
setup Locallazy: Convert even more strings (#11679) 2023-10-02 11:43:00 +01:00
stores Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
test-utils Element Call: fix widget shown while its still loading (`waitForIframeLoad=false`) (#12292) 2024-03-12 16:55:01 +00:00
toasts Refactor element call lobby + skip lobby (#12057) 2024-01-29 16:06:12 +00:00
utils Use correct push rule to evaluate room-wide mentions (#12318) 2024-03-08 14:27:08 +00:00
voice-broadcast Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
widgets
Avatar-test.ts
ContentMessages-test.ts Default intentional mentions (#11602) 2023-09-14 11:36:15 +00:00
DecryptionFailureTracker-test.js
DeviceListener-test.ts DeviceListener: Remove usage of deprecated keybackup API (#11614) 2023-09-20 11:34:18 +00:00
HtmlUtils-test.tsx Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts
Lifecycle-test.ts Fix spurious session corruption error (#12280) 2024-02-26 15:30:32 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts SettingsStore: Change feature_rust_crypto to default true (#12203) 2024-02-02 12:20:13 +00:00
MediaDeviceHandler-test.ts
Notifier-test.ts Add ringing for matrixRTC (#11870) 2023-11-21 17:12:08 +00:00
PosthogAnalytics-test.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
PreferredRoomVersions-test.ts
Reply-test.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
RoomNotifs-test.ts Add labs flag for Threads Activity Centre (#12137) 2024-01-29 17:52:48 +00:00
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SecurityManager-test.ts Set up key backup using non-deprecated APIs (2nd take) (#12098) 2024-01-10 10:34:03 +00:00
SlashCommands-test.tsx Disable upgraderoom command without developer mode enabled (#11744) 2023-10-13 09:48:32 +00:00
SlidingSyncManager-test.ts
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts Fix instances of double translation and guard translation calls using typescript (#11443) 2023-08-22 16:32:05 +01:00
Unread-test.ts Pop out of Threads Activity Centre (#12136) 2024-02-07 13:49:40 +00:00
UserActivity-test.ts Replace sinon fake timers with jest timers (#11275) 2023-07-17 12:29:51 +00:00
WorkerManager-test.ts Load web workers in a way that Webpack 5 can bundle them 2023-11-11 16:03:08 +01:00
createRoom-test.ts Always allow call.member events on new rooms (#11948) 2023-11-28 12:13:31 +00:00
email-test.ts
globalSetup.ts Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
languageHandler-test.tsx Migrate more strings to translation keys (#11694) 2023-10-03 19:17:26 +01:00
linkify-matrix-test.ts Fix clicking MXID in timeline going to matrix.to (#11263) 2023-07-14 10:55:55 +00:00
predictableRandom.ts
setupTests.ts Only retry Jest tests in CI mode (#12111) 2024-01-08 12:05:02 +00:00
slowReporter.js
submit-rageshake-test.ts Add A-Element-R labels to rageshakes if rust (#12251) 2024-02-15 19:45:46 +00:00
theme-test.ts Enable custom themes to theme Compound (#12240) 2024-02-13 14:07:58 +00:00
useTopic-test.tsx Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00