MCPcopy Create free account

hub / github.com/cinnyapp/cinny / functions

Functions1,961 in github.com/cinnyapp/cinny

↓ 254 callersFunctionuseMatrixClient
()
src/app/hooks/useMatrixClient.ts:8
↓ 135 callersMethodhas
(str: string)
src/app/utils/ASCIILexicalTable.ts:75
↓ 113 callersFunctionuseAsyncCallback
( asyncCallback: AsyncCallback<TArgs, TData> )
src/app/hooks/useAsyncCallback.ts:99
↓ 109 callersFunctionuseSetting
( settingsAtom: typeof sAtom, key: K )
src/app/state/hooks/settings.ts:24
↓ 83 callersMethodget
(index: number)
src/app/utils/ASCIILexicalTable.ts:123
↓ 80 callersMethodpreventDefault
()
src/app/utils/keyboard.ts:11
↓ 66 callersFunctionuseMediaAuthentication
()
src/app/hooks/useMediaAuthentication.ts:3
↓ 60 callersFunctiongetMxIdLocalPart
(userId: string)
src/app/utils/matrix.ts:32
↓ 53 callersFunctionmxcUrlToHttp
( mx: MatrixClient, mxcUrl: string, useAuthentication?: boolean, width?: number, height?: number,
src/app/utils/matrix.ts:279
↓ 42 callersFunctionuseRoom
()
src/app/hooks/useRoom.ts:8
↓ 32 callersFunctiongetMemberDisplayName
(room: Room, userId: string)
src/app/utils/room.ts:362
↓ 32 callersFunctionuseAlive
()
src/app/hooks/useAlive.ts:3
↓ 28 callersFunctiongetStateEvent
( room: Room, eventType: StateEvent, stateKey = '' )
src/app/utils/room.ts:33
↓ 28 callersFunctionuseScreenSizeContext
()
src/app/hooks/useScreenSize.ts:33
↓ 26 callersFunctionuseRoomCreators
(room: Room)
src/app/hooks/useRoomCreators.ts:30
↓ 22 callersFunctionuseRoomNavigate
()
src/app/hooks/useRoomNavigate.ts:19
↓ 20 callersFunctiongetMxIdServer
(userId: string)
src/app/utils/matrix.ts:30
↓ 20 callersFunctionisUserId
(id: string)
src/app/utils/matrix.ts:34
↓ 20 callersFunctionuseStateEvent
(room: Room, eventType: StateEvent, stateKey = '')
src/app/hooks/useStateEvent.ts:8
↓ 19 callersFunctionuseRoomPermissions
( creators: Set<string>, powerLevels: IPowerLevels )
src/app/hooks/useRoomPermissions.ts:50
↓ 18 callersFunctiongetCanonicalAliasOrRoomId
(mx: MatrixClient, roomId: string)
src/app/utils/matrix.ts:49
↓ 17 callersFunctionnameInitials
(str: string | undefined | null, len = 1)
src/app/utils/common.ts:114
↓ 17 callersFunctionusePowerLevels
(room: Room)
src/app/hooks/usePowerLevels.ts:68
↓ 16 callersFunctiontrimTrailingSlash
(str: string)
src/app/utils/common.ts:110
↓ 15 callersFunctiongetAllParents
(roomToParents: RoomToParents, roomId: string)
src/app/utils/room.ts:103
↓ 15 callersFunctiongetContent
(evt: MatrixEvent)
src/app/features/room/message/Message.tsx:246
↓ 14 callersFunctioncopyToClipboard
(text: string)
src/app/utils/dom.ts:190
↓ 14 callersFunctionmarkAsRead
(mx: MatrixClient, roomId: string, privateReceipt: boolean)
src/app/utils/notifications.ts:3
↓ 14 callersFunctionuseSpaceOptionally
()
src/app/hooks/useSpace.ts:14
↓ 13 callersFunctionappendLine
()
src/app/components/editor/input.ts:175
↓ 13 callersFunctiongetRoomAvatarUrl
( mx: MatrixClient, room: Room, size: 32 | 96 = 32, useAuthentication = false )
src/app/utils/room.ts:301
↓ 13 callersFunctionsearch
(start: number, end: number)
src/app/utils/common.ts:66
↓ 13 callersFunctionsetSettings
(settings: Settings)
src/app/state/settings.ts:95
↓ 13 callersFunctionsplitWithSpace
(content: string)
src/app/utils/common.ts:144
↓ 12 callersFunctionbytesToSize
(bytes: number)
src/app/utils/common.ts:3
↓ 12 callersFunctionfriendlyError
* Make an Error object which has a friendlyText property which is already * translated and suitable for showing to the user. * * @param {string} ms
src/util/cryptE2ERoomKeys.js:13
↓ 12 callersFunctionisRoomAlias
(id: string)
src/app/utils/matrix.ts:38
↓ 12 callersFunctionpackAddressEqual
(a1?: PackAddress, a2?: PackAddress)
src/app/plugins/custom-emoji/utils.ts:10
↓ 12 callersFunctiontoggleBlock
(editor: Editor, format: BlockType, option?: BlockOption)
src/app/components/editor/utils.ts:73
↓ 12 callersFunctionuseAsyncSearch
( list: TSearchItem[], getItemStr: SearchItemStrGetter<TSearchItem>, options?: UseAsyncSearchOptions )
src/app/hooks/useAsyncSearch.ts:107
↓ 12 callersFunctionwithSearchParam
( path: string, searchParam: T )
src/app/pages/pathUtils.ts:32
↓ 11 callersFunctiongetNotificationModeActions
( mode: NotificationMode, options?: NotificationModeOptions )
src/app/hooks/useNotificationMode.ts:27
↓ 11 callersFunctiongetPowerTagIconSrc
( mx: MatrixClient, useAuthentication: boolean, icon: MemberPowerTagIcon )
src/app/hooks/useMemberPowerTag.ts:35
↓ 11 callersFunctionisSpace
(room: Room | null)
src/app/utils/room.ts:75
↓ 11 callersMethodselect
(cursor: Cursor)
src/app/plugins/text-area/Operations.ts:4
↓ 11 callersFunctionuseGetRoom
(rooms: Set<string>)
src/app/hooks/useGetRoom.ts:15
↓ 11 callersFunctionuseRoomName
(room: Room)
src/app/hooks/useRoomMeta.ts:19
↓ 10 callersFunctiongetRoomIconSrc
( icons: Record<IconName, IconSrc>, roomType?: string, joinRule?: JoinRule )
src/app/utils/room.ts:261
↓ 10 callersFunctiongetRoomPermissionsAPI
( creators: Set<string>, powerLevels: IPowerLevels )
src/app/hooks/useRoomPermissions.ts:16
↓ 10 callersMethodgetState
()
src/app/plugins/call/CallControl.ts:85
↓ 10 callersFunctiongetViaServers
(room: Room)
src/app/plugins/via-servers.ts:7
↓ 10 callersFunctiononTabPress
(evt: KeyboardEventLike, callback: () => void)
src/app/utils/keyboard.ts:14
↓ 10 callersFunctionuseAllJoinedRoomsSet
()
src/app/hooks/useGetRoom.ts:7
↓ 10 callersFunctionusePowerLevelTags
(room: Room, powerLevels: IPowerLevels)
src/app/hooks/usePowerLevelTags.ts:90
↓ 10 callersFunctionuseStateEventCallback
(mx: MatrixClient, onStateEvent: StateEventCallback)
src/app/hooks/useStateEventCallback.ts:10
↓ 9 callersFunctioncolorMXID
(userId)
src/util/colorMXID.js:25
↓ 9 callersFunctiondecryptFile
( dataBuffer: ArrayBuffer, type: string, encInfo: EncryptedAttachmentInfo )
src/app/utils/matrix.ts:126
↓ 9 callersFunctiondownloadMedia
(src: string)
src/app/utils/matrix.ts:299
↓ 9 callersFunctiongetAccountData
( mx: MatrixClient, eventType: AccountDataEvent )
src/app/utils/room.ts:44
↓ 9 callersFunctiongetInlineElement
(node: ChildNode, processText: ProcessTextCallback)
src/app/components/editor/input.ts:136
↓ 9 callersFunctiongetLoginPath
(server?: string)
src/app/pages/pathUtils.ts:75
↓ 9 callersFunctiongetRoomCreatorsForRoomId
(mx: MatrixClient, roomId: string)
src/app/hooks/useRoomCreators.ts:41
↓ 9 callersFunctionisBlockActive
(editor: Editor, format: BlockType)
src/app/components/editor/utils.ts:47
↓ 9 callersFunctionisRoom
(room: Room | null)
src/app/utils/room.ts:82
↓ 9 callersFunctionrateLimitedActions
( data: T[], callback: (item: T, index: number) => Promise<R>, maxRetryCount?: number )
src/app/utils/matrix.ts:316
↓ 9 callersFunctiontryDecodeURIComponent
(encodedURIComponent: string)
src/app/utils/dom.ts:214
↓ 9 callersFunctionuseAccountData
(eventType: string)
src/app/hooks/useAccountData.ts:5
↓ 9 callersFunctionuseCallEmbed
()
src/app/hooks/useCallEmbed.ts:22
↓ 9 callersFunctionuseOpenUserRoomProfile
()
src/app/state/hooks/userRoomProfile.ts:30
↓ 9 callersFunctionuseRoomsUnread
( rooms: string[], roomToUnreadAtm: typeof roomToUnreadAtom )
src/app/state/hooks/unread.ts:29
↓ 9 callersFunctionuseSelectedRoom
()
src/app/hooks/router/useSelectedRoom.ts:5
↓ 8 callersFunctioncryptoFailMsg
()
src/util/cryptE2ERoomKeys.js:19
↓ 8 callersFunctiondownloadEncryptedMedia
( src: string, decryptContent: (buf: ArrayBuffer) => Promise<Blob> )
src/app/utils/matrix.ts:306
↓ 8 callersFunctiongetMemberAvatarMxc
(room: Room, userId: string)
src/app/utils/room.ts:378
↓ 8 callersFunctiongetUsageStr
(usage: ImageUsage[])
src/app/components/image-pack-view/UsageSwitcher.tsx:8
↓ 8 callersFunctiongetVariant
(variant: ContainerColor)
src/app/components/nav/styles.css.ts:37
↓ 8 callersFunctiongetVariant
(variant: ContainerColor)
src/app/components/stacked-avatar/styles.css.ts:5
↓ 8 callersFunctiongetVariant
(variant: ContainerColor)
src/app/components/message/placeholder/LinePlaceholder.css.ts:5
↓ 8 callersFunctiongetVariant
(variant: TContainerColor)
src/app/styles/ContainerColor.css.ts:5
↓ 8 callersFunctionisRoomId
(id: string)
src/app/utils/matrix.ts:36
↓ 8 callersFunctionsanitizeText
(body: string)
src/app/utils/sanitize.ts:159
↓ 8 callersFunctionuseAutoDiscoveryInfo
()
src/app/hooks/useAutoDiscoveryInfo.ts:8
↓ 8 callersFunctionuseDebounce
( callback: DebounceCallback<T>, options?: DebounceOptions )
src/app/hooks/useDebounce.ts:9
↓ 8 callersFunctionuseGetMemberPowerTag
( room: Room, creators: Set<string>, powerLevels: IPowerLevels )
src/app/hooks/useMemberPowerTag.ts:12
↓ 8 callersFunctionuseKeyDown
(target: Window, callback: (evt: KeyboardEvent) => void)
src/app/hooks/useKeyDown.ts:3
↓ 8 callersFunctionusePowerLevelsContext
()
src/app/hooks/usePowerLevels.ts:82
↓ 8 callersFunctionuseRoomAvatar
(room: Room, dm?: boolean)
src/app/hooks/useRoomMeta.ts:7
↓ 8 callersFunctionuseRoomCreatorsTag
()
src/app/hooks/useRoomCreatorsTag.ts:8
↓ 8 callersFunctionuseSpace
()
src/app/hooks/useSpace.ts:8
↓ 7 callersMethodcursorLines
(cursor: Cursor)
src/app/plugins/text-area/TextArea.ts:31
↓ 7 callersFunctionexplore
(newSearchParams: ExploreServerPathSearchParams)
src/app/pages/client/explore/Server.tsx:414
↓ 7 callersFunctionfactoryRoomIdByActivity
(mx: MatrixClient)
src/app/utils/sort.ts:6
↓ 7 callersFunctiongetDirectRoomAvatarUrl
( mx: MatrixClient, room: Room, size: 32 | 96 = 32, useAuthentication = false )
src/app/utils/room.ts:313
↓ 7 callersFunctiongetExploreServerPath
(server: string)
src/app/pages/pathUtils.ts:149
↓ 7 callersFunctiongetHomePath
()
src/app/pages/pathUtils.ts:90
↓ 7 callersFunctiongetStateEvents
(room: Room, eventType: StateEvent)
src/app/utils/room.ts:41
↓ 7 callersFunctionhandleAutocomplete
(uId, name)
src/app/components/editor/autocomplete/UserMentionAutocomplete.tsx:109
↓ 7 callersFunctionhandleSubmit
(newValue: number)
src/app/components/time-date/DatePicker.tsx:20
↓ 7 callersFunctionhighlightText
( regex: RegExp, data: (string | JSX.Element)[] )
src/app/plugins/react-custom-html-parser.tsx:188
↓ 7 callersFunctionmoveCursor
(editor: Editor, withSpace?: boolean)
src/app/components/editor/utils.ts:204
next →1–100 of 1,961, ranked by callers