element-web-Github/test/components/views/messages
David Baker 1aa9860743
Fix the state shown for call in rooms (#10833)
* Fix the state shown for call in rooms

We split out a separate state for 'missed' separate to 'ended' which
caused confusion as the state got set to this when it shouldn't have,
so calls that wouldn't have been shown as missed were.

Remove the csutom call state and just have the missed state as a
variant of the ended state. Re-order the if clauses so they hit the
right ones. Also don't pass the callState variable into renderContent()
which is a class method and so has access to the same info anyway.

* Fix test

* i18n (reorder only)

* Fix test

* Fix types

* Add test for legacy call event tile
2023-05-15 08:37:40 +00:00
..
__snapshots__ Specify lazy loading for avatars (#10866) 2023-05-11 18:29:48 +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
LegacyCallEvent-test.tsx Fix the state shown for call in rooms (#10833) 2023-05-15 08:37:40 +00: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 Fall back from server generated thumbnail to original image (#10853) 2023-05-11 09:20:14 +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 Specify lazy loading for avatars (#10866) 2023-05-11 18:29:48 +00:00