Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jason-uxui/gray-ui-csm
/ functions
Functions
617 in github.com/Jason-uxui/gray-ui-csm
⨍
Functions
617
◇
Types & classes
8
↓ 234 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 13 callers
Function
updateTicket
(updater: (currentTicket: Ticket) => Ticket)
components/tickets/ticket-drawer.tsx:395
↓ 9 callers
Function
replaceQuery
(patch: QueryPatch)
components/customers/customer-detail-page.tsx:1059
↓ 7 callers
Function
getRouteByPathOrThrow
(path: string)
lib/csm-routes.ts:241
↓ 6 callers
Function
omitKey
(sourceRecord: Record<string, TValue>, keyToDelete: string)
components/customers/customer-detail-page.tsx:428
↓ 6 callers
Function
paragraph
(text: string)
lib/knowledge-base/content.ts:29
↓ 6 callers
Function
registerPerson
(person?: TicketPerson)
components/customers/customer-detail-page.tsx:956
↓ 6 callers
Function
sortTicketsForBoard
(sourceTickets: Ticket[])
components/tickets/ticket-board.tsx:71
↓ 6 callers
Function
updateComposerState
(updater: (current: NoteComposerState) => NoteComposerState)
components/customers/customer-drawer.tsx:234
↓ 6 callers
Function
updateTicket
( ticketId: string, updater: (ticket: Ticket) => Ticket )
components/tickets/ticket-table.tsx:455
↓ 5 callers
Function
clamp
(value: number, min: number, max: number)
lib/knowledge-base/insights.ts:147
↓ 5 callers
Function
getCustomerInitials
(value: string)
lib/customers/presentation.ts:109
↓ 5 callers
Function
getTextSeed
(value: string)
lib/customers/mock-data.ts:132
↓ 5 callers
Function
parseDragTarget
(id: string)
components/tickets/ticket-board.tsx:89
↓ 5 callers
Function
pushOption
(person?: TicketPerson)
components/tickets/ticket-detail-page.tsx:110
↓ 5 callers
Function
resetDragState
()
components/tickets/ticket-board.tsx:512
↓ 5 callers
Function
useIsMobile
()
hooks/use-mobile.ts:5
↓ 5 callers
Function
useSidebar
()
components/ui/sidebar.tsx:47
↓ 4 callers
Function
calculateTrend
( current: number, previous: number )
components/tickets/tickets-page-helpers.ts:104
↓ 4 callers
Function
formatTrendPercent
(current: number, previous: number)
components/customers/customers-page.tsx:83
↓ 4 callers
Function
getCustomerBrandPresentation
( customerId: string, companyName: string )
components/customers/customer-brand.ts:130
↓ 4 callers
Function
getKnowledgeArticleCategoryLabel
(article: KnowledgeArticle)
components/tickets/ticket-knowledge-helpers.ts:3
↓ 4 callers
Function
insertComposerSnippet
({ before = "", after = "", placeholder = "", }: { before?: string after?: string pl
components/tickets/ticket-drawer.tsx:465
↓ 4 callers
Function
renderInlineContent
(node: JSONContent, keyPrefix: string)
components/knowledge-base/knowledge-article-content-view.tsx:85
↓ 4 callers
Function
renderPreviewSlot
(expanded = false)
components/tickets/ticket-column.tsx:58
↓ 4 callers
Function
replaceDraftAndSelection
( nextDraft: string, selectionStart: number, selectionEnd: number )
components/customers/customer-drawer.tsx:296
↓ 4 callers
Function
restoreTickets
(snapshotTickets: Ticket[])
components/tickets/use-tickets-page-mutations.ts:115
↓ 4 callers
Function
submitReply
(nextStatus?: TicketQueueStatus)
components/tickets/use-ticket-reply-flow.ts:151
↓ 4 callers
Function
titleCase
(value: string)
lib/tickets/detail-data.ts:120
↓ 4 callers
Function
updateTab
(nextTab: TicketDetailTab)
components/tickets/ticket-detail-page.tsx:179
↓ 3 callers
Function
clamp
(value: number, min: number, max: number)
components/tickets/ticket-drawer.tsx:145
↓ 3 callers
Function
formatEventTimestamp
(date: string, seed: number)
lib/customers/mock-data.ts:136
↓ 3 callers
Function
formatSignedPercent
(value: number)
lib/knowledge-base/insights.ts:151
↓ 3 callers
Function
getPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string )
components/ui/chart.tsx:330
↓ 3 callers
Function
getTicketInitials
(name?: string)
lib/tickets/presentation.ts:71
↓ 3 callers
Function
handleClose
()
components/customers/customer-assets-files-tab.tsx:159
↓ 3 callers
Function
heading
(text: string, level: 2 | 3)
lib/knowledge-base/content.ts:36
↓ 3 callers
Function
loadKnowledgeBaseSnapshot
( fallback: KnowledgeBaseStorageSnapshot = getDefaultKnowledgeBaseSnapshot() )
lib/knowledge-base/storage.ts:91
↓ 3 callers
Function
mapTicketToCustomerRow
(ticket: Ticket, requestDate: string)
components/customers/customer-detail-page.tsx:375
↓ 3 callers
Function
normalizeCustomerDetailTab
(value: string | null | undefined)
lib/customers/detail-view-model.ts:122
↓ 3 callers
Function
registerAssignee
(person?: TicketPerson)
components/customers/customer-detail-page.tsx:930
↓ 3 callers
Function
renderStaticTicketCell
(ticket: Ticket, columnId: TicketColumnId)
components/tickets/ticket-table.tsx:331
↓ 3 callers
Function
resetCreateForm
()
components/knowledge-base/knowledge-base-group-panel.tsx:252
↓ 3 callers
Function
scaleSeries
( article: KnowledgeArticle, range: KnowledgeInsightPerformanceRange, pattern: number[] )
lib/knowledge-base/insights.ts:219
↓ 3 callers
Function
syncArticles
()
lib/knowledge-base/use-knowledge-articles-storage.ts:18
↓ 3 callers
Function
ticketLabel
(count: number)
components/tickets/tickets-page.copy.ts:1
↓ 3 callers
Function
updateSignal
( signalId: string, updater: ( signal: KnowledgeMatchingSignalView ) => KnowledgeMatchingSig
components/knowledge-base/use-knowledge-insight-signals.ts:67
↓ 3 callers
Function
wrapSelectionWithToken
(prefix: string, suffix = prefix)
components/customers/customer-drawer.tsx:320
↓ 2 callers
Function
buildCustomerDetailMetrics
(customer: Customer)
lib/customers/detail-view-model.ts:158
↓ 2 callers
Function
cancelEditTask
()
components/tickets/ticket-task-inline-list.tsx:151
↓ 2 callers
Function
clearCreateDraftArtifacts
()
components/tickets/use-tickets-page-mutations.ts:180
↓ 2 callers
Function
closeCustomerTicketDrawer
()
components/customers/customer-detail-page.tsx:1143
↓ 2 callers
Function
closeHoverPreview
()
components/tickets/ticket-knowledge-panel.tsx:237
↓ 2 callers
Function
closeTicketImmediately
()
components/tickets/use-tickets-page-mutations.ts:190
↓ 2 callers
Function
createInitialColumnWidths
( columns: DataGridColumn<ColumnId>[] )
components/data-grid/use-grid-columns.ts:12
↓ 2 callers
Function
createTicketTaskId
(ticketId: string)
lib/tickets/task-utils.ts:54
↓ 2 callers
Function
exportCustomersToCsv
(rows: Customer[])
components/customers/customers-page.tsx:103
↓ 2 callers
Function
extractCustomerTicketSequence
(value: string)
components/customers/customer-detail-page.tsx:328
↓ 2 callers
Function
formatCompactCurrency
(value: number)
components/customers/customer-table.tsx:127
↓ 2 callers
Function
formatDateInputValue
(date: Date)
components/customers/customer-detail-page.tsx:215
↓ 2 callers
Function
formatFileSizeLabel
(file: CustomerAttachment)
components/customers/customer-assets-files-tab.tsx:95
↓ 2 callers
Function
getAssigneeDisplay
(ticket: Ticket)
components/tickets/ticket-table.tsx:223
↓ 2 callers
Function
getAttachmentTypeColorClass
(type: CustomerAttachmentType)
components/customers/customer-assets-files-tab.tsx:100
↓ 2 callers
Function
getColumnDropId
(queueStatus: TicketQueueStatus)
components/tickets/ticket-board.tsx:81
↓ 2 callers
Function
getCommentAgeDays
(age: string)
components/knowledge-base/knowledge-article-insights.tsx:1206
↓ 2 callers
Function
getDefaultKnowledgeBaseSnapshot
()
lib/knowledge-base/storage.ts:16
↓ 2 callers
Function
getKnowledgeArticleUrl
(article: KnowledgeArticle)
components/tickets/ticket-knowledge-helpers.ts:11
↓ 2 callers
Function
getNextCustomerTicketId
(rows: CustomerTicketRow[])
components/customers/customer-detail-page.tsx:336
↓ 2 callers
Function
getNextTicketSequence
(sourceTickets: Ticket[])
components/tickets/tickets-page-helpers.ts:75
↓ 2 callers
Function
getRouteByPathname
(pathname: string)
lib/csm-routes.ts:249
↓ 2 callers
Function
getTextContent
(node: JSONContent)
lib/knowledge-base/content.ts:51
↓ 2 callers
Function
getTicketAvatarUrl
(ticket: Ticket)
components/tickets/ticket-table.tsx:218
↓ 2 callers
Function
getTicketDropId
(ticketId: string)
components/tickets/ticket-board.tsx:85
↓ 2 callers
Function
inferAttachmentTypeFromName
(name: string)
components/customers/customer-assets-files-tab.tsx:51
↓ 2 callers
Function
inferAttachmentTypeFromUrl
(url: string)
components/customers/customer-assets-files-tab.tsx:62
↓ 2 callers
Function
isColumnDropId
(id: string)
components/tickets/ticket-board.tsx:111
↓ 2 callers
Function
isEmptyValue
(value: React.ReactNode)
components/data-grid/data-grid.tsx:31
↓ 2 callers
Function
isKnowledgeArticleArray
(value: unknown)
lib/knowledge-base/storage.ts:30
↓ 2 callers
Function
isSuggestedReplyHeading
(node: JSONContent)
lib/knowledge-base/content.ts:56
↓ 2 callers
Function
isTicketDropId
(id: string)
components/tickets/ticket-board.tsx:107
↓ 2 callers
Function
mergeArticleDefaults
( articles: KnowledgeArticle[], fallbackArticles: KnowledgeArticle[] )
lib/knowledge-base/storage.ts:53
↓ 2 callers
Function
normalizeCustomerTicketPriorityFilter
( value: string | null | undefined )
lib/customers/detail-view-model.ts:143
↓ 2 callers
Function
normalizeCustomerTicketTypeFilter
( value: string | null | undefined )
lib/customers/detail-view-model.ts:130
↓ 2 callers
Function
normalizePath
(path: string)
lib/csm-routes.ts:232
↓ 2 callers
Function
normalizeRequestDateFilter
( value: string | null | undefined )
components/customers/customer-detail-page.tsx:318
↓ 2 callers
Function
normalizeSafeArticleHref
(value: unknown)
lib/knowledge-base/content.ts:7
↓ 2 callers
Function
notifyKnowledgeBaseStorageUpdated
()
lib/knowledge-base/storage.ts:133
↓ 2 callers
Function
omitRecordKey
( sourceRecord: Record<string, TValue>, keyToDelete: string )
components/tickets/tickets-page-mutation-helpers.ts:151
↓ 2 callers
Function
onChange
()
hooks/use-mobile.ts:10
↓ 2 callers
Function
openEditModal
(fileId: string)
components/customers/customer-assets-files-tab.tsx:509
↓ 2 callers
Function
parseDateInputValue
(value: string)
components/customers/customer-detail-page.tsx:223
↓ 2 callers
Function
parseRequestDate
(value: string)
components/customers/customer-detail-page.tsx:242
↓ 2 callers
Function
pickFromPool
(ticketId: string, values: T[])
lib/tickets/detail-data.ts:115
↓ 2 callers
Function
queueReplySubmission
({ body, linkedArticle, nextStatus, }: { body: string linkedArticle?: KnowledgeArticle |
components/tickets/use-ticket-reply-flow.ts:109
↓ 2 callers
Function
removeArticleMediaNodes
(node: JSONContent)
components/knowledge-base/knowledge-article-editor.tsx:301
↓ 2 callers
Function
renderFilterPanel
()
components/customers/customer-detail-page.tsx:1383
↓ 2 callers
Function
renderStaticCustomerCell
( customer: Customer, columnId: CustomerColumnId )
components/customers/customer-table.tsx:149
↓ 2 callers
Function
saveKnowledgeBaseSnapshot
(snapshot: KnowledgeBaseStorageSnapshot)
lib/knowledge-base/storage.ts:139
↓ 2 callers
Function
sortTicketsByBoardOrder
(sourceTickets: Ticket[])
components/tickets/tickets-page-helpers.ts:180
↓ 2 callers
Function
textNode
(text: string)
lib/knowledge-base/content.ts:22
next →
1–100 of 617, ranked by callers