element-web/test/stores/room-list/algorithms
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
..
list-ordering Sort muted rooms to the bottom of their section of the room list (#10592) 2023-05-05 01:53:26 +00:00
Algorithm-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
RecentAlgorithm-test.ts Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00