riot-web/test
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
..
@types
__snapshots__ add Ended poll text to ended poll reply formatted body (#10146) 2023-02-13 22:34:47 +00:00
accessibility Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
actions/handlers
audio Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
autocomplete Support dynamic room predecessor in SpaceProvider (#10348) 2023-03-10 11:01:45 +00:00
components Notifications: inline error message on notifications saving error (#10288) 2023-03-13 21:59:04 +00:00
contexts
dispatcher Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
editor Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
events Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
hooks Convert remaining hook tests to RTL (#10166) 2023-02-16 14:13:05 +00:00
i18n
i18n-test Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
images
img
models Properly type Modal props to ensure useful typescript checking (#10238 2023-02-28 10:31:48 +00:00
modules Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
notifications
settings Fix some features not being configurable via `features` (#10276) 2023-03-03 13:31:51 +00:00
setup Fix some features not being configurable via `features` (#10276) 2023-03-03 13:31:51 +00:00
stores Conform more of the codebase to `strictNullChecks` (#10350 2023-03-10 14:55:06 +00:00
test-utils Refactor pill and add tests (#10304) 2023-03-08 13:06:50 +01:00
toasts Update „new device“ toast texts and buttons (#10200) 2023-02-23 10:25:33 +01:00
utils Apply `strictNullChecks` to `src/utils/beacon/*` (#10337) 2023-03-13 21:55:50 +00:00
voice-broadcast Use compound icons (#10292) 2023-03-08 11:11:01 +01:00
Avatar-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
ContentMessages-test.ts Allow parsing png files to fail if thumbnailing is successful (#10308) 2023-03-07 15:48:23 +00:00
DecryptionFailureTracker-test.js Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
DeviceListener-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Examine all m.direct rooms to find a DM as fallback (#10127) 2023-02-13 08:46:53 +01:00
Markdown-test.ts
MatrixClientPeg-test.ts Fix some features not being configurable via `features` (#10276) 2023-03-03 13:31:51 +00:00
MediaDeviceHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
Notifier-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
PosthogAnalytics-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
PreferredRoomVersions-test.ts
Reply-test.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
RoomNotifs-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Rooms-test.ts
ScalarAuthClient-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
SdkConfig-test.ts
SlashCommands-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
SlidingSyncManager-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
Terms-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
TestSdkContext.ts
TextForEvent-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Unread-test.ts Update to supportsThreads (#9907) 2023-01-30 12:20:11 +00:00
UserActivity-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
createRoom-test.ts Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
email-test.ts Factor out basic email check (#10244) 2023-02-28 10:39:35 +01:00
globalSetup.js
languageHandler-test.ts
linkify-matrix-test.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
setupTests.js Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
slowReporter.js
theme-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
useTopic-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00