element-web/src
Travis Ralston 9350c50f87 Step 6: Refactor event rendering to stop using getComponent
We move all of the event tile rendering into a factory manager for a couple reasons:
1. `EventTile` is uncomfortably large for a file
2. A simple map isn't possible anymore (can't convert the existing maps like `eventTileTypes` to `Record<string, typeof React.Component>` because the types are actually incompatible)

So, by having a factory manager place we can more easily render components without having to use `getComponent()` all over the place, and without lying to ourselves about how simple the event rendering path is.

This change also moves quite a bit of the rendering path into the new `EventTileFactory` file so it can be easily seen by future developers.
2022-03-28 14:02:31 -06:00
..
@types Step 4: Disable/remove bulk of skinner code 2022-03-28 14:02:31 -06:00
accessibility Replace "community" with "space" of keyboard shortcuts (#7994) 2022-03-23 07:52:05 +00:00
actions Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
async-components/views/dialogs Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
audio Add lint for unused locals (#8007) 2022-03-09 12:05:16 +00:00
autocomplete Upgrade emojibase and twemoji (#7286) 2022-03-23 17:08:34 +00:00
components Step 6: Refactor event rendering to stop using getComponent 2022-03-28 14:02:31 -06:00
contexts Voice rooms prototype (#8084) 2022-03-22 16:14:11 -06:00
customisations Chat export parameter customisation (#7647) 2022-01-31 12:54:14 +01:00
dispatcher When showing thread, always auto-focus its composer (#8115) 2022-03-23 10:54:40 +00:00
editor Fix emoting with emoji or pills (#8105) 2022-03-21 19:09:43 +00:00
effects Chat Effects & Commands in thread context (#7138) 2021-11-18 12:47:11 +00:00
emojipicker Auto fix 2021-10-22 17:23:37 -05:00
events Step 6: Refactor event rendering to stop using getComponent 2022-03-28 14:02:31 -06:00
hooks Prefer RoomStateEvent.Update where possible as it fires far less (#7878) 2022-02-24 14:39:25 +00:00
i18n/strings Display button as inline in room directory dialog (#8164) 2022-03-28 10:02:32 +01:00
indexing Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
integrations Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
mjolnir Improve typing around event emitter handlers (#7816) 2022-02-22 12:18:08 +00:00
models Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
notifications Add lint for unused locals (#8007) 2022-03-09 12:05:16 +00:00
performance Auto fix 2021-10-22 17:23:37 -05:00
rageshake Fix view source and devtools showing hljs warnings (#7759) 2022-02-09 09:09:06 +00:00
resizer Add a condition to only activate the resizer which belongs to the clicked handle (#7055) 2021-11-02 11:48:50 +00:00
settings Floor media dimensions to prevent blurhash errors (#8157) 2022-03-25 16:40:49 +00:00
stores Step 3.2: Stop using getComponent in code 2022-03-28 14:02:31 -06:00
toasts Step 1: Remove all usage of @replaceableComponent 2022-03-28 14:02:31 -06:00
usercontent Improve typing 2021-09-25 09:58:01 +02:00
utils Step 6: Refactor event rendering to stop using getComponent 2022-03-28 14:02:31 -06:00
widgets Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
workers
ActiveRoomObserver.ts Add lint for unused locals (#8007) 2022-03-09 12:05:16 +00:00
AddThreepid.ts Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
Analytics.tsx Step 3.2: Stop using getComponent in code 2022-03-28 14:02:31 -06:00
AsyncWrapper.tsx Step 3.2: Stop using getComponent in code 2022-03-28 14:02:31 -06:00
Avatar.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
BasePlatform.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
BlurhashEncoder.ts
boundThreepids.ts Auto fix 2021-10-22 17:23:37 -05:00
CallHandler.tsx Voice rooms prototype (#8084) 2022-03-22 16:14:11 -06:00
ContentMessages.ts Step 3.2: Stop using getComponent in code 2022-03-28 14:02:31 -06:00
createRoom.ts Show voice room participants when not connected (#8136) 2022-03-28 14:12:09 +01:00
DateUtils.ts Live location share - set time limit (#8082) 2022-03-21 12:42:58 +01:00
DecryptionFailureTracker.ts Remove Countly analytics integration (#7808) 2022-02-15 16:58:30 +00:00
DeviceListener.ts Add logging to diagnose non-disappearing toasts (#7947) 2022-03-02 14:30:04 +00:00
email.ts
emoji.ts Upgrade emojibase and twemoji (#7286) 2022-03-23 17:08:34 +00:00
group_helpers.tsx Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
HtmlUtils.tsx Fix issue with falsey hrefs being sent in events (#8113) 2022-03-23 13:38:57 +00:00
IConfigOptions.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
identifiers.ts
IdentityAuthClient.tsx Auto fix 2021-10-22 17:23:37 -05:00
ImageUtils.ts
index.ts Step 6: Refactor event rendering to stop using getComponent 2022-03-28 14:02:31 -06:00
KeyBindingsDefaults.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
KeyBindingsManager.ts Make everything use the KeyBindingManager (#7907) 2022-02-28 16:05:52 +00:00
Keyboard.ts Keyboard shortcut to open the sticker picker (#7985) 2022-03-08 15:05:36 +00:00
languageHandler.tsx Add support for overriding strings in the app (#7886) 2022-03-01 11:53:09 -07:00
Lifecycle.ts Add support for redirecting to external pages after logout (#7905) 2022-03-01 11:06:17 -07:00
linkify-matrix.ts Fix issue with falsey hrefs being sent in events (#8113) 2022-03-23 13:38:57 +00:00
Livestream.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
Login.ts Revert "Support refresh tokens (#7802)" 2022-02-16 12:32:38 -07:00
Markdown.ts Fix formatting not being applied after links (#7990) 2022-03-08 13:12:36 +00:00
MatrixClientPeg.ts Step 3.2: Stop using getComponent in code 2022-03-28 14:02:31 -06:00
MediaDeviceHandler.ts Auto fix 2021-10-22 17:23:37 -05:00
Modal.tsx Fix ModalManager reRender racing with itself (#7027) 2021-10-25 12:37:59 +01:00
NodeAnimator.tsx Add some member access qualifiers 2021-09-28 07:48:56 +02:00
Notifier.ts update location event types (#8022) 2022-03-10 18:03:31 +00:00
PageTypes.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
PasswordReset.ts Add lint for unused locals (#8007) 2022-03-09 12:05:16 +00:00
phonenumber.ts
PlatformPeg.ts
PosthogAnalytics.ts Include /test in tsc config, fix rest of issues (#8119) 2022-03-23 10:27:28 +00:00
PosthogTrackers.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
Presence.ts Auto fix 2021-10-22 17:23:37 -05:00
Registration.tsx type Actions (#7862) 2022-02-22 10:04:27 +00:00
Resend.ts Cancel pending events in virtual room when call placed (#7583) 2022-01-20 09:32:15 +00:00
Roles.ts
RoomAliasCache.ts
RoomInvite.tsx Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
RoomNotifs.ts Fix wrongly asserting that PushRule::conditions is non-null (#7973) 2022-03-04 09:39:16 +00:00
Rooms.ts Improve new search dialog context text for exactly 2 parent spaces (#7761) 2022-02-08 19:08:05 +00:00
ScalarAuthClient.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
ScalarMessaging.ts Fix room_id check when adding user widgets (#7448) 2022-01-05 09:54:38 +00:00
SdkConfig.ts Fix incorrect typing on SdkConfig defaults (#8147) 2022-03-25 09:13:26 -06:00
Searching.ts Auto fix 2021-10-22 17:23:37 -05:00
SecurityManager.ts Step 3.2: Stop using getComponent in code 2022-03-28 14:02:31 -06:00
SendHistoryManager.ts Auto fix 2021-10-22 17:23:37 -05:00
sendTimePerformanceMetrics.ts Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
sentry.ts Use & enforce snake_case naming convention on config.json settings (#8062) 2022-03-18 10:12:36 -06:00
shouldHideEvent.ts Override hide redaction preference for thread root (#7546) 2022-01-14 14:41:40 +00:00
SlashCommands.tsx Refactor all of Devtools and tidy it up (#8097) 2022-03-23 20:17:57 +00:00
Terms.ts Step 3.2: Stop using getComponent in code 2022-03-28 14:02:31 -06:00
TextForEvent.tsx Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
theme.ts Merge branch 'develop' into sort-imports 2021-12-09 08:34:20 +00:00
Unread.ts Step 6: Refactor event rendering to stop using getComponent 2022-03-28 14:02:31 -06:00
UserActivity.ts
UserAddress.ts
verification.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
Views.ts Wire up more Posthog tracking (#7689) 2022-02-09 14:25:58 +00:00
VoipUserMapper.ts Add slash command to switch to a room's virtual room (#7839) 2022-02-25 15:58:13 +00:00
WhoIsTyping.ts