element-web/src
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
accessibility
actions
async-components/views/dialogs
audio
autocomplete
components Change 'type' prop on badges to 'forceDot' (#12327) 2024-03-14 14:30:47 +00:00
contexts
customisations
dispatcher
editor
effects
emojipicker
events
hooks
i18n/strings
indexing
integrations
mjolnir
models
modules
notifications
performance
rageshake
resizer
settings
slash-commands
stores
toasts
usercontent
utils
voice-broadcast
widgets
workers
AddThreepid.ts
AsyncWrapper.tsx
Avatar.ts
BasePlatform.ts
BlurhashEncoder.ts
ContentMessages.ts
DateUtils.ts
DecryptionFailureTracker.ts
DeviceListener.ts
Editing.ts
HtmlUtils.tsx
IConfigOptions.ts
IdentityAuthClient.tsx
ImageUtils.ts
KeyBindingsDefaults.ts
KeyBindingsManager.ts
Keyboard.ts
LegacyCallHandler.tsx
Lifecycle.ts
Livestream.ts
Login.ts
Markdown.ts
MatrixClientPeg.ts
MediaDeviceHandler.ts
Modal.tsx
NodeAnimator.tsx
Notifier.ts
PageTypes.ts
PasswordReset.ts
PlatformPeg.ts
PosthogAnalytics.ts
PosthogTrackers.ts
Presence.ts
Registration.tsx
Resend.ts
Roles.ts
RoomAliasCache.ts
RoomInvite.tsx
RoomNotifs.ts
Rooms.ts
ScalarAuthClient.ts
ScalarMessaging.ts
SdkConfig.ts
Searching.ts
SecurityManager.ts
SendHistoryManager.ts
SlashCommands.tsx
SlidingSyncManager.ts
Terms.ts
TextForEvent.tsx
Typeguards.ts
Unread.ts
UserActivity.ts
UserAddress.ts
Views.ts
VoipUserMapper.ts
WhoIsTyping.ts
WorkerManager.ts
boundThreepids.ts
call-types.ts
createRoom.ts
email.ts
identifiers.ts
index.ts
languageHandler.tsx
linkify-matrix.ts
phonenumber.ts
sendTimePerformanceMetrics.ts
sentry.ts
shouldHideEvent.ts
theme.ts
verification.ts