element-web/test/unit-tests/components/views
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
..
audio_messages Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
auth Swap out Twitter link for Mastodon on auth footer (#28508) 2024-11-21 10:59:43 +00:00
avatars Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
beacon Standardise icons using Compound Design Tokens (#28217) 2024-11-18 15:47:15 +00:00
beta Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
context_menus Start sending stable m.marked_unread events (#28478) 2024-11-18 10:25:36 +00:00
dialogs Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
elements Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
emojipicker Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
location Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
messages Remove usage of legacyRoot in RTL tests (#28485) 2024-11-20 18:09:51 +00:00
polls/pollHistory Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
right_panel Remove usage of legacyRoot in RTL tests (#28485) 2024-11-20 18:09:51 +00:00
room_settings Rework UrlPreviewSettings to use MatrixClient.CryptoApi.isEncryptionEnabledInRoom (#28463) 2024-11-20 17:08:34 +00:00
rooms Display a warning when an unverified user's identity changes (#28211) 2024-11-21 20:31:29 +00:00
settings Remove usage of legacyRoot in RTL tests (#28485) 2024-11-20 18:09:51 +00:00
spaces Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
toasts Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
typography Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
user-onboarding Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
voip Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
Validation-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
VerificationShowSas-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00