riot-web/test
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
..
@types
__snapshots__ add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
accessibility
actions/handlers
audio Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
autocomplete Support dynamic room predecessor in SpaceProvider (#10348) 2023-03-10 11:01:45 +00:00
components Show a tile for an unloaded predecessor room if it has via_servers (#10483) 2023-04-12 15:26:45 +00:00
contexts Add `UserProfilesStore`, `LruCache` and cache for user permalink profiles (#10425) 2023-03-27 10:07:43 +02:00
dispatcher Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
editor Fix strict `strictNullChecks` to `src/editor/*` (#10428 2023-03-23 13:35:55 +00:00
events
hooks
i18n
i18n-test Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
images
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
models
modules Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
notifications Apply prettier formatting 2022-12-12 12:24:14 +01:00
settings Add stable unstable version for jump to date before `v1.6` is fully supported on a homeserver (#10398) 2023-03-17 15:08:17 -05:00
setup Fix some features not being configurable via `features` (#10276) 2023-03-03 13:31:51 +00:00
stores Conform more of the codebase to `strictNullChecks` (#10518 2023-04-06 11:10:14 +01:00
test-utils Apply `strictNullChecks` to `src/utils/*!exportUtils` (#10455 2023-04-03 09:26:55 +01:00
toasts Handle group call redaction (#10465) 2023-03-28 13:16:30 +00:00
utils Show a tile for an unloaded predecessor room if it has via_servers (#10483) 2023-04-12 15:26:45 +00:00
voice-broadcast Better error handling in jump to date (#10405) 2023-03-24 14:39:24 -05:00
Avatar-test.ts
ContentMessages-test.ts Implement MSC3952: intentional mentions (#9983) 2023-03-23 11:47:40 +00:00
DecryptionFailureTracker-test.js
DeviceListener-test.ts
HtmlUtils-test.tsx Replace some enzyme tests by @testing-library/react (#9822) 2022-12-23 10:46:14 +00:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Conform more of the codebase to `strictNullChecks` (#10504 2023-04-04 11:41:46 +01:00
Markdown-test.ts
MatrixClientPeg-test.ts Handle IDB `closed` event by showing modal with prompt to reload app (#10395 2023-03-31 10:08:45 +01:00
MediaDeviceHandler-test.ts
Notifier-test.ts
PosthogAnalytics-test.ts
PreferredRoomVersions-test.ts
Reply-test.ts add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
RoomNotifs-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SlashCommands-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
SlidingSyncManager-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts
Unread-test.ts Add unread fallback logging (#10509) 2023-04-11 07:41:59 +00:00
UserActivity-test.ts
createRoom-test.ts Restore createRoom.canEncryptToAllUsers (#10491) 2023-04-03 11:28:17 +02:00
email-test.ts
globalSetup.js
languageHandler-test.ts Replace `newTranslatableError` with `UserFriendlyError` (#10440 2023-03-31 08:30:43 +01:00
linkify-matrix-test.ts
setupTests.js Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
slowReporter.js
theme-test.ts
useTopic-test.tsx