element-web/test/components/views/settings/tabs/room
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__ Tests for AdvancedRoomSettingsTab (#9994) 2023-01-27 11:00:06 +00:00
AdvancedRoomSettingsTab-test.tsx Show a tile for an unloaded predecessor room if it has via_servers (#10483) 2023-04-12 15:26:45 +00:00
NotificationSettingsTab-test.tsx Conform more of the codebase to strictNullChecks (#10518 2023-04-06 11:10:14 +01:00
RolesRoomSettingsTab-test.tsx Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
VoipRoomSettingsTab-test.tsx Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00