element-web/src/stores/notifications
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
..
ListNotificationState.ts Enable `@typescript-eslint/explicit-function-return-type` in /src (#9788) 2023-01-12 13:25:14 +00:00
NotificationColor.ts Sort muted rooms to the bottom of their section of the room list (#10592) 2023-05-05 01:53:26 +00:00
NotificationState.ts Sort muted rooms to the bottom of their section of the room list (#10592) 2023-05-05 01:53:26 +00:00
RoomNotificationState.ts Sort muted rooms to the bottom of their section of the room list (#10592) 2023-05-05 01:53:26 +00:00
RoomNotificationStateStore.ts Conform more of the codebase to `strictNullChecks` (#10518 2023-04-06 11:10:14 +01:00
SpaceNotificationState.ts Conform more of the codebase to `strictNullChecks` (#10518 2023-04-06 11:10:14 +01:00
StaticNotificationState.ts Enable `@typescript-eslint/explicit-member-accessibility` on /src (#9785) 2022-12-16 12:29:59 +00:00
SummarizedNotificationState.ts Enable `@typescript-eslint/explicit-function-return-type` in /src (#9788) 2023-01-12 13:25:14 +00:00