element-web/test/unit-tests/components/views/settings
Hubert Chathi ebd5df633e
Some checks failed
Build / Build on ${{ matrix.image }} (macos-14, ${{ github.event_name == 'push' && github.ref_name == 'develop' }}, ${{ github.event_name == 'pull_request' }}) (push) Has been cancelled
Build / Build on ${{ matrix.image }} (ubuntu-24.04, ${{ github.event_name == 'push' && github.ref_name == 'develop' }}, ${{ github.event_name == 'pull_request' }}) (push) Has been cancelled
Build / Build on ${{ matrix.image }} (windows-2022, ${{ github.event_name == 'push' && github.ref_name == 'develop' }}, ${{ github.event_name == 'pull_request' }}) (push) Has been cancelled
Build and Deploy develop / Build & Deploy develop.element.io (push) Has been cancelled
Deploy documentation / GitHub Pages (push) Has been cancelled
Localazy Upload / upload (push) Has been cancelled
Shared Component Visual Tests / Run Visual Tests (push) Has been cancelled
Static Analysis / Typescript Syntax Check (push) Has been cancelled
Static Analysis / i18n Check (push) Has been cancelled
Static Analysis / Rethemendex Check (push) Has been cancelled
Static Analysis / ESLint (push) Has been cancelled
Static Analysis / Style Lint (push) Has been cancelled
Static Analysis / Workflow Lint (push) Has been cancelled
Static Analysis / Analyse Dead Code (push) Has been cancelled
Deploy documentation / deploy (push) Has been cancelled
Update Jitsi / update (push) Has been cancelled
Localazy Download / download (push) Has been cancelled
Handle cross-signing keys missing locally and/or from secret storage (#31367)
* show correct toast when cross-signing keys missing

If cross-signing keys are missing both locally and in 4S, show a new toast
saying that identity needs resetting, rather than saying that the device
needs to be verified.

* refactor: make DeviceListener in charge of device state

- move enum from SetupEncryptionToast to DeviceListener
- DeviceListener has public method to get device state
- DeviceListener emits events to update device state

* reset key backup when needed in RecoveryPanelOutOfSync

brings RecoveryPanelOutOfSync in line with SetupEncryptionToast behaviour

* update strings to agree with designs from Figma

* use DeviceListener to determine EncryptionUserSettingsTab display

rather than using its own logic

* prompt to reset identity in Encryption Settings when needed

* fix type

* calculate device state even if we aren't going to show a toast

* update snapshot

* make logs more accurate

* add tests

* make the bot use a different access token/device

* only log in a new session when requested

* Mark properties as read-only

Co-authored-by: Skye Elliot <actuallyori@gmail.com>

* remove some duplicate strings

* make accessToken optional instead of using empty string

* switch from enum to string union as per review

* apply other changes from review

* handle errors in accessSecretStorage

* remove incorrect testid

---------

Co-authored-by: Skye Elliot <actuallyori@gmail.com>
2025-12-19 17:00:50 +00:00
..
__snapshots__ Switch to Compound icons in more places (#31560) 2025-12-17 11:17:11 +00:00
devices Switch to Compound icons in more places (#31560) 2025-12-17 11:17:11 +00:00
discovery Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
encryption Handle cross-signing keys missing locally and/or from secret storage (#31367) 2025-12-19 17:00:50 +00:00
notifications Update settings toggles to use consistent design across app. (#30169) 2025-12-04 15:46:21 +00:00
shared Update jest to v30 (major) (#30117) 2025-11-13 10:50:33 +00:00
tabs Handle cross-signing keys missing locally and/or from secret storage (#31367) 2025-12-19 17:00:50 +00:00
AddPrivilegedUsers-test.tsx Update react monorepo to v19 (major) (#28914) 2025-04-09 19:03:09 +00:00
AddRemoveThreepids-test.tsx test: use forceCloseAllModals instead of closeCurrentModal (#30211) 2025-06-26 08:02:42 +00:00
AvatarSetting-test.tsx Improve accessibility of the `<AvatarSetting> component (#30907) 2025-09-30 17:53:37 +00:00
ChangePassword-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
EventIndexPanel-test.tsx Switch from defer to Promise.withResolvers (#29078) 2025-05-08 10:03:43 +00:00
FontScalingPanel-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
JoinRuleSettings-test.tsx Switch from defer to Promise.withResolvers (#29078) 2025-05-08 10:03:43 +00:00
KeyboardShortcut-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
LayoutSwitcher-test.tsx Update vector-im (compound-web to 8.2.1, design tokens is already at 6.0.0 on develop) (#30373) 2025-08-28 12:24:08 +00:00
Notifications-test.tsx Update settings toggles to use consistent design across app. (#30169) 2025-12-04 15:46:21 +00:00
PowerLevelSelector-test.tsx feat: warn self change on roles settings (#28926) 2025-04-17 08:58:27 +00:00
SetIdServer-test.tsx test: fix flaky SetIdServer test (#29719) 2025-04-11 14:26:48 +00:00
SetIntegrationManager-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
SettingsFieldset-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
SettingsHeader-test.tsx Add Recovery section in the new user settings Encryption tab (#28673) 2025-01-15 12:44:20 +00:00
SettingsSubheader-test.tsx Add Recovery section in the new user settings Encryption tab (#28673) 2025-01-15 12:44:20 +00:00
ThemeChoicePanel-test.tsx Update vector-im (compound-web to 8.2.1, design tokens is already at 6.0.0 on develop) (#30373) 2025-08-28 12:24:08 +00:00
UserProfileSettings-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00