MCPcopy Create free account

hub / github.com/Jason-uxui/gray-ui-csm / functions

Functions617 in github.com/Jason-uxui/gray-ui-csm

↓ 1 callersFunctiongetMediaInsertIndex
(document: JSONContent)
components/knowledge-base/knowledge-article-editor.tsx:286
↓ 1 callersFunctiongetPerformanceComparisonLabel
( range: KnowledgeInsightPerformanceRange )
components/knowledge-base/knowledge-article-insights.tsx:148
↓ 1 callersFunctiongetQueueStatusAfterSubmit
( currentStatus: TicketQueueStatus, action: TicketSubmitAction )
components/tickets/tickets-page-mutation-helpers.ts:142
↓ 1 callersFunctiongetRouteByPath
(path: string)
lib/csm-routes.ts:236
↓ 1 callersFunctiongetScenario
(ticket: Ticket, accountName: string)
lib/tickets/detail-data.ts:135
↓ 1 callersFunctiongetShellDisplayMode
(pathname: string)
components/app-shell.tsx:42
↓ 1 callersFunctiongetSupportAgent
()
lib/tickets/detail-data.ts:127
↓ 1 callersFunctiongetTicketNumberLabel
(ticket: Ticket)
components/tickets/ticket-detail-helpers.ts:44
↓ 1 callersFunctiongetTicketNumberLabel
(ticket: Ticket)
lib/knowledge-base/insights.ts:161
↓ 1 callersFunctiongetTicketSeedIndex
(ticketId: string)
lib/tickets/detail-data.ts:110
↓ 1 callersFunctiongetTicketTaskStorageKey
(ticketId: string)
lib/tickets/task-utils.ts:50
↓ 1 callersFunctiongetTicketType
(subject: string, priority: Customer["recentTickets"][number]["priority"])
components/customers/customer-drawer.tsx:1048
↓ 1 callersFunctiongetTicketType
(ticket: Ticket)
lib/knowledge-base/insights.ts:167
↓ 1 callersFunctiongetTicketTypeLabel
(ticket: Ticket)
components/tickets/ticket-detail-helpers.ts:50
↓ 1 callersFunctiongetViewFromSearchParam
(view: string | null)
components/tickets/tickets-page-helpers.ts:86
↓ 1 callersFunctionhandleCloseTicket
()
components/tickets/use-tickets-page-mutations.ts:201
↓ 1 callersFunctionhandleCopyLink
()
components/knowledge-base/knowledge-base-article-detail.tsx:285
↓ 1 callersFunctioninferAttachmentTypeFromSubject
(subject: string)
lib/customers/mock-data.ts:293
↓ 1 callersFunctioninferTicketType
(ticket: CustomerRecentTicket, index: number)
lib/customers/detail-view-model.ts:97
↓ 1 callersFunctioninsertMentionAtCursor
(candidate: MentionCandidate)
components/customers/customer-drawer.tsx:344
↓ 1 callersFunctionisKnowledgeBaseStorageSnapshot
( value: unknown )
lib/knowledge-base/storage.ts:34
↓ 1 callersFunctionisMentionContext
(text: string, cursor: number)
components/customers/customer-drawer.tsx:90
↓ 1 callersFunctionisPersistedTaskShape
(value: unknown)
lib/tickets/task-utils.ts:95
↓ 1 callersFunctionisTicketTaskDuePreset
( value: unknown )
lib/tickets/task-utils.ts:84
↓ 1 callersFunctionisTicketTaskStatus
(value: unknown)
lib/tickets/task-utils.ts:80
↓ 1 callersFunctionisTypingTarget
(target: EventTarget | null)
components/theme-provider.tsx:24
↓ 1 callersFunctionisVipCustomerTier
(plan: CustomerPlan, annualValue: number)
lib/customers/presentation.ts:96
↓ 1 callersFunctionloadKnowledgeArticlesFromStorage
( fallback: KnowledgeArticle[] = knowledgeArticles )
lib/knowledge-base/storage.ts:150
↓ 1 callersFunctionmapTicketEventToActivityItem
( item: TicketTimelineEvent )
components/tickets/ticket-detail-sections.tsx:106
↓ 1 callersFunctionmatchByPathname
(pathname: string)
components/app-sidebar.tsx:46
↓ 1 callersFunctionmatchesRequestDatePreset
({ rowRequestDate, filter, latestRequestDate, customFrom, customTo, }: { rowRequestDate: string
components/customers/customer-detail-page.tsx:272
↓ 1 callersFunctionmergeCustomerAttachments
( baseItems: CustomerAttachment[], persistedItems: CustomerAttachment[] )
components/customers/customer-detail-page.tsx:475
↓ 1 callersFunctionmergeVisibleCustomers
( currentCustomers: Customer[], nextVisibleCustomers: Customer[] )
components/customers/customers-page.tsx:90
↓ 1 callersFunctionmergeVisibleTicketUpdates
( sourceTickets: Ticket[], nextVisibleTickets: Ticket[] )
components/tickets/tickets-page-mutation-helpers.ts:8
↓ 1 callersFunctionmigrateLegacyArticleStorage
( articles: KnowledgeArticle[], fallbackGroups: KnowledgeBaseStorageSnapshot["groups"] )
lib/knowledge-base/storage.ts:80
↓ 1 callersFunctionmoveTicketToQueue
( sourceTickets: Ticket[], ticketId: string, queueStatus: TicketQueueStatus, insertBeforeTicketId?: st
components/tickets/tickets-page-mutation-helpers.ts:40
↓ 1 callersFunctionnormalizeArticleDetailTab
(value: string | null)
components/knowledge-base/use-knowledge-base-page-state.ts:41
↓ 1 callersFunctionnormalizeHeadingLevel
(level: unknown)
components/knowledge-base/knowledge-article-content-view.tsx:18
↓ 1 callersFunctionnormalizePersistedTask
(value: unknown)
lib/tickets/task-utils.ts:119
↓ 1 callersFunctionnormalizePriority
(priority: TicketPriority)
components/tickets/ticket-drawer.tsx:149
↓ 1 callersFunctionnormalizeSelectedArticleId
( value: string | null, articleIds: string[] )
components/knowledge-base/use-knowledge-base-page-state.ts:33
↓ 1 callersFunctionnormalizeTab
(tab: string | undefined)
app/tickets/[ticketId]/page.tsx:21
↓ 1 callersFunctionopenCreatedTicketDrawer
(ticketId: string)
components/customers/customer-detail-page.tsx:1184
↓ 1 callersFunctionparsePersistedCustomerAttachments
( persistedValue: string | null )
components/customers/customer-detail-page.tsx:446
↓ 1 callersFunctionparsePersistedTicketTasks
( rawValue: string | null )
lib/tickets/task-utils.ts:145
↓ 1 callersFunctionpatchTicketById
( sourceTickets: Ticket[], ticketId: string, updater: (ticket: Ticket) => Ticket )
components/tickets/tickets-page-mutation-helpers.ts:17
↓ 1 callersFunctionpatchTicketsByIds
( sourceTickets: Ticket[], ticketIds: string[], updater: (ticket: Ticket) => Ticket )
components/tickets/tickets-page-mutation-helpers.ts:27
↓ 1 callersFunctionrenderInlineNode
(node: JSONContent, key: React.Key)
components/knowledge-base/knowledge-article-content-view.tsx:41
↓ 1 callersFunctionrenderNoteBody
(noteBody: string)
components/customers/customer-drawer.tsx:1019
↓ 1 callersFunctionrenderSidebarIcon
(icon: CsmRouteIconKey)
components/app-sidebar.tsx:50
↓ 1 callersFunctionresetDrafts
()
components/customers/customer-assets-files-tab.tsx:352
↓ 1 callersFunctionsortTickets
(sourceTickets: Ticket[], preset: TicketSortPreset)
components/tickets/ticket-table.tsx:265
↓ 1 callersFunctionstartEditTask
(task: TicketTask)
components/tickets/ticket-task-inline-list.tsx:146
↓ 1 callersFunctionstringifyCsvCell
(value: string)
components/tickets/tickets-bulk-utils.ts:24
↓ 1 callersFunctiontoCustomerTicketPriority
(priority: TicketPriority)
components/customers/customer-detail-page.tsx:349
↓ 1 callersFunctiontoCustomerTicketStatus
(status: TicketQueueStatus)
components/customers/customer-detail-page.tsx:355
↓ 1 callersFunctiontoCustomerTicketType
(ticket: Ticket)
components/customers/customer-detail-page.tsx:360
↓ 1 callersFunctiontoQueueStatusAfterSubmit
( currentStatus: TicketQueueStatus, action: TicketSubmitAction )
components/customers/customer-detail-page.tsx:366
↓ 1 callersFunctiontoTicketPerson
(value: unknown)
lib/tickets/task-utils.ts:103
↓ 1 callersFunctiontoggleDueFilter
( nextValue: TicketTaskDuePreset, checked: boolean )
components/tickets/ticket-task-inline-list.tsx:132
↓ 1 callersFunctiontoggleSelectAll
(checked: boolean)
components/customers/customer-assets-files-tab.tsx:487
↓ 1 callersFunctiontoggleSelectRow
(fileId: string, checked: boolean)
components/customers/customer-assets-files-tab.tsx:495
↓ 1 callersFunctiontoggleStatusFilter
( nextValue: TicketTaskStatus, checked: boolean )
components/tickets/ticket-task-inline-list.tsx:118
↓ 1 callersFunctiontoggleTicketSelection
(ticketId: string, checked: boolean)
components/customers/customer-detail-page.tsx:1122
↓ 1 callersFunctionupdateOverflowState
()
components/knowledge-base/knowledge-base-group-panel.tsx:128
↓ 1 callersFunctionupdatePreviewPosition
()
components/tickets/ticket-knowledge-panel.tsx:81
↓ 1 callersFunctionupdateSelectedTickets
(updater: (ticket: Ticket) => Ticket)
components/tickets/use-tickets-page-mutations.ts:97
↓ 1 callersFunctionupdateTicketItem
( ticketId: string, updater: (currentTicket: Ticket) => Ticket )
components/tickets/use-tickets-page-mutations.ts:81
↓ 1 callersFunctionuseGridColumns
({ columns, tableRef, minColumnWidth, controlColumnWidth, }: UseGridColumnsParams<ColumnId>)
components/data-grid/use-grid-columns.ts:31
↓ 1 callersFunctionuseGridEditing
({ gridRef, inputRef, visibleRowCount, visibleColumnCount, isEditableColumn, getCellEditValue, a
components/data-grid/use-grid-editing.ts:20
↓ 1 callersFunctionuseKnowledgeArticleEditor
({ article, startInEditMode = false, onSaveArticle, onUnsavedChangesChange, onEditModeStarted, }: Us
components/knowledge-base/use-knowledge-article-editor.ts:25
↓ 1 callersFunctionuseKnowledgeArticlesFromStorage
( fallback: KnowledgeArticle[] = knowledgeArticles )
lib/knowledge-base/use-knowledge-articles-storage.ts:12
↓ 1 callersFunctionuseKnowledgeBasePageState
()
components/knowledge-base/use-knowledge-base-page-state.ts:80
↓ 1 callersFunctionuseKnowledgeInsightSignals
( sourceSignals: KnowledgeInsightSignal[] )
components/knowledge-base/use-knowledge-insight-signals.ts:29
↓ 1 callersFunctionuseTicketReplyFlow
({ activeTab, agent, onAppendTimelineItem, onQueueStatusChange, onSwitchToConversationTab, ticket,
components/tickets/use-ticket-reply-flow.ts:35
↓ 1 callersFunctionuseTicketsPageMutations
({ activeTicketId, createContextSearchParams, replaceSearchParams, }: UseTicketsPageMutationsArgs)
components/tickets/use-tickets-page-mutations.ts:36
↓ 1 callersFunctionuseTicketsPageQueryState
({ initialView = "all", initialLayout = "board", }: UseTicketsPageQueryStateArgs = {})
components/tickets/use-tickets-page-query-state.ts:17
↓ 1 callersFunctionuseTicketsPageState
({ initialView = "all", initialLayout = "board", }: UseTicketsPageStateArgs = {})
components/tickets/use-tickets-page-state.ts:22
↓ 1 callersFunctionwalk
(dirPath)
scripts/check-route-thinness.mjs:12
↓ 1 callersFunctionwalk
(dirPath)
scripts/check-design-token-drift.mjs:14
↓ 1 callersFunctionwithKnowledgeArticleDiscussion
(articles: KnowledgeArticle[])
lib/knowledge-base/mock-data.ts:650
FunctionAccountsPage
()
app/accounts/page.tsx:6
FunctionActivityTabContent
({ activityItems, }: { activityItems: TicketTimelineEvent[] })
components/tickets/ticket-detail-sections.tsx:583
FunctionActivityTimelineCompactRow
({ item, isLast, }: { item: ActivityTimelineItem isLast: boolean })
components/activity/activity-timeline.tsx:65
FunctionActivityTimelineEventCard
({ item, className, }: { item: ActivityTimelineItem className?: string })
components/activity/activity-timeline.tsx:31
FunctionActivityTimelineEventItem
({ item, variant = "default", isLast = false, className, }: { item: ActivityTimelineItem variant?:
components/activity/activity-timeline.tsx:125
FunctionActivityTimelineList
({ items, variant = "default", className, }: { items: ActivityTimelineItem[] variant?: ActivityTimel
components/activity/activity-timeline.tsx:93
FunctionAddCustomerFileModal
({ open, onOpenChange, currentUser, onCreate, }: { open: boolean onOpenChange: (open: boolean) =>
components/customers/customer-assets-files-tab.tsx:141
FunctionAppShell
({ children }: { children: React.ReactNode })
components/app-shell.tsx:48
FunctionAppSidebar
({ displayMode = "default", ...props }: AppSidebarProps)
components/app-sidebar.tsx:66
FunctionArticleLinkDialog
({ open, initialUrl, onOpenChange, onApply, onRemove, }: { open: boolean initialUrl: string on
components/knowledge-base/knowledge-article-editor.tsx:178
FunctionArticleMedia
({ article }: { article: KnowledgeArticle })
components/knowledge-base/knowledge-article-content-view.tsx:91
FunctionArticleStatusPill
({ editable, status, onStatusChange, }: { editable: boolean status: KnowledgeArticleStatus onStatu
components/knowledge-base/knowledge-base-article-detail.tsx:121
FunctionAttachmentTypeIcon
({ type }: { type: CustomerAttachmentType })
components/customers/customer-assets-files-tab.tsx:119
FunctionAutomationPage
()
app/automation/page.tsx:6
FunctionAvatar
({ className, size = "default", ...props }: AvatarPrimitive.Root.Props & { size?: "default" | "sm" | "
components/ui/avatar.tsx:8
FunctionAvatarBadge
({ className, ...props }: React.ComponentProps<"span">)
components/ui/avatar.tsx:57
FunctionAvatarFallback
({ className, ...props }: AvatarPrimitive.Fallback.Props)
components/ui/avatar.tsx:41
FunctionAvatarGroup
({ className, ...props }: React.ComponentProps<"div">)
components/ui/avatar.tsx:73
FunctionAvatarGroupCount
({ className, ...props }: React.ComponentProps<"div">)
components/ui/avatar.tsx:86
← previousnext →201–300 of 617, ranked by callers