Michael Telatynski
99e80dd296
Consume more imports from matrix-js-sdk/src/matrix ( #11449 )
2023-08-23 09:04:25 +00:00
Michael Telatynski
57a0d99dc8
Improve randomString mock for better snapshots ( #11375 )
2023-08-09 09:39:48 +01:00
Kerry
1f4d857283
Apply `strictNullChecks` to `src/components/views/settings` ( #10724 )
2023-05-05 09:13:50 +01:00
Michael Telatynski
792a39a39b
ARIA Accessibility improvements ( #10675 )
...
* Fix confusing tab indexes in EventTilePreview
* Stop using headings inside buttons
* Prefer labelledby and describedby over duplicated aria-labels
* Improve semantics of tables used in settings
* Fix types
* Update tests
* Fix timestamps
2023-04-21 09:48:48 +00:00
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
Kerry
10a765472b
Polls push rules: synchronise poll rules with message rules ( #10263 )
...
* 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
2023-03-02 05:33:19 +00:00
Michael Telatynski
c29e5f18ff
Update usages of test utilities preferring RTL ( #10203 )
2023-02-22 10:52:55 +00:00
Michael Telatynski
145a5a8a8d
Conform more code to strict null checking ( #10153 )
...
* Conform more code to strict null checking
* Conform more code to strict null checking
* Iterate
* Iterate
2023-02-15 13:36:22 +00:00
Michael Telatynski
61a63e47f4
Comply with noImplicitAny ( #9940 )
...
* Stash noImplicitAny work
* Stash
* Fix imports
* Iterate
* Fix tests
* Delint
* Fix tests
2023-02-13 11:39:16 +00:00
Germain
8fe5714673
Fix predecessor tests broken ( #10123 )
2023-02-09 12:46:17 +00:00
Germain
3e2bf5640e
Update to supportsThreads ( #9907 )
2023-01-30 12:20:11 +00:00
Germain
df03112a3b
Fix mock client missing user functions ( #9887 )
2023-01-11 11:33:06 +00:00
Germain
e9224f6fce
Add mark as read option in room setting ( #9798 )
2022-12-22 13:18:38 +00:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
Michael Telatynski
d258402186
Typescript updates ( #9658 )
...
* Typescript updates
* Update @types/node
* Fix more types
2022-11-30 11:32:56 +00:00
Germain
c10339ad68
Make clear notifications work with threads ( #9575 )
2022-11-15 10:27:13 +00:00
Germain
e15ef9f3de
Add device notifications enabled switch ( #9324 )
2022-09-28 18:13:09 +01:00
Michael Weimann
27ba1e57e6
Update matrix-org/react (enzyme deprecation) ( #9116 )
2022-08-02 15:10:43 +02:00
Robin
0b0e414fd4
Fix unresponsive notification toggles ( #8549 )
...
* Return consistently typed setting values from localStorage
* Watch notification toggles
* Test that it all works
2022-05-10 09:13:02 -04:00
Travis Ralston
a987ead7d2
Step 8.1: Remove skinning setup from all tests
2022-03-28 14:02:31 -06:00
Kerry
abc225d3c6
Unit test tsc fixes part 15 ( #8104 )
...
* fix ts issues in MPollBody test
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix ts issues in PollCreateDialog
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix settings components
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix DateSeparator
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix loosies
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tsconfig
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-22 11:32:35 +01:00
Michael Telatynski
f25e6813bb
Mandate use of js-sdk/src/matrix import over js-sdk/src ( #7933 )
2022-03-01 20:42:05 +00:00
Kerry
292971dd0e
Upgrade to jest 27 ( #7699 )
...
* use jest@27.4.0, replace jest-environment-jsdom-sixteen with jest-environment-jsdom
Signed-off-by: Kerry Archibald <kerrya@element.io>
* polyfill setImmediate
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove done from async test cases
* useRealTimers in test relying on promise flushing
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove jest environment file
Signed-off-by: Kerry Archibald <kerrya@element.io>
* replace ts-jest mocked with jest utils mocked
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-02 13:02:17 +01:00
Kerry
dc2d52c1f2
a11y - wrap notification level radios in fieldsets ( #7471 )
...
* notification settings radios table -> fieldset
Signed-off-by: Kerry Archibald <kerrya@element.io>
* aria-label for inputs
Signed-off-by: Kerry Archibald <kerrya@element.io>
* update tests for fielset
Signed-off-by: Kerry Archibald <kerrya@element.io>
* remove unneccessary wrapping div
Signed-off-by: Kerry Archibald <kerrya@element.io>
* fix stylelint
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 18:52:06 +01:00
Kerry
92ee02fe02
unit test Notifications.tsx ( #7468 )
...
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-06 09:47:03 +00:00