Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/aeharding/voyager
/ functions
Functions
1,705 in github.com/aeharding/voyager
⨍
Functions
1,705
◇
Types & classes
361
↓ 100 callers
Method
mock
Set (or replace) the response for an endpoint. Last call wins.
e2e/fixtures/mocks.ts:79
↓ 91 callers
Method
setSetting
( key: T, value: SettingValueTypes[T], specificity?: { /** * Note: user_handle can be
src/services/db/index.ts:674
↓ 89 callers
Function
getHandle
(item: Pick<Community, "name" | "ap_id" | "local">)
src/helpers/lemmy.ts:49
↓ 77 callers
Function
cx
(...args: (string | Falsey)[])
src/helpers/css.ts:19
↓ 63 callers
Function
setLoading
(loading: boolean)
src/features/comment/inTree/Comments.tsx:106
↓ 56 callers
Function
useAppToast
()
src/helpers/useAppToast.tsx:23
↓ 51 callers
Function
useBuildGeneralBrowseLink
()
src/helpers/routes.ts:7
↓ 45 callers
Method
addEventListener
(listener: BooleanChangeListener)
src/helpers/BooleanWatcher.ts:23
↓ 45 callers
Function
formatNumber
( number: number, roundingThreshold = 1_000, )
src/helpers/number.ts:1
↓ 37 callers
Method
removeEventListener
(listener: BooleanChangeListener)
src/helpers/BooleanWatcher.ts:27
↓ 36 callers
Function
applyStyle
Apply a style and return the result in the `|`-marker visual format.
src/features/shared/markdown/editing/markdownStyle.test.ts:55
↓ 36 callers
Method
waitForCall
Wait until a matching request is recorded, then return the latest.
e2e/fixtures/mocks.ts:91
↓ 33 callers
Function
useOptimizedIonRouter
()
src/helpers/useOptimizedIonRouter.tsx:22
↓ 32 callers
Function
pagedResponse
(items: T[], nextPage: string | null = null)
e2e/fixtures/builders.ts:181
↓ 32 callers
Function
useClient
()
src/helpers/useClient.ts:4
↓ 30 callers
Method
focus
()
src/features/shared/markdown/editing/controller.ts:19
↓ 29 callers
Function
presentLoginIfNeeded
(reauthAccountHandle?: string)
src/features/auth/SharedDialogContext.tsx:152
↓ 27 callers
Function
isPost
(item: PostView | CommentView)
src/helpers/lemmy.ts:348
↓ 26 callers
Function
makeNotification
( kind: NotificationView["notification"]["kind"], data: NotificationView["data"], )
src/features/inbox/inboxItemContents.test.tsx:43
↓ 24 callers
Function
isLemmyError
(error: unknown, lemmyErrorValue: LemmyErrorValue)
src/helpers/lemmyErrors.ts:5
↓ 23 callers
Function
decorate
Parse the decorator's actual output (what the editor renders).
src/features/shared/markdown/editing/rich/markdownDecorator.test.ts:18
↓ 21 callers
Function
texts
(scope: HTMLElement, selector: string)
src/features/shared/markdown/editing/rich/markdownDecorator.test.ts:41
↓ 20 callers
Function
dismiss
()
src/features/shared/DynamicDismissableModal.tsx:113
↓ 20 callers
Function
getRemoteHandle
( item: Pick<Community, "name" | "ap_id" | "local">, )
src/helpers/lemmy.ts:53
↓ 20 callers
Method
getSelection
Normalized so `start <= end`.
src/features/shared/markdown/editing/controller.ts:15
↓ 19 callers
Function
isAndroid
()
src/helpers/device.ts:69
↓ 18 callers
Function
buildBaseData
(modlog: Modlog)
src/features/moderation/logs/types/shared.ts:5
↓ 18 callers
Function
commentView
(over: { id: number; content: string; post?: Pick<ReturnType<typeof postView>, "post" | "community" | "c
e2e/fixtures/builders.ts:129
↓ 18 callers
Method
getSetting
( key: T, specificity?: { user_handle?: string; community?: string; }, )
src/services/db/index.ts:618
↓ 18 callers
Function
parseUrl
(url: string, baseUrl?: string)
src/helpers/url.ts:29
↓ 14 callers
Function
cakeDate
(date: string)
src/helpers/date.ts:11
↓ 14 callers
Function
getClient
(url: string, jwt?: string)
src/services/client.ts:21
↓ 14 callers
Method
insertText
Replace the current selection with text; caret lands after it.
src/features/shared/markdown/editing/controller.ts:18
↓ 14 callers
Method
replace
()
src/setupTests.ts:22
↓ 13 callers
Function
textOf
(node: ReactNode)
src/features/inbox/inboxItemContents.test.tsx:110
↓ 12 callers
Function
at
(value: string, caret: number, ...rest: [number?, boolean?])
src/features/shared/markdown/editing/listContinuation.test.ts:85
↓ 12 callers
Function
extractLemmyLinkFromPotentialFediRedirectService
( url: string, services = FEDI_REDIRECT_SERVICE_COMPATIBLE_HOSTS, )
src/features/share/fediRedirect.ts:34
↓ 12 callers
Method
getValue
()
src/features/shared/markdown/editing/controller.ts:13
↓ 12 callers
Function
isInstalled
()
src/helpers/device.ts:31
↓ 12 callers
Function
postView
(over: { id: number; name: string; body?: string; url?: string; creator: ReturnType<typeof person>;
e2e/fixtures/builders.ts:68
↓ 11 callers
Function
findLoneImage
( markdown: string, )
src/helpers/markdown.ts:8
↓ 11 callers
Function
keywordFoundInSentence
( keyword: string, sentence: string, )
src/helpers/lemmy.ts:296
↓ 11 callers
Function
postHasFilteredWebsite
( post: Post, websites: string[], )
src/helpers/lemmy.ts:276
↓ 11 callers
Function
present
()
src/features/community/MoreActions.tsx:57
↓ 11 callers
Function
useMode
()
src/helpers/threadiverse.ts:13
↓ 11 callers
Function
within
(ancestor: string)
src/features/shared/markdown/editing/rich/markdownDecorator.ts:150
↓ 10 callers
Method
calls
All recorded requests for `"METHOD /api/v4/path"` (query ignored).
e2e/fixtures/mocks.ts:84
↓ 10 callers
Function
getSite
(existingSite?: GetSiteResponse)
src/features/auth/siteSlice.ts:175
↓ 10 callers
Function
mockThread
(api: MockApi)
e2e/lemmyv1/composing.spec.ts:30
↓ 10 callers
Method
snapshotSelection
* Capture the current selection as the insertion point. Call when a toolbar * interaction begins (pointerdown), before focus leaves the editor — ne
src/features/shared/markdown/editing/controller.ts:25
↓ 10 callers
Function
stopIonicTapClick
()
src/helpers/ionic.ts:86
↓ 10 callers
Function
sv
(variables: CssVariables)
src/helpers/css.ts:4
↓ 10 callers
Function
useHapticFeedback
()
src/helpers/useHapticFeedback.ts:11
↓ 9 callers
Function
commentData
(overrides: Record<string, unknown> = {})
src/features/inbox/inboxItemContents.test.tsx:60
↓ 9 callers
Function
getDepthFromComment
(comment?: Comment)
src/helpers/lemmy.ts:192
↓ 9 callers
Function
getInboxItemHeader
(item: NotificationView)
src/features/inbox/inboxItemContents.tsx:22
↓ 9 callers
Function
isTouchDevice
()
src/helpers/device.ts:50
↓ 9 callers
Function
markNotificationRead
( args: { kind: NotificationDataType; notificationId: number }, read: boolean, )
src/features/inbox/inboxSlice.ts:311
↓ 9 callers
Function
set
(key: string, value: unknown)
src/features/settings/syncStorage.ts:37
↓ 9 callers
Method
setSelection
(start: number, end?: number)
src/features/shared/markdown/editing/controller.ts:16
↓ 9 callers
Function
setup
(text = "hello world")
src/features/shared/markdown/editing/controller.test.ts:60
↓ 8 callers
Function
get
(key: string)
src/features/settings/syncStorage.ts:31
↓ 8 callers
Function
getAdminRole
(person: Person | undefined)
src/features/moderation/logs/types/shared.ts:21
↓ 8 callers
Function
getDefaultServer
()
src/services/app.ts:14
↓ 8 callers
Function
getInboxItemIcon
(item: NotificationView)
src/features/inbox/inboxItemContents.tsx:191
↓ 8 callers
Function
getModIcon
(role: ModeratorRole, solid = false)
src/features/moderation/useCanModerate.tsx:89
↓ 8 callers
Function
isAppleDeviceInstallable
()
src/helpers/device.ts:46
↓ 8 callers
Function
isCakeDay
(published: string)
src/helpers/date.ts:27
↓ 8 callers
Function
person
(over: { id: number; name: string; display_name?: string; })
e2e/fixtures/builders.ts:8
↓ 8 callers
Function
personResponse
(subject: ReturnType<typeof person>)
e2e/fixtures/builders.ts:256
↓ 8 callers
Function
setPostRead
(postId: number)
src/features/post/postSlice.ts:316
↓ 8 callers
Function
syncMessages
()
src/features/inbox/inboxSlice.ts:197
↓ 8 callers
Function
useFeedSort
( context: Context, feed?: AnyFeed | undefined, overrideSort?: | VgerSortsByContextByMode[Context]
src/features/feed/sort/useFeedSort.tsx:66
↓ 8 callers
Function
useFeedSortParams
( context: Context, sort: VgerSortsByContext[Context] | null | undefined, )
src/features/feed/sort/useFeedSort.tsx:192
↓ 7 callers
Function
actionSheetButton
(page: Page, name: string)
e2e/fixtures/ui.ts:8
↓ 7 callers
Function
bgColorToVariable
(bgColor: string)
src/features/settings/appearance/themes/votesTheme/VotesTheme.tsx:45
↓ 7 callers
Function
blocks
(container: HTMLElement)
src/features/shared/markdown/editing/rich/markdownDecorator.test.ts:24
↓ 7 callers
Function
buildCommunityLink
(community: Community)
src/helpers/appLinkBuilder.ts:5
↓ 7 callers
Function
buildFediRedirectLink
(fediRedirectHost: string, apId: string)
src/features/share/fediRedirect.ts:26
↓ 7 callers
Function
buildPostLink
(community: Community, post: Post)
src/helpers/appLinkBuilder.ts:9
↓ 7 callers
Function
community
()
e2e/fixtures/builders.ts:33
↓ 7 callers
Function
findCurrentPage
()
src/helpers/ionic.ts:13
↓ 7 callers
Function
formatRelativeToNow
( date: Date, ...args: Parameters<typeof formatRelative> extends [unknown, ...infer Rest] ? Rest :
src/features/labels/Ago.tsx:31
↓ 7 callers
Function
getInstanceFromHandle
(handle: string)
src/features/auth/authSelectors.ts:91
↓ 7 callers
Function
getModColor
(role: ModeratorRole)
src/features/moderation/useCanModerate.tsx:79
↓ 7 callers
Function
getSetting
(page: Page, key: string)
e2e/fixtures/db.ts:40
↓ 7 callers
Function
getVoteErrorMessage
(error: unknown)
src/helpers/lemmyErrors.ts:55
↓ 7 callers
Function
onSubmit
()
src/features/feed/empty/home/StarterPacksModal.tsx:46
↓ 7 callers
Function
postData
(overrides: Record<string, unknown> = {})
src/features/inbox/inboxItemContents.test.tsx:70
↓ 7 callers
Function
quote
(markdown: string)
src/helpers/markdown.ts:37
↓ 7 callers
Function
receivedComments
(comments: CommentView[])
src/features/comment/commentSlice.ts:253
↓ 7 callers
Function
updateConnectedInstance
(state, action: PayloadAction<string>)
src/features/auth/authSlice.ts:138
↓ 6 callers
Function
buildBaseClientUrl
(url: string)
src/services/client.ts:13
↓ 6 callers
Function
buildCrosspostBody
(post: Post, includeTitle = true)
src/helpers/lemmy.ts:332
↓ 6 callers
Function
communityResponse
()
e2e/fixtures/builders.ts:264
↓ 6 callers
Function
composerSubmit
(page: Page)
e2e/lemmyv1/composing.spec.ts:55
↓ 6 callers
Function
el
(scope: HTMLElement, selector: string)
src/features/shared/markdown/editing/rich/markdownDecorator.test.ts:35
↓ 6 callers
Function
getAllObjectValuesDeep
(obj: any)
src/helpers/object.ts:2
↓ 6 callers
Function
getCanModerate
( community: Community | boolean | undefined, )
src/features/moderation/useCanModerate.tsx:40
↓ 6 callers
Function
getDepthFromCommentPath
(path: string)
src/helpers/lemmy.ts:196
next →
1–100 of 1,705, ranked by callers