element-web/test/unit-tests/components/views/rooms
Hubert Chathi c2ce7dbc5e
Display a warning when an unverified user's identity changes (#28211)
* display a warning when an unverified user's identity changes

* use Compound and make comments into doc comments

* refactor to use functional component

* split into multiple hooks

* apply minor changes from review

* use Crypto API to determine if room is encrypted

* apply changes from review

* change initialisation status to a tri-state rather than a boolean

* fix more race conditions, and apply changes from review

* apply changes from review and switch to using counter for detecting races

* Remove outdated comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* fix test

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-11-21 20:31:29 +00:00
..
__snapshots__ Show message type prefix in thread root & reply previews (#28361) 2024-11-05 11:34:42 +00:00
EventTile Standardise icons using Compound Design Tokens (#28217) 2024-11-18 15:47:15 +00:00
NotificationBadge Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomHeader Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
wysiwyg_composer Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
AppsDrawer-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
BasicMessageComposer-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
EditMessageComposer-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
EventTile-test.tsx Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
ExtraTile-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MemberList-test.tsx Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
MemberTile-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MessageComposer-test.tsx Remove usage of legacyRoot in RTL tests (#28485) 2024-11-20 18:09:51 +00:00
MessageComposerButtons-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
NewRoomIntro-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PinnedEventTile-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PinnedMessageBanner-test.tsx Show message type prefix in thread root & reply previews (#28361) 2024-11-05 11:34:42 +00:00
PresenceLabel-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ReadReceiptGroup-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ReadReceiptMarker-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomHeader-test.tsx Listen to events so that encryption icon updates when status changes (#28407) 2024-11-18 23:27:34 +00:00
RoomKnocksBar-test.tsx Iterate 2024-10-15 16:22:11 +01:00
RoomList-test.tsx Migrate to stylistic 2024-10-18 14:34:01 +01:00
RoomListHeader-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomPreviewBar-test.tsx Migrate to stylistic 2024-10-18 14:34:01 +01:00
RoomPreviewCard-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomSearchAuxPanel-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomTile-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SearchResultTile-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SendMessageComposer-test.tsx Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
ThirdPartyMemberInfo-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
UserIdentityWarning-test.tsx Display a warning when an unverified user's identity changes (#28211) 2024-11-21 20:31:29 +00:00
VoiceRecordComposerTile-test.tsx Remove reply fallbacks as per merged MSC2781 (#28406) 2024-11-13 14:11:20 +00:00