element-web/test/utils
Andy Balaam c496985ff3
Show a tile for an unloaded predecessor room if it has via_servers (#10483)
* Improve typing in constructor of RoomPermalinkCreator

* Provide via servers if present when navigating to predecessor room from Advanced Room Settings

* Show an error tile when the predecessor room is not found

* Test for MatrixToPermalinkConstructor.forRoom

* Test for MatrixToPermalinkConstructor.forEvent

* Display a tile for predecessor event if it contains via servers

* Fix missing case where event id is provided as well as via servers

* Refactor RoomPredecessor tests

* Return lost filterConsole to its home

* Comments for IState in AdvancedRoomSettingsTab

* Explain why we might render a tile even without prevRoom

* Guess the old room's via servers if they are not provided

* Fix TypeScript errors

* Adjust regular expression (hopefully) to avoid potential catastrophic backtracking

* Another attempt at avoiding super-liner regex performance

* Tests for guessServerNameFromRoomId and better implementation

* Further attempt to prevent backtracking

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-12 15:26:45 +00:00
..
__snapshots__
beacon Apply `strictNullChecks` to `src/utils/beacon/*` (#10337) 2023-03-13 21:55:50 +00:00
device
dm Add `m.direct` filter / validation (#10436) 2023-03-27 08:37:35 +02:00
exportUtils Exclude message timestamps from aria live region (#10584) 2023-04-12 14:12:45 +00:00
localRoom
location Apply `strictNullChecks` to `src/utils/*!exportUtils` (#10455 2023-04-03 09:26:55 +01:00
media
permalinks Show a tile for an unloaded predecessor room if it has via_servers (#10483) 2023-04-12 15:26:45 +00:00
room
validate
AnimationUtils-test.ts
AutoDiscoveryUtils-test.tsx test AutoDiscoveryUtils (#10501) 2023-04-04 20:49:24 +00:00
DMRoomMap-test.ts Conform more of the codebase to `strictNullChecks` (#10504 2023-04-04 11:41:46 +01:00
DateUtils-test.ts Display relative timestamp for threads on the same calendar day (#10399) 2023-03-27 20:22:46 +00:00
EventRenderingUtils-test.ts
EventUtils-test.ts
Feedback-test.ts
FixedRollingArray-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
LruCache-test.ts Add `UserProfilesStore`, `LruCache` and cache for user permalink profiles (#10425) 2023-03-27 10:07:43 +02:00
MegolmExportEncryption-test.ts
MessageDiffUtils-test.tsx
MultiInviter-test.ts
ShieldUtils-test.ts
Singleflight-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
SnakedObject-test.ts
WidgetUtils-test.ts Add API params to mute audio and/or video in Jitsi calls by default (#10376) 2023-03-15 13:51:00 +01:00
arrays-test.ts
colour-test.ts
connection-test.ts
createVoiceMessageContent-test.ts
direct-messages-test.ts
enums-test.ts
export-test.tsx
generate-megolm-test-vectors.py
iterables-test.ts
leave-behaviour-test.ts Support dynamic room predecessors in leave-behaviour (#10340) 2023-03-09 14:49:59 +00:00
local-room-test.ts
maps-test.ts
membership-test.ts
notifications-test.ts
numbers-test.ts
objects-test.ts
pillify-test.tsx
sets-test.ts
stringOrderField-test.ts
threepids-test.ts
tooltipify-test.tsx