element-portable/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 Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
accessibility Improve Forward Dialog a11y by switching to roving tab index interactions (#12306) 2024-03-08 14:45:15 +00:00
actions Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
async-components/views/dialogs Use strong element to semantically denote visually emphasised content (#12320) 2024-03-06 23:34:14 +00:00
audio Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
autocomplete Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
components Change 'type' prop on badges to 'forceDot' (#12327) 2024-03-14 14:30:47 +00:00
contexts Improve AccessibleButton & related types (#12075) 2023-12-20 14:42:31 +00:00
customisations Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
dispatcher Fix buttons of widget in a room (#12288) 2024-02-27 12:02:16 +00:00
editor Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
effects Migrate more strings to translation keys (#11579) 2023-09-08 09:58:31 +01:00
emojipicker Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
events Stop displaying verification done messages in timeline (#11932) 2023-12-01 09:12:38 +00:00
hooks Call guest access link creation to join calls as a non registered user via the EC SPA (#12259) 2024-03-07 15:38:53 +00:00
i18n/strings [create-pull-request] automated change (#12330) 2024-03-11 06:22:49 +00:00
indexing Reduce amount of log spam (#11898) 2023-11-20 12:24:13 +00:00
integrations Remove dead & duplicated code (#11405) 2023-08-15 08:43:15 +00:00
mjolnir Migrate more strings to translation keys (#11613) 2023-09-19 17:16:38 +01:00
models Element Call: fix widget shown while its still loading (waitForIframeLoad=false) (#12292) 2024-03-12 16:55:01 +00:00
modules ModuleAPI: overwrite_login action was not stopping the existing client resulting in the action failing with rust-sdk (#12272) 2024-02-22 15:41:21 +00:00
notifications Fix: sync intentional mentions push rules with legacy rules (#11667) 2023-09-27 00:03:38 +00:00
performance Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
rageshake Add A-Element-R labels to rageshakes if rust (#12251) 2024-02-15 19:45:46 +00:00
resizer Enable strictFunctionTypes (#11201) 2023-07-07 13:37:26 +01:00
settings Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
slash-commands Migrate more strings to translation keys (#11665) 2023-09-25 18:12:41 +01:00
stores Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
toasts New Header edgecase fixes: Close lobby button not shown, disable join button in various places, more... (#12235) 2024-02-08 16:48:50 +00:00
usercontent Apply prettier formatting 2022-12-12 12:24:14 +01:00
utils Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
voice-broadcast Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
widgets Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
workers Appease the linter 2023-11-18 21:37:49 +01:00
AddThreepid.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
AsyncWrapper.tsx Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
Avatar.ts Fixes read receipt avatar offset (#11483) 2023-08-30 11:47:35 +00:00
BasePlatform.ts Fix Native OIDC for Element Desktop (#12253) 2024-02-19 15:10:11 +00:00
BlurhashEncoder.ts Fix paths and extensions 2023-11-13 20:10:55 +01:00
boundThreepids.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
call-types.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
ContentMessages.ts Reuse media content/info types from the js-sdk (#12308) 2024-03-11 09:30:00 +00:00
createRoom.ts Always allow call.member events on new rooms (#11948) 2023-11-28 12:13:31 +00:00
DateUtils.ts Port more strings to translation keys (#11474) 2023-08-31 07:35:34 +00:00
DecryptionFailureTracker.ts Increase decryption failure grace period (#12298) 2024-02-29 15:29:59 +00:00
DeviceListener.ts DeviceListener: Remove usage of deprecated keybackup API (#11614) 2023-09-20 11:34:18 +00:00
Editing.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
email.ts Factor out basic email check (#10244) 2023-02-28 10:39:35 +01:00
HtmlUtils.tsx Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
IConfigOptions.ts Call guest access link creation to join calls as a non registered user via the EC SPA (#12259) 2024-03-07 15:38:53 +00:00
identifiers.ts
IdentityAuthClient.tsx Fix Identity Server terms accepting not working as expected (#12109) 2024-01-08 10:27:03 +00:00
ImageUtils.ts Conform more of the codebase to strictNullChecks (#10573) 2023-04-13 08:52:57 +01:00
index.ts Step 6: Refactor event rendering to stop using getComponent 2022-03-28 14:02:31 -06:00
KeyBindingsDefaults.ts Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
KeyBindingsManager.ts Conform more code to strictNullChecks (#10374) 2023-03-16 11:07:29 +00:00
Keyboard.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
languageHandler.tsx Update custom translations to support nested fields in structured JSON (#11685) 2023-10-02 10:44:25 +00:00
LegacyCallHandler.tsx Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
Lifecycle.ts Fix spurious session corruption error (#12280) 2024-02-26 15:30:32 +00:00
linkify-matrix.ts Enable redirected media by default (#12142) 2024-02-11 07:32:57 +00:00
Livestream.ts Pass around MatrixClients instead of using MatrixClientPeg (#10984) 2023-06-01 14:43:24 +01:00
Login.ts Improve client metadata used for OIDC dynamic registration (#12257) 2024-02-16 14:43:58 +00:00
Markdown.ts Treat lists with a single empty item as plain text, not Markdown. (#6833) 2023-08-17 16:37:19 +00:00
MatrixClientPeg.ts Support rust in StorageManager (#12206) 2024-02-01 15:42:14 +00:00
MediaDeviceHandler.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
Modal.tsx Refine styles of menus, toasts, popovers, and modals (#12332) 2024-03-13 13:38:32 +00:00
NodeAnimator.tsx Fix regression around read receipt animation from refs changes (#12100) 2024-01-03 11:36:11 +00:00
Notifier.ts Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
PageTypes.ts Delete the remainder of groups (#9357) 2022-10-05 17:44:46 +00:00
PasswordReset.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
phonenumber.ts Get country names from the browser instead of manual i18n (#11428) 2023-08-22 16:15:16 +00:00
PlatformPeg.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
PosthogAnalytics.ts Report crypto sdk in posthog (#11834) 2023-11-13 14:16:12 +00:00
PosthogTrackers.ts Update dependency @vector-im/compound-web to v0.9.4 (#11891) 2023-12-14 11:10:01 +00:00
Presence.ts Switch to updating presence via /sync calls instead of PUT /presence (#11824) 2023-11-01 10:49:47 +00:00
Registration.tsx Migrate more strings to translation keys (#11608) 2023-09-19 07:17:31 +01:00
Resend.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
Roles.ts Migrate more strings to translation keys (#11498) 2023-08-31 11:22:10 +01:00
RoomAliasCache.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
RoomInvite.tsx Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
RoomNotifs.ts Add labs flag for Threads Activity Centre (#12137) 2024-01-29 17:52:48 +00:00
Rooms.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
ScalarAuthClient.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
ScalarMessaging.ts Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
SdkConfig.ts Show all labs flags if developerMode enabled (#11746) 2023-10-13 13:24:00 +00:00
Searching.ts Switch to importing more things from the main js-sdk export (#11377) 2023-08-10 08:01:14 +00:00
SecurityManager.ts Set up key backup using non-deprecated APIs (2nd take) (#12098) 2024-01-10 10:34:03 +00:00
SendHistoryManager.ts Switch to importing models/event from main js-sdk export (#11363) 2023-08-07 08:24:58 +00:00
sendTimePerformanceMetrics.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
sentry.ts Update dependency @sentry/browser to v7.94.1 (#12171) 2024-01-24 09:23:54 +00:00
shouldHideEvent.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
SlashCommands.tsx Disable upgraderoom command without developer mode enabled (#11744) 2023-10-13 09:48:32 +00:00
SlidingSyncManager.ts Switch to importing @types/{event,partials} from main js-sdk export (#11369) 2023-08-08 10:12:12 +00:00
Terms.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
TextForEvent.tsx Migrate more strings to translation keys (#11683) 2023-10-02 13:52:27 +01:00
theme.ts Make EC widget theme reactive - Update widget url when the theme changes (#12295) 2024-03-13 14:52:41 +00:00
Typeguards.ts RTE plain text mentions as pills (#10852) 2023-05-16 11:54:16 +00:00
Unread.ts Pop out of Threads Activity Centre (#12136) 2024-02-07 13:49:40 +00:00
UserActivity.ts Update dependency prettier to v3 (#12095) 2024-01-02 18:56:39 +00:00
UserAddress.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
verification.ts Switch to importing models/{event-timeline{,set},user,device,event-status} from main js-sdk export (#11368) 2023-08-08 07:16:04 +00:00
Views.ts Lock out the first tab if Element is opened in a second tab. (#11425) 2023-08-24 08:28:43 +00:00
VoipUserMapper.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
WhoIsTyping.ts Migrate more strings to translation keys (#11530) 2023-09-05 10:44:41 +01:00
WorkerManager.ts Load web workers in a way that Webpack 5 can bundle them 2023-11-11 16:03:08 +01:00