vojo/src/app/hooks
Ajay Bura 411e4f52c6 New room settings, add customizable power levels and dev tools (#2222)
* WIP - add room settings dialog

* join rule setting - WIP

* show emojis & stickers in room settings - WIP

* restyle join rule switcher

* Merge branch 'dev' into new-room-settings

* add join rule hook

* open room settings from global state

* open new room settings from all places

* rearrange settings menu item

* add option for creating new image pack

* room devtools - WIP

* render room state events as list

* add option to open state event

* add option to edit state event

* refactor text area code editor into hook

* add option to send message and state event

* add cutout card component

* add hook for room account data

* display room account data - WIP

* refactor global account data editor component

* add account data editor in room

* fix font style in devtool

* show state events in compact form

* add option to delete room image pack

* add server badge component

* add member tile component

* render members in room settings

* add search in room settings member

* add option to reset member search

* add filter in room members

* fix member virtual item key

* remove color from serve badge in room members

* show room in settings

* fix loading indicator position

* power level tags in room setting - WIP

* generate fallback tag in backward compatible way

* add color picker

* add powers editor - WIP

* add props to stop adding emoji to recent usage

* add beta feature notice badge

* add types for power level tag icon

* refactor image pack rooms code to hook

* option for adding new power levels tags

* remove console log

* refactor power icon

* add option to edit power level tags

* remove power level from powers pill

* fix power level labels

* add option to delete power levels

* fix long power level name shrinks power integer

* room permissions - WIP

* add power level selector component

* add room permissions

* move user default permission setting to other group

* add power permission peek menu

* fix weigh of power switch text

* hide above for max power in permission switcher

* improve beta badge description

* render room profile in room settings

* add option to edit room profile

* make room topic input text area

* add option to enable room encryption in room settings

* add option to change message history visibility

* add option to change join rule

* add option for addresses in room settings

* close encryption dialog after enabling
2025-03-19 23:14:54 +11:00
..
media Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
router support matrix.to links (#1849) 2024-07-30 22:18:59 +10:00
types.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
useAccountData.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useAccountDataCallback.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useAlive.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useAsyncCallback.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useAsyncSearch.ts sanitize string before used in regex to prevent crash (#2219) 2025-02-20 18:30:54 +11:00
useAuthFlows.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
useAuthServer.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
useAutoDiscoveryInfo.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
useCapabilities.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useCategoryHandler.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useClientConfig.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useCommands.ts add tableflip and unflip commands (#2075) 2024-12-13 10:02:25 +05:30
useCrossSigning.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useDebounce.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useDeviceList.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useDeviceVerificationStatus.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useDocumentFocusChange.ts Fix auto read (#1466) 2023-10-21 12:44:21 +05:30
useElementSizeObserver.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useEmailNotifications.ts Add email notification toggle (#2223) 2025-02-21 19:15:47 +11:00
useFileDrop.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useFilePasteHandler.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useFilePicker.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useForceUpdate.js Implement sending read receipt in new pagination 2021-12-07 21:04:07 +05:30
useForceUpdate.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useGetRoom.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useIgnoredUsers.ts Hide existing messages from ignored users (#2236) 2025-02-28 18:47:23 +11:00
useImagePackRooms.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useImagePacks.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useIntersectionObserver.ts Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
useInterval.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useJoinedRoomId.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useKeyBackup.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useKeyDown.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useLocalRoomSummary.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useMatrixClient.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useMatrixEventRenderer.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useMediaAuthentication.ts Fix auth media check for dendrite (#1952) 2024-09-14 18:54:06 +05:30
useMediaConfig.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useMemberEventParser.tsx fix crash on membership change with invalid data (#2182) 2025-01-26 22:53:16 +11:00
useMemberFilter.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useMemberSort.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useMentionClickHandler.ts Fix matrix.to links opening in webview in cinny desktop (#1963) 2024-09-22 10:08:55 +05:30
useMessageLayout.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useMessageSpacing.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useNavToActivePathMapper.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useNotificationMode.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useObjectURL.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
usePan.ts Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
useParsedLoginFlows.ts fix sso login without identity providers (#1934) 2024-09-08 22:51:43 +10:00
usePasswordEmail.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
usePathWithOrigin.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
usePermission.ts fix notification crash on ios (#2192) 2025-02-10 21:02:33 +11:00
usePowerLevels.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
usePowerLevelTags.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
usePreviousValue.ts (chore) remove outdated code (#1765) 2024-07-08 21:27:10 +10:00
usePushRule.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useRecentEmoji.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useRegisterEmail.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
useRelations.ts Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
useResizeObserver.ts Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30
useRestoreBackupOnVerification.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useRoom.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useRoomAccountData.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useRoomAliases.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useRoomEvent.ts fix edits does not reflect in pinned messages (#2107) 2025-02-10 21:16:01 +11:00
useRoomEventReaders.ts fix wrong following member count on message sent (#1464) 2023-10-20 14:09:47 +05:30
useRoomLatestRenderedEvent.ts fix thread fallback (#1478) 2023-10-23 21:43:07 +11:00
useRoomMembers.ts Improve Members Right Panel (#1286) 2023-06-22 09:14:50 +10:00
useRoomMeta.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useRoomNavigate.ts support matrix.to links (#1849) 2024-07-30 22:18:59 +10:00
useRoomPinnedEvents.ts Pinned Messages (#2081) 2024-12-16 16:25:15 +05:30
useRoomState.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useRoomTypingMembers.ts (chore) remove outdated code (#1765) 2024-07-08 21:27:10 +10:00
useScreenSize.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useSecretStorage.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useSidebarItems.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useSpace.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useSpaceHierarchy.ts Fix unknown rooms in space lobby (#2224) 2025-02-22 19:24:33 +11:00
useSpecVersions.ts feat: URL navigation in auth (#1603) 2024-01-21 18:20:56 +05:30
useSpoilerClickHandler.ts support matrix.to links (#1849) 2024-07-30 22:18:59 +10:00
useStateEvent.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useStateEventCallback.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useStateEvents.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useStore.js Added unread indicator (#67), reply link back to original (#96) 2021-12-03 18:32:10 +05:30
useSyncState.ts handle error in loading screen (#1823) 2024-07-22 20:47:19 +10:00
useTextAreaCodeEditor.ts New room settings, add customizable power levels and dev tools (#2222) 2025-03-19 23:14:54 +11:00
useTextAreaIntent.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useTheme.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useThrottle.ts Refactor state & Custom editor (#1190) 2023-06-12 16:45:23 +05:30
useTypingStatusUpdater.ts URL navigation in interface and other improvements (#1633) 2024-06-01 00:19:46 +10:00
useUIAFlows.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useUserProfile.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useUserTrustStatusChange.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useVerificationRequest.ts redesigned app settings and switch to rust crypto (#1988) 2025-02-10 16:49:47 +11:00
useVirtualPaginator.ts scroll to bottom in unfocused window but stop sending read receipt (#2214) 2025-02-21 19:18:02 +11:00
useZoom.ts Refactor timeline (#1346) 2023-10-06 08:14:06 +05:30