Michael Telatynski
9fcd1f2434
Remove reply fallback from notifications ( #11278 )
...
* Remove reply fallback from notifications
* Add test
2023-07-17 14:04:09 +00:00
Michael Telatynski
5cf818fefa
Fix spurious notifications on non-live events ( #11133 )
...
* Fix notifier not discriminating removed and backpaginated events
* Ignore events on the thread list generated timelines
* Add test
* tsc strict
2023-06-27 09:39:55 +00:00
Michael Weimann
5398db21ad
Add ESLint Jest ( #10261 )
2023-03-01 16:23:35 +01: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
3e2bf5640e
Update to supportsThreads ( #9907 )
2023-01-30 12:20:11 +00:00
Michael Weimann
22a2a93751
Only notify for first broadcast chunk ( #9901 )
...
* Only notify for first broadcast chunk
* Trigger CI
2023-01-17 09:04:36 +00:00
Michael Weimann
b79912e390
Improve strict typing
2023-01-03 10:16:46 +01:00
Michael Weimann
cb4e444a60
Mute broadcast chunk notifications
2023-01-03 10:16:32 +01:00
Michael Weimann
526645c791
Apply prettier formatting
2022-12-12 12:24:14 +01:00
kegsay
1f703b8898
bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events ( #9664 )
...
* bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events
This was caused by listening for ClientEvent.Event, not RoomEvent.Timeline.
Fixes https://github.com/vector-im/element-web/issues/17263
* tsc strict checks maybe
* More types?
* Update src/Notifier.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Update src/Notifier.ts
* fix LL test; review comments
* More tests
* More tsc strict checks..
* More strict ts..
* More ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-12-01 12:21:56 +00:00
Michael Telatynski
8c0d202df4
Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis ( #9600 )
...
* Enable tsc alwaysStrict
* Enable tsc strictBindCallApply
* Enable tsc noImplicitThis
* Add d.ts
* Improve types
* Add ?
* Increase coverage
* Improve coverage
2022-11-21 11:24:59 +00:00
Eric Eastwood
3cbd88c280
Fix `ThreadView` tests not using thread flag ( #9547 )
...
Fixes tests failing from changes made by https://github.com/matrix-org/matrix-js-sdk/pull/2856
2022-11-07 14:21:49 -06:00
Michael Telatynski
77764d80bc
Fix regressions around media uploads failing and causing soft crashes ( #9549 )
2022-11-07 11:56:43 +00:00
Michael Telatynski
04bc8fb71c
Optimise Jest run in CI ( #9542 )
2022-11-04 10:48:08 +00:00
Germain
306a2449e5
Show thread notification if thread timeline is closed ( #9495 )
...
* Show thread notification if thread timeline is closed
* Simplify isViewingEventTimeline statement
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
* Fix show desktop notifications
* Add RoomViewStore thread id assertions
* Add Notifier tests
* fix lint
* Remove it.only
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-10-25 16:53:31 +00:00
Kerry
1e9872662a
Device manager - test coverage for Notifier ( #9392 )
...
* use correct default for notification silencing
* test notifications with no local notifications setting event
* test notifier from cli event to trigger
* lint
2022-10-13 09:07:48 +02:00
Kerry
c795ada78c
Device manager - eagerly create `m.local_notification_settings` events ( #9353 )
...
* eagerly save m.local_notification_settings events
* unskip test
* create local notification settings after first non-cached sync
2022-10-10 15:18:38 +01:00
Šimon Brandner
6356a8c056
Add notifications and toasts for Element Call calls ( #9337 )
2022-10-06 14:27:12 +00:00
Germain
a49603b9b8
Inhibit local notifications when local notifications are silenced ( #9328 )
2022-09-29 14:23:02 +00:00