element-web/src/hooks
Timo 552c65db98
New Header edgecase fixes: Close lobby button not shown, disable join button in various places, more... (#12235)
* Add missing tooltip

Signed-off-by: Timo K <toger5@hotmail.de>

* fix incoming call toast (icon + disabled button if there is an ongoing call)

Signed-off-by: Timo K <toger5@hotmail.de>

* room header
 - fix join button not getting disabled if there is an ongoing call
 - fix close lobby button not shown (instead we see the join button)

Signed-off-by: Timo K <toger5@hotmail.de>

* additional tests

Signed-off-by: Timo K <toger5@hotmail.de>

* fix tests

Signed-off-by: Timo K <toger5@hotmail.de>

* update snapshot

Signed-off-by: Timo K <toger5@hotmail.de>

* fix not open menu if disabled

Signed-off-by: Timo K <toger5@hotmail.de>

* add tooltip provider

Signed-off-by: Timo K <toger5@hotmail.de>

* update snap class

Signed-off-by: Timo K <toger5@hotmail.de>

* room header snap update

Signed-off-by: Timo K <toger5@hotmail.de>

* fix snapshot

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
2024-02-08 16:48:50 +00:00
..
room New Header edgecase fixes: Close lobby button not shown, disable join button in various places, more... (#12235) 2024-02-08 16:48:50 +00: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 New Header edgecase fixes: Close lobby button not shown, disable join button in various places, more... (#12235) 2024-02-08 16:48:50 +00: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
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
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
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 Add labs flag for Threads Activity Centre (#12137) 2024-01-29 17:52:48 +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