element-web/test/components/views/settings
Kerry 9f66082486
Notifications: inline error message on notifications saving error (#10288)
* basic sync setup

* formatting

* get loudest value for synced rules

* more types

* test synced rules in notifications settings

* type fixes

* noimplicitany fixes

* remove debug

* tidying

* extract updatePushRuleActions fn to utils

* extract update synced rules

* just synchronise in one place?

* monitor account data changes AND trigger changes sync in notifications form

* lint

* setup LoggedInView test with enough mocks

* test rule syncing in LoggedInView

* strict fixes

* more comments

* one more comment

* add error variant for caption component

* tests for new error message

* tweak styles

* noImplicitAny

* revert out of date prettier changes to unrelated files

* limit inline message to radios only, tests

* strict fix
2023-03-13 21:59:04 +00:00
..
__snapshots__ Remove unused code (#10322) 2023-03-08 10:04:07 +00:00
devices Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
discovery Apply prettier formatting 2022-12-12 12:24:14 +01:00
shared Apply prettier formatting 2022-12-12 12:24:14 +01:00
tabs Conform more of the codebase to strictNullChecks (#10358 2023-03-13 15:07:20 +00:00
AddPrivilegedUsers-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
AvatarSetting-test.tsx Improve avatar settings accessibility (#9985) 2023-01-27 07:57:24 +00:00
CryptographyPanel-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
DevicesPanel-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
FontScalingPanel-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
KeyboardShortcut-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
Notifications-test.tsx Notifications: inline error message on notifications saving error (#10288) 2023-03-13 21:59:04 +00:00
SettingsFieldset-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
ThemeChoicePanel-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00