element-web/test/unit-tests/components/views
David Baker 980b922348
Enable key backup by default (#28691)
* Factor out crypto setup process into a store

To make components pure and avoid react 18 dev mode problems due
to components making requests when mounted.

* fix test

* test for the store

* Add comment

* Enable key backup by default

When we set up cross signing, so the key backup key will be stored locally along with the cross signing keys until the user sets up recovery (4s). This will mean that a user can restore their backup if they log in on a new device as long as they verify with the one they registered on.

Replaces https://github.com/element-hq/element-web/pull/28267

* Fix test

* Prompt user to set up 4S on logout

* Fix test

* Add playwright test for key backup by default

* Fix imports

* This isn't unexpected anymore

* Update doc

* Fix docs and function name on renderSetupBackupDialog()

* Use checkKeyBackupAndEnable

* Docs for setup encryption toast

* Also test the toast appears

* Update mock for the method we use now

* Okay fine I guess we need both

* Swap here too

* Fix comment & doc comments
2024-12-17 14:50:48 +00:00
..
audio_messages Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
auth Swap out Twitter link for Mastodon on auth footer (#28508) 2024-11-21 10:59:43 +00:00
avatars Improve performance of RoomContext in RoomHeader (#28574) 2024-12-02 09:49:52 +00:00
beacon Standardise icons using Compound Design Tokens (#28217) 2024-11-18 15:47:15 +00:00
beta
context_menus Remove abandoned Voice Broadcasts labs flag (#28548) 2024-12-02 10:53:27 +00:00
dialogs Enable key backup by default (#28691) 2024-12-17 14:50:48 +00:00
elements Iterate 2024-12-03 17:41:28 +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 abandoned Voice Broadcasts labs flag (#28548) 2024-12-02 10:53:27 +00:00
polls/pollHistory Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
right_panel Update `@vector-im/compound-web` to `7.5.0` (#28700) 2024-12-11 19:35:59 +00:00
room_settings Rework `UrlPreviewSettings` to use `MatrixClient.CryptoApi.isEncryptionEnabledInRoom` (#28463) 2024-11-20 17:08:34 +00:00
rooms Fix Read Receipt Test (#28719) 2024-12-11 14:25:56 +00:00
settings Update `@vector-im/compound-web` to `7.5.0` (#28700) 2024-12-11 19:35:59 +00:00
spaces Update `@vector-im/compound-web` to `7.5.0` (#28700) 2024-12-11 19:35:59 +00:00
toasts Migrate to React 18 createRoot API (#28256) 2024-11-20 13:29:23 +00:00
typography
user-onboarding
voip Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
Validation-test.ts
VerificationShowSas-test.tsx