Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Openpanel-dev/openpanel
/ functions
Functions
3,945 in github.com/Openpanel-dev/openpanel
⨍
Functions
3,945
◇
Types & classes
750
↓ 4 callers
Function
haversineDistance
( coord1: Coordinate, coord2: Coordinate )
apps/start/src/components/realtime/map/coordinates.ts:128
↓ 4 callers
Method
identify
(payload: IdentifyPayload)
packages/sdks/sdk/src/index.ts:174
↓ 4 callers
Function
isKafkaConfigured
()
packages/queue/src/kafka.ts:81
↓ 4 callers
Function
isPatternDefComponent
(child: ReactElement)
apps/start/src/components/charts/chart-defs.ts:25
↓ 4 callers
Function
isSameDomain
( url1: string | undefined, url2: string | undefined, )
packages/common/src/url.ts:51
↓ 4 callers
Function
isTypedOperator
(operator: IChartEventFilterOperator)
packages/db/src/services/filter-cast.ts:62
↓ 4 callers
Function
isValidCoordinate
(coordinate: Coordinate)
apps/start/src/components/realtime/map/map-utils.ts:22
↓ 4 callers
Function
iso
(ms: number)
apps/worker/src/jobs/cron.weekly-digest.ts:67
↓ 4 callers
Method
jsonEachRowStream
* Wrap an array of already-serialized JSONEachRow lines into an * object-mode Readable stream that yields the lines as strings. The * @clickhous
packages/db/src/buffers/base-buffer.ts:180
↓ 4 callers
Function
listEventPropertiesCore
(input: { projectId: string; eventName?: string; })
packages/db/src/services/event.service.ts:1242
↓ 4 callers
Method
loadFile
(e)
apps/public/public/op1-replay.js:18
↓ 4 callers
Function
m
()
apps/worker/src/jobs/events.create-session-end.test.ts:40
↓ 4 callers
Function
makeJob
( snap: IClickhouseSession )
apps/worker/src/jobs/events.create-session-end.test.ts:67
↓ 4 callers
Function
monthAgo
()
packages/db/scripts/set-subscription-state.ts:19
↓ 4 callers
Method
normalize
(e,t)
apps/public/public/op1-replay.js:23
↓ 4 callers
Method
normalize
(e,t,r)
apps/public/public/op1-replay.js:23
↓ 4 callers
Method
normalize
(e,t)
apps/public/public/op1-replay.js:51
↓ 4 callers
Function
onChangeValue
( value: IChartEventFilterValue[], { id }: IChartEventFilter, )
apps/start/src/components/report/sidebar/filters/FilterItem.tsx:89
↓ 4 callers
Function
pad
(n: number)
apps/start/src/components/charts/op-date-pill.tsx:123
↓ 4 callers
Method
parallelLimit
* Run `fn` over `items` with a bounded concurrency. Preserves order of * `results`. If any worker throws, the helper propagates the first error
packages/db/src/buffers/base-buffer.ts:215
↓ 4 callers
Function
parsePath
(path?: string)
packages/common/src/url.ts:11
↓ 4 callers
Function
past
()
packages/db/scripts/set-subscription-state.ts:18
↓ 4 callers
Function
profileSearchSql
(search: string | null | undefined)
packages/db/src/services/profile.service.ts:152
↓ 4 callers
Method
rangeBy
(e)
apps/public/public/op1-replay.js:18
↓ 4 callers
Function
redisKey
(id: string)
packages/mcp/src/session-manager.ts:10
↓ 4 callers
Function
registerActiveUserTools
( server: McpServer, context: McpAuthContext, )
packages/mcp/src/tools/analytics/active-users.ts:12
↓ 4 callers
Function
registerGroupTools
( server: McpServer, context: McpAuthContext, )
packages/mcp/src/tools/analytics/groups.ts:9
↓ 4 callers
Function
registerPageTools
(server: McpServer, context: McpAuthContext)
packages/mcp/src/tools/analytics/pages.ts:18
↓ 4 callers
Function
registerSessionTools
( server: McpServer, context: McpAuthContext, )
packages/mcp/src/tools/analytics/sessions.ts:14
↓ 4 callers
Function
registerTrafficTools
( server: McpServer, context: McpAuthContext, )
packages/mcp/src/tools/analytics/traffic.ts:14
↓ 4 callers
Method
render
Must not do DB reads; just format output.
packages/db/src/services/insights/types.ts:84
↓ 4 callers
Function
renderActionList
( actions: PropertiesComboboxAction[], options: { itemKey?: string } = {}, )
apps/start/src/components/report/sidebar/PropertiesCombobox.tsx:294
↓ 4 callers
Function
renderHtml
(jobs: { type: string; url: string }[], message?: string)
apps/worker/src/boot-debug.ts:57
↓ 4 callers
Function
resolveDateRange
( startDate?: string, endDate?: string )
packages/db/src/services/date.service.ts:4
↓ 4 callers
Function
round
(value: number, decimals: number)
packages/db/src/services/referrer-spikes.service.ts:302
↓ 4 callers
Function
runWithAlsSession
( sid: string | null | undefined, fn: () => Promise<T>, )
packages/db/src/session-context.ts:7
↓ 4 callers
Method
screenView
( pathOrProperties?: string | TrackProperties, propertiesOrUndefined?: TrackProperties )
packages/sdks/web/src/index.ts:302
↓ 4 callers
Function
sessionKey
(projectId: string, deviceId: string)
packages/db/src/buffers/session-buffer.ts:17
↓ 4 callers
Function
sessionVacuumCronJob
()
apps/worker/src/jobs/cron.session-vacuum.ts:37
↓ 4 callers
Function
set
(field: keyof User, value: string)
apps/testbed/src/pages/Login.tsx:95
↓ 4 callers
Function
setCookie
(key, value, options)
packages/trpc/src/trpc.ts:36
↓ 4 callers
Function
setLastAuthProviderCookie
( setCookie: ISetCookie, provider: string )
packages/auth/src/cookie.ts:15
↓ 4 callers
Function
shouldCache
(result: unknown, options: CacheableOptions = {})
packages/redis/cachable.ts:116
↓ 4 callers
Function
shouldShowProperty
(property: string)
apps/start/src/components/report/sidebar/PropertiesCombobox.tsx:171
↓ 4 callers
Function
showPath
(string: string)
apps/start/src/components/overview/overview-user-journey.tsx:37
↓ 4 callers
Function
shutdown
(failed: number)
apps/api/e2e/lib.ts:228
↓ 4 callers
Method
sourcePath
(e)
apps/public/public/op1-replay.js:23
↓ 4 callers
Method
spacesAndCommentsFromEnd
(e)
apps/public/public/op1-replay.js:24
↓ 4 callers
Method
streamNdjson
* Decode a binary stream of newline-delimited JSON into parsed events. * Detects gzip by peeking the first chunk's magic bytes (0x1f 0x8b) rather
packages/importer/src/providers/amplitude.ts:244
↓ 4 callers
Method
stringify
()
apps/public/public/op1-replay.js:27
↓ 4 callers
Method
stringify
()
apps/public/public/op1-replay.js:55
↓ 4 callers
Function
stubMarkdown
(canonicalUrl: string, path: string)
apps/public/src/app/md/route.ts:15
↓ 4 callers
Function
subscribeToPublishedEvent
( channel: Channel, type: keyof IPublishChannels[Channel], callback: (event: IPublishChannels[Channel][t
packages/redis/publisher.ts:45
↓ 4 callers
Function
subscriptionBlocksDashboard
(state: SubscriptionState)
packages/payments/src/subscription-state.ts:72
↓ 4 callers
Method
sync
()
apps/public/public/op1-replay.js:27
↓ 4 callers
Method
sync
()
apps/public/public/op1-replay.js:55
↓ 4 callers
Function
timeAgo
(date: Date, style?: FormatStyleName)
apps/start/src/utils/date.ts:53
↓ 4 callers
Method
toFileUrl
(e)
apps/public/public/op1-replay.js:23
↓ 4 callers
Function
toNullIfDefaultMinDate
(date?: string | null)
packages/db/src/clickhouse/client.ts:413
↓ 4 callers
Method
transformEventToProfile
* Derive an OpenPanel profile from a single Amplitude event. Amplitude has no * profile export API, so identity lives inside each event's user_prop
packages/importer/src/providers/amplitude.ts:408
↓ 4 callers
Function
trimVal
(value: string | number | boolean | null)
packages/db/src/services/filter-where.service.ts:46
↓ 4 callers
Function
useCarousel
()
apps/start/src/components/ui/carousel.tsx:32
↓ 4 callers
Function
useCurrentTime
(intervalMs = 0)
apps/start/src/components/sessions/replay/replay-context.tsx:72
↓ 4 callers
Function
useDataTableColumnVisibility
( columns: ColumnDef<TData>[], persistentKey: string, )
apps/start/src/components/ui/data-table/data-table-hooks.tsx:31
↓ 4 callers
Function
useOrganizationAccess
(organizationId: string | undefined)
apps/start/src/hooks/use-organization-access.ts:4
↓ 4 callers
Function
useOverviewWidgetV2
( key: string, widgets: Record< T, { title: string; btn: string; meta?: any; hide?: boolean } >,
apps/start/src/components/overview/useOverviewWidget.tsx:34
↓ 4 callers
Function
usePageContext
(context: PageContext)
apps/start/src/contexts/page-context.tsx:113
↓ 4 callers
Function
usePageContextValue
()
apps/start/src/contexts/page-context.tsx:92
↓ 4 callers
Function
utc
(date: string)
packages/db/src/services/retention.service.ts:255
↓ 4 callers
Function
validateContent
(content: string)
apps/start/src/components/json-editor.tsx:44
↓ 4 callers
Function
verifyTotpCode
(secret: string, code: string)
packages/auth/src/totp.ts:39
↓ 4 callers
Method
withDistinctSessionsIfNeeded
( query: ReturnType<typeof clix>, params: { filters: IChartEventFilter[]; projectId: strin
packages/db/src/services/overview.service.ts:282
↓ 4 callers
Function
withRetry
( operation: ( client: ClickHouseClient, ctx: { url: string; index: number } ) => Promise<T> )
packages/db/src/clickhouse/client.ts:258
↓ 4 callers
Function
workspacePath
(relativePath: string)
tooling/publish/generate-readme.ts:11
↓ 4 callers
Function
wrapper
(node: React.ReactNode)
apps/start/src/components/organization/billing-usage.tsx:67
↓ 4 callers
Function
zt
(s)
apps/public/public/op1-replay.js:1
↓ 3 callers
Function
Cs
(s,e)
apps/public/public/op1-replay.js:1
↓ 3 callers
Function
Or
(s,e,t)
apps/public/public/op1-replay.js:59
↓ 3 callers
Function
Tr
(s)
apps/public/public/op1-replay.js:1
↓ 3 callers
Function
U
()
apps/public/public/op1-replay.js:59
↓ 3 callers
Function
Vs
(s)
apps/public/public/op1-replay.js:57
↓ 3 callers
Method
addHeader
(key: string, value: string | Promise<string | null>)
packages/sdks/sdk/src/api.ts:39
↓ 3 callers
Method
addShadowRoot
(e,t)
apps/public/public/op1-replay.js:59
↓ 3 callers
Method
async
()
apps/public/public/op1-replay.js:27
↓ 3 callers
Method
async
()
apps/public/public/op1-replay.js:55
↓ 3 callers
Function
avg
(sel: (s: typeof sample[number]) => number)
apps/api/src/agents/tools/session.ts:154
↓ 3 callers
Function
buildAllCohortsMembershipQuery
( projectId: string, )
packages/db/src/services/chart.service.ts:186
↓ 3 callers
Function
buildCohortMembershipQuery
( cohortId: string, projectId: string, )
packages/db/src/services/chart.service.ts:144
↓ 3 callers
Function
buildInlineCohortJoin
( cohortId: string, projectId: string, tableAlias: string, )
packages/db/src/services/chart.service.ts:156
↓ 3 callers
Function
buildRealtimeCityFilter
( locations: z.infer<typeof realtimeLocationSchema>[] )
packages/trpc/src/routers/realtime.ts:69
↓ 3 callers
Function
buildSession
( now: Date, projectId: string, id: string, profileId: string, daysBack: number, overrides: Record
test/fixtures.ts:133
↓ 3 callers
Function
cacheMiddleware
( cbOrTtl: number | ((input: any, opts: { path: string }) => number), )
packages/trpc/src/trpc.ts:186
↓ 3 callers
Function
calculateClusterCenter
(members: Coordinate[])
apps/start/src/components/realtime/map/coordinates.ts:503
↓ 3 callers
Function
chDateTime
(date: Date)
packages/db/scripts/find-duplicate-events.ts:100
↓ 3 callers
Function
changeFilterValue
(value: IChartEventFilterValue[])
apps/start/src/components/report/sidebar/filters/FilterItem.tsx:250
↓ 3 callers
Function
classifyError
(err: unknown)
packages/db/src/clickhouse/round-robin.ts:96
↓ 3 callers
Method
clearRevenue
()
packages/sdks/web/src/index.ts:341
↓ 3 callers
Function
collect
( gen: AsyncGenerator<AmplitudeRawEvent, void, unknown> )
packages/importer/src/providers/amplitude.test.ts:9
↓ 3 callers
Function
collectPatternIdentifiers
* Collect identifiers from destructuring patterns
packages/js-runtime/src/ast-walker.ts:83
↓ 3 callers
Function
compileScalarClause
* Build a WHERE-clause fragment for a single non-array column. Mirrors the * operator set used by `getEventFiltersWhereClause` so behaviour stays *
packages/db/src/services/filter-where.service.ts:55
← previous
next →
501–600 of 3,945, ranked by callers