element-web/test/components/views/messages
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__ Show a tile for an unloaded predecessor room if it has via_servers (#10483) 2023-04-12 15:26:45 +00:00
shared Apply prettier formatting 2022-12-12 12:24:14 +01:00
CallEvent-test.tsx Handle group call redaction (#10465) 2023-03-28 13:16:30 +00:00
DateSeparator-test.tsx Better error handling in jump to date (#10405) 2023-03-24 14:39:24 -05:00
DecryptionFailureBody-test.tsx Display "The sender has blocked you from receiving this message" error message instead of "Unable to decrypt message" (#10202) 2023-02-22 11:39:09 +01:00
EncryptionEvent-test.tsx Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
JumpToDatePicker-test.tsx Prevent future date selection in jump to date (#10419) 2023-03-22 11:45:44 -05:00
MBeaconBody-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
MessageActionBar-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
MessageEvent-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
MImageBody-test.tsx Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
MKeyVerificationConclusion-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
MLocationBody-test.tsx Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
MPollBody-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
MPollEndBody-test.tsx Poll history - filter by active or ended (#10098) 2023-02-13 09:19:45 +13:00
MVideoBody-test.tsx Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
RoomPredecessorTile-test.tsx Show a tile for an unloaded predecessor room if it has via_servers (#10483) 2023-04-12 15:26:45 +00:00
TextualBody-test.tsx Tweak pill UI (#10417) 2023-03-22 13:27:24 +01:00