element-web/src/hooks
Michael Telatynski bdf2ebd301
Avoid rendering app download buttons if disabled in config (#11741)
* Add default desktop_builds and mobile_builds into SdkConfig.DEFAULTS

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Avoid rendering app download buttons if config sets to `null`

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Disable app download onboarding task if config has no apps to download

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add tests and update types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-13 09:43:39 +00:00
..
room Migrate more strings to translation keys (#11669) 2023-09-26 13:04:17 +01:00
spotlight Polish & delabs Exploring public spaces feature (#11423) 2023-08-21 09:39:20 +00:00
useAccountData.ts Add E2E status in room header (#11493) 2023-08-31 11:06:14 +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 Migrate more strings to translation keys (#11651) 2023-09-22 16:39:40 +01:00
useCall.ts Migrate more strings to translation keys (#11665) 2023-09-25 18:12:41 +01:00
useDispatcher.ts Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
useEncryptionStatus.ts Add E2E status in room header (#11493) 2023-08-31 11:06:14 +00:00
useEventEmitter.ts Switch to importing matrix-js-sdk from its main export (#11360) 2023-08-03 12:56:30 +00:00
useFocus.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useGlobalNotificationState.ts Add Voice and Video call in room header (#11444) 2023-08-23 14:13:40 +00:00
useHover.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
useIsEncrypted.ts Switch to importing client from main js-sdk export (#11370) 2023-08-09 07:18:41 +00: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 Improve types (#11239) 2023-07-12 15:56:51 +01:00
useLocalStorageState.ts Conform more of the codebase to strict types (#11191) 2023-07-05 11:53:22 +01:00
useNotificationSettings.tsx GYU: Account Notification Settings (#11008) 2023-06-29 15:46:31 +00:00
usePermalink.ts Create more common_* common strings (#11439) 2023-08-23 10:25:33 +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 Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00: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 Room header UI updates (#11507) 2023-09-01 09:45:50 +00:00
useRoomName.ts Migrate more strings to translation keys (#11671) 2023-09-26 18:35:55 +01:00
useRoomNotificationState.ts Conform more of the codebase to strictNullChecks (#10738) 2023-05-09 18:24:40 +01:00
useRoomState.ts Rebuild hook around room header call management 2023-09-06 17:41:52 +01:00
useSettings.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
useSlidingSyncRoomSearch.ts Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
useSmoothAnimation.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
useSpaceResults.ts Switch to importing most things from the main matrix-js-sdk export (#11406) 2023-08-15 15:00:17 +00:00
useStateArray.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
useStateCallback.ts Conform more of the codebase to strict types (#11191) 2023-07-05 11:53:22 +01:00
useStateToggle.ts Enable @typescript-eslint/explicit-function-return-type in /src (#9788) 2023-01-12 13:25:14 +00:00
useThreepids.ts Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +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 Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +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 Avoid rendering app download buttons if disabled in config (#11741) 2023-10-13 09:43:39 +00:00