element-web/test/stores/room-list
Kerry 44e0732144
Sort muted rooms to the bottom of their section of the room list (#10592)
* muted-to-the-bottom POC

* split muted rooms in natural algorithm

* add previous event to account data dispatch

* add muted to notification state

* sort muted rooms to the bottom

* only split muted rooms when sorting is RECENT

* remove debugs

* use RoomNotifState better

* add default notifications test util

* test getChangedOverrideRoomPushRules

* remove file

* test roomudpate in roomliststore

* unit test ImportanceAlgorithm

* strict fixes

* test recent x importance with muted rooms

* unit test NaturalAlgorithm

* test naturalalgorithm with muted rooms

* strict fixes

* comments

* add push rules test utility

* strict fixes

* more strict

* tidy comment

* document previousevent on account data dispatch event

* simplify (?) room mute rule utilities, comments

* remove debug
2023-05-05 01:53:26 +00:00
..
algorithms Sort muted rooms to the bottom of their section of the room list (#10592) 2023-05-05 01:53:26 +00:00
filters Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
previews Implement broadcast message preview (#9762) 2022-12-16 11:01:16 +00:00
utils Sort muted rooms to the bottom of their section of the room list (#10592) 2023-05-05 01:53:26 +00:00
RoomListStore-test.ts Sort muted rooms to the bottom of their section of the room list (#10592) 2023-05-05 01:53:26 +00:00
SlidingRoomListStore-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
SpaceWatcher-test.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00