bd6ebc9630
* 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> |
||
---|---|---|
.. | ||
@types | ||
__snapshots__ | ||
accessibility | ||
actions/handlers | ||
audio | ||
autocomplete | ||
components | ||
contexts | ||
dispatcher | ||
editor | ||
events | ||
hooks | ||
i18n | ||
images | ||
img | ||
models | ||
modules | ||
notifications | ||
settings | ||
setup | ||
stores | ||
test-utils | ||
toasts | ||
utils | ||
voice-broadcast | ||
widgets | ||
Avatar-test.ts | ||
ContentMessages-test.ts | ||
DecryptionFailureTracker-test.js | ||
DeviceListener-test.ts | ||
HtmlUtils-test.tsx | ||
Image-test.ts | ||
KeyBindingsManager-test.ts | ||
LegacyCallHandler-test.ts | ||
Lifecycle-test.ts | ||
Markdown-test.ts | ||
MatrixClientPeg-test.ts | ||
MediaDeviceHandler-test.ts | ||
Notifier-test.ts | ||
PosthogAnalytics-test.ts | ||
PreferredRoomVersions-test.ts | ||
Reply-test.ts | ||
RoomNotifs-test.ts | ||
Rooms-test.ts | ||
ScalarAuthClient-test.ts | ||
SdkConfig-test.ts | ||
SecurityManager-test.ts | ||
SlashCommands-test.tsx | ||
SlidingSyncManager-test.ts | ||
Terms-test.tsx | ||
TestSdkContext.ts | ||
TextForEvent-test.ts | ||
Unread-test.ts | ||
UserActivity-test.ts | ||
WorkerManager-test.ts | ||
createRoom-test.ts | ||
email-test.ts | ||
globalSetup.ts | ||
languageHandler-test.tsx | ||
linkify-matrix-test.ts | ||
predictableRandom.ts | ||
setupTests.ts | ||
slowReporter.js | ||
submit-rageshake-test.ts | ||
theme-test.ts | ||
useTopic-test.tsx |