element-web/src/hooks
Janne Mareike Koschinski 97765613bc
Implement new model, hooks and reconcilation code for new GYU notification settings (#11089)
* Define new notification settings model

* Add new hooks

* make ts-strict happy

* add unit tests

* chore: make eslint/prettier happier :)

* make ts-strict happier

* Update src/notifications/NotificationUtils.ts

Co-authored-by: Robin <robin@robin.town>

* Add tests for hooks

* chore: fixed lint issues

* Add comments

---------

Co-authored-by: Robin <robin@robin.town>
2023-06-17 00:17:51 +00:00
..
room Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
spotlight Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
useAccountData.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
useAnimation.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
useAsyncMemo.ts Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
useAsyncRefreshMemo.ts Implement new model, hooks and reconcilation code for new GYU notification settings (#11089) 2023-06-17 00:17:51 +00:00
useAudioDeviceSelection.ts Conform src/hooks/* code to strictNullChecks (#10460) 2023-03-27 14:45:46 +01:00
useCall.ts Redesign the picture-in-picture window (#9800) 2023-01-04 04:44:38 +00:00
useDispatcher.ts Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
useEventEmitter.ts Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
useFocus.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useHover.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
useIsEncrypted.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useIsInitialSyncComplete.ts Prefer MatrixClientContext over MatrixClientPeg (#10986) 2023-06-14 13:42:07 +01:00
useLatestResult.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useLocalEcho.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
useLocalStorageState.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useNotificationSettings.tsx Implement new model, hooks and reconcilation code for new GYU notification settings (#11089) 2023-06-17 00:17:51 +00:00
usePermalink.ts Tweak pill UI (#10417) 2023-03-22 13:27:24 +01:00
usePermalinkEvent.ts Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
usePermalinkMember.ts Add UserProfilesStore, LruCache and cache for user permalink profiles (#10425) 2023-03-27 10:07:43 +02:00
usePermalinkTargetRoom.ts Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
useProfileInfo.ts Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
usePublicRoomDirectory.ts Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
usePushers.ts Implement new model, hooks and reconcilation code for new GYU notification settings (#11089) 2023-06-17 00:17:51 +00:00
useRoomMembers.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useRoomNotificationState.ts Conform more of the codebase to strictNullChecks (#10738) 2023-05-09 18:24:40 +01:00
useRoomState.ts Conform more of the codebase to strictNullChecks (#10573) 2023-04-13 08:52:57 +01:00
useSettings.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
useSlidingSyncRoomSearch.ts Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
useSmoothAnimation.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
useSpaceResults.ts Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
useStateArray.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useStateCallback.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
useStateToggle.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
useThreepids.ts Implement new model, hooks and reconcilation code for new GYU notification settings (#11089) 2023-06-17 00:17:51 +00:00
useTimeout.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
useTimeoutToggle.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
useUnreadNotifications.ts Fix useUnreadNotifications exploding with falsey room, like in notif panel (#10030) 2023-01-31 12:38:25 +00:00
useUserDirectory.ts Use MatrixClientPeg::safeGet in src/{stores,hooks,components/structures}/* (#10988) 2023-06-15 15:11:49 +01:00
useUserOnboardingContext.ts Prefer MatrixClientContext over MatrixClientPeg (#10986) 2023-06-14 13:42:07 +01:00
useUserOnboardingTasks.ts Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00