MCPcopy Create free account

hub / github.com/dailydotdev/apps / functions

Functions12,174 in github.com/dailydotdev/apps

↓ 723 callersFunctionuseAuthContext
()
packages/shared/src/contexts/AuthContext.tsx:101
↓ 519 callersFunctionlogEvent
(event: LogEvent)
packages/shared/src/hooks/log/useLogContextData.ts:56
↓ 431 callersFunctionuseLogContext
()
packages/shared/src/contexts/LogContext.tsx:77
↓ 402 callersFunctionrender
(ui: React.ReactElement)
packages/shared/src/components/post/read/ReadAdSlot.spec.tsx:50
↓ 362 callersFunctiongenerateQueryKey
( name: RequestKey | AllFeedPages, user?: Pick<LoggedUser, 'id'>, ...additional: unknown[] )
packages/shared/src/lib/query.ts:95
↓ 319 callersMethodpush
(url: Url)
packages/extension/src/lib/CustomRouter.ts:49
↓ 259 callersMethodreplace
(url: Url)
packages/extension/src/lib/CustomRouter.ts:60
↓ 239 callersFunctiondisplayToast
( message: ReactNode, { timer = 5000, ...props }: NotifyOptionalProps = {}, )
packages/shared/src/hooks/useToastNotification.ts:78
↓ 221 callersFunctionuseToastNotification
()
packages/shared/src/hooks/useToastNotification.ts:66
↓ 202 callersFunctionuseRouter
()
packages/shared/src/components/tabs/TabContainer.spec.tsx:114
↓ 171 callersMethodnow
()
packages/storybook/stories/streak/production/scene.tsx:60
↓ 165 callersFunctionuseViewSize
(size: ViewSize)
packages/shared/src/hooks/useViewSize.ts:46
↓ 159 callersFunctionrender
(html = BODY)
packages/shared/src/features/briefing/briefBodyBlocks.spec.ts:25
↓ 153 callersFunctionuseLazyModal
()
packages/shared/src/hooks/useLazyModal.ts:15
↓ 152 callersFunctionopenModal
()
packages/shared/src/features/sidebarTour/SidebarTourOverlay.spec.tsx:78
↓ 134 callersFunctionmockGraphQL
( res: MockedGraphQLResponse<TData>, )
packages/shared/__tests__/helpers/graphql.ts:22
↓ 130 callersFunctionuseRouter
()
packages/webapp/__tests__/AccountNotificationsPage.tsx:52
↓ 107 callersFunctionusePlusSubscription
()
packages/shared/src/hooks/usePlusSubscription.ts:17
↓ 106 callersFunctionuseSettingsContext
()
packages/shared/src/contexts/SettingsContext.tsx:748
↓ 99 callersFunctiongetPageSeoTitles
( title: string, template = '| daily.dev', )
packages/webapp/components/layouts/utils.ts:22
↓ 95 callersFunctionuseActions
()
packages/shared/src/hooks/useActions.ts:33
↓ 94 callersFunctionuseConditionalFeature
({ feature, shouldEvaluate, }: { feature: Feature<T>; shouldEvaluate?: boolean; })
packages/shared/src/hooks/useConditionalFeature.ts:12
↓ 89 callersFunctionlargeNumberFormat
(value: number)
packages/shared/src/lib/numberFormat.ts:3
↓ 88 callersFunctionclassed
( type: ElementType, className: string | Record<string, string>, ...classes: string[] )
packages/shared/src/lib/classed.ts:127
↓ 76 callersFunctiongql
( chunks: TemplateStringsArray, ...values: unknown[] )
packages/storybook/stories/features/squads/parked/app/graphql/gql.ts:3
↓ 67 callersFunctionpostLogEvent
( eventName: string, post: PostLogEventPost, opts?: PostLogEventFnOptions, )
packages/shared/src/lib/feed.ts:138
↓ 64 callersFunctionuseIsPhone
()
packages/shared/src/hooks/useViewSize.ts:62
↓ 58 callersFunctionuseSim
()
packages/storybook/stories/intro-quests/sim.tsx:122
↓ 55 callersFunctionusePrompt
()
packages/shared/src/hooks/usePrompt.ts:46
↓ 54 callersFunctiononRequestClose
()
packages/shared/src/components/modals/award/BuyCoresModal.tsx:271
↓ 50 callersFunctionisIOSNative
()
packages/shared/src/lib/func.ts:115
↓ 49 callersFunctiononChange
(event: ChangeEvent<HTMLInputElement>)
packages/shared/src/components/fields/Checkbox.tsx:89
↓ 45 callersFunctionuseLogEventOnce
( getEvent: () => LogEvent, options?: UseLogEventOnceOptions, )
packages/shared/src/hooks/log/useLogEventOnce.ts:40
↓ 41 callersFunctionuseDebounceFn
( callback: StartFn<T>, delay: number, minimumTime?: number, )
packages/shared/src/hooks/useDebounceFn.ts:6
↓ 41 callersFunctionuseLaptopLayout
()
packages/shared/src/hooks/layout/useLaptopLayout.ts:16
↓ 41 callersFunctionuseRequestProtocol
()
packages/shared/src/hooks/useRequestProtocol.ts:12
↓ 39 callersFunctioncopyLink
()
packages/shared/src/components/post/PostMenuOptions.spec.tsx:22
↓ 39 callersFunctioncreateContext
()
packages/shared/src/lib/imageShare/captureShareImage.spec.ts:43
↓ 39 callersFunctionisNullOrUndefined
(param: unknown)
packages/shared/src/lib/func.ts:28
↓ 37 callersFunctionuseFeedSettings
({ enabled = true, feedId, }: UseFeedSettingsProps = {})
packages/shared/src/hooks/useFeedSettings.ts:41
↓ 36 callersFunctiongetPostPath
(post: { id: string; slug?: string | null; })
packages/shared/src/lib/links.ts:41
↓ 36 callersFunctiongetSquadId
(squad: Pick<Source, 'id'>)
packages/shared/src/features/squads/lib/features.ts:48
↓ 36 callersFunctionusePersistentContext
( key: string, valueWhenCacheEmpty?: T, validValues?: T[], fallbackValue?: T, )
packages/shared/src/hooks/usePersistentContext.ts:43
↓ 35 callersFunctiongetLayout
( page: ReactNode, pageProps?: Record<string, unknown>, layoutProps?: MainLayoutProps, )
packages/webapp/components/layouts/MainLayout.tsx:9
↓ 35 callersFunctionuseSources
()
packages/storybook/stories/sources/kit.tsx:128
↓ 34 callersFunctioncombinedClicks
( func: React.MouseEventHandler<T>, )
packages/shared/src/lib/click.ts:18
↓ 32 callersFunctionformat
(date: Date)
packages/shared/src/features/squads/lib/intel.ts:52
↓ 32 callersFunctiongetNextPageParam
(pageInfo: PageInfo)
packages/shared/src/lib/query.ts:88
↓ 32 callersFunctionsetOpen
(value: boolean)
packages/shared/src/components/quest/QuestButton.spec.tsx:87
↓ 31 callersFunctiongetPostByIdKey
(id: string)
packages/shared/src/lib/query.ts:317
↓ 31 callersFunctionwaitForNock
()
packages/shared/__tests__/helpers/utilities.ts:6
↓ 30 callersFunctiononClose
(e)
packages/shared/src/components/auth/AuthModal.tsx:33
↓ 29 callersFunctionuseFeature
(feature)
packages/shared/src/components/GrowthBookProvider.tsx:217
↓ 29 callersFunctionverifyPermission
( squad: Pick<Squad, 'currentMember'>, permission: SourcePermissions, )
packages/shared/src/graphql/squads.ts:1221
↓ 28 callersFunctioncheckIsExtension
()
packages/shared/src/lib/func.ts:46
↓ 28 callersFunctiongetLogContextStatic
()
packages/shared/src/contexts/LogContext.tsx:20
↓ 28 callersFunctiongetPathnameWithQuery
( pathname: string, params: URLSearchParams | string, )
packages/shared/src/lib/links.ts:140
↓ 28 callersFunctionisSourceUserSource
(source?: Source)
packages/shared/src/graphql/sources.ts:72
↓ 28 callersFunctiononChange
(i: number, isValid: boolean)
packages/shared/src/features/shortcuts/components/LinksForm.tsx:117
↓ 28 callersFunctionresolve
()
packages/shared/src/features/interests/monitorItems.ts:97
↓ 28 callersFunctionuseAgent
()
packages/shared/src/features/interests/AgentContext.tsx:181
↓ 28 callersFunctionuseBoot
()
packages/shared/src/hooks/useBoot.ts:42
↓ 28 callersFunctionuseHasAccessToCores
()
packages/shared/src/hooks/useCoresFeature.ts:17
↓ 27 callersFunctiongetAppOrigin
()
packages/webapp/lib/seo.ts:24
↓ 27 callersFunctionopportunityByIdOptions
({ id }: { id: string })
packages/shared/src/features/opportunity/queries.ts:45
↓ 27 callersFunctiontoJsonLd
(data: unknown)
packages/webapp/lib/seo.ts:36
↓ 26 callersFunctiondateFormatInTimezone
( date: Date, format: string, timezone?: string, )
packages/shared/src/lib/timezones.ts:630
↓ 25 callersFunctiongetApiError
( error: ApiErrorResult<TExtension>, code: ApiError, )
packages/shared/src/graphql/common.ts:128
↓ 25 callersFunctionuseUpdateQuery
({ queryKey, }: UseQueryOptions< TQueryFnData, TError, TData, TQueryKey >)
packages/shared/src/hooks/useUpdateQuery.ts:14
↓ 24 callersFunctionformatCoresCurrency
(value: number)
packages/shared/src/lib/utils.ts:30
↓ 24 callersFunctiongenerateTestSquad
(props: Partial<Squad> = {})
packages/shared/__tests__/fixture/squads.ts:247
↓ 24 callersFunctiongetSquadManageUrl
( handle: string, section?: SquadManageSection, )
packages/shared/src/features/squads/lib/routes.ts:53
↓ 24 callersFunctiongoTo
(position: number)
packages/shared/src/components/feeds/hero/FeedHeroCarousel.tsx:80
↓ 24 callersFunctionrequestMethod
()
packages/shared/src/hooks/post/useViewPost.spec.tsx:388
↓ 24 callersFunctionuseCopyLink
( getLink?: () => string, shorten = false, )
packages/shared/src/hooks/useCopy.ts:31
↓ 24 callersFunctionuseEventListener
( target: RefObject<T> | T | null | undefined, eventType: K, listener: GenericEventListener<DOMEvent<T,
packages/shared/src/hooks/useEventListener.ts:107
↓ 24 callersFunctionuseFeedLayout
({ feedRelated = true, }: UseFeedLayoutProps = {})
packages/shared/src/hooks/useFeedLayout.ts:110
↓ 23 callersFunctionshowsVerifiedBadge
( source: | { features?: Partial< Pick<SourceFeatures, 'verified' | 'showVerifiedBadge
packages/shared/src/features/squads/lib/features.ts:13
↓ 22 callersFunctiongetMessagesUrl
( peerId?: string, { commentId, requests, lfg, origin, }: { commentId?: string;
packages/shared/src/features/messages/urls.ts:27
↓ 22 callersFunctionuseSmartTitle
(post: Post)
packages/shared/src/hooks/post/useSmartTitle.ts:31
↓ 21 callersFunctioncheckFetchMore
( queryResult: UseInfiniteQueryResult<InfiniteData<TPage>>, )
packages/shared/src/components/containers/InfiniteScrolling.tsx:27
↓ 21 callersFunctiongetFeedSettingsQueryKey
( user?: LoggedUser, feedId?: string, )
packages/shared/src/hooks/useFeedSettings.ts:16
↓ 21 callersFunctionpicksFor
(surface: Surface)
packages/storybook/stories/hero-cover/widgets/addTile.tsx:184
↓ 21 callersFunctionuseContentPreference
({ showToastOnSuccess, }: UseContentPreferenceProps = {})
packages/shared/src/hooks/contentPreference/useContentPreference.ts:36
↓ 21 callersFunctionusePushNotificationContext
()
packages/shared/src/contexts/PushNotificationContext.tsx:477
↓ 21 callersFunctionuseReadingStreak
()
packages/shared/src/hooks/streaks/useReadingStreak.ts:36
↓ 21 callersFunctionwithoutLayoutVariantPrefix
(route?: string)
packages/shared/src/lib/layoutVariant.ts:21
↓ 20 callersFunctionhasSquadFeature
( source: Pick<Source, 'features'> | undefined, feature: SquadFeature, )
packages/shared/src/features/squads/lib/features.ts:6
↓ 20 callersFunctionisVideoPost
(post: Post | ReadHistoryPost)
packages/shared/src/graphql/posts.ts:62
↓ 20 callersFunctionupdatePostCache
( client: QueryClient, id: string, postUpdate: | Partial<Omit<Post, 'id'>> | ((current: Post) =>
packages/shared/src/lib/query.ts:638
↓ 19 callersFunctionformatDate
({ value, type, now }: FormatDateProps)
packages/shared/src/lib/dateFormat.ts:321
↓ 19 callersFunctionuseLfgEnabled
()
packages/shared/src/features/lfg/hooks/useLfgEnabled.ts:15
↓ 19 callersFunctionuseViewSizeClient
(size: ViewSize)
packages/shared/src/hooks/useViewSize.ts:104
↓ 18 callersFunctionaddDays
(days: number)
packages/storybook/stories/features/onboarding/reading-commitment/Flow.tsx:178
↓ 18 callersMethodback
()
packages/extension/src/lib/CustomRouter.ts:12
↓ 18 callersFunctionclearInterval
()
packages/shared/src/hooks/useTimedAnimation.ts:37
↓ 18 callersFunctionlfgKey
(user: QueryUser, ...additional: unknown[])
packages/shared/src/features/lfg/queries.ts:31
↓ 18 callersFunctionsanitizeMessage
( message: string, allowedTags = ['b', 'strong', 'br'], allowedAttributes = ['class'], )
packages/shared/src/features/onboarding/lib/utils.ts:11
↓ 18 callersFunctiontoggleBookmark
(post: FeedPost)
packages/storybook/stories/sources/layouts/SourcePage.tsx:128
↓ 18 callersFunctiontoggleUpvote
(post: FeedPost)
packages/storybook/stories/sources/layouts/SourcePage.tsx:119
next →1–100 of 12,174, ranked by callers