riot-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
auth Swap out Twitter link for Mastodon on auth footer (#28508) 2024-11-21 10:59:43 +00:00
avatars
beacon
beta
context_menus
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
toasts Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
typography
user-onboarding
voip
Validation-test.ts
VerificationShowSas-test.tsx