Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anandbaburajan/cq2
/ functions
Functions
99 in github.com/anandbaburajan/cq2
⨍
Functions
99
◇
Types & classes
19
↓ 115 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.tsx:21
↓ 14 callers
Function
getNewCQ2DocumentOpenThreads
(thread_id, CQ2Document)
src/lib/utils.tsx:25
↓ 12 callers
Function
getNewCQ2DocumentCurrentHighlightsFromCurrentHighlights
( highlight, CQ2DocumentCurrentHighlights, )
src/lib/utils.tsx:93
↓ 8 callers
Function
updateCQ2Document
(_CQ2Document)
src/components/document/v1-child-thread.tsx:908
↓ 4 callers
Function
useCarousel
()
src/components/ui/carousel.tsx:35
↓ 3 callers
Function
CQ2TreeFromComment
( CQ2Document, comment, CQ2DocumentOpenThreads, setNewCQ2DocumentOpenThreads, CQ2DocumentC
src/lib/utils.tsx:383
↓ 3 callers
Function
dbConnect
()
src/lib/db-connect.tsx:21
↓ 3 callers
Function
updateCQ2Document
(_CQ2Document)
src/components/document/v1-doc-thread.tsx:627
↓ 2 callers
Function
getNewCQ2DocumentCurrentHighlightsFromOpenThreads
( CQ2DocumentOpenThreads, CQ2Document, )
src/lib/utils.tsx:47
↓ 2 callers
Function
handleCommentInNewThread
(comment)
src/components/document/v1-doc-thread.tsx:109
↓ 2 callers
Function
handleCommentInThread
(isResolution = false)
src/components/document/v1-child-thread.tsx:541
↓ 2 callers
Function
setCQ2DocumentReadUnreadComments
()
src/components/document/v1-doc-thread.tsx:788
↓ 2 callers
Function
setCQ2DocumentReadUnreadComments
()
src/components/document/v1-child-thread.tsx:1213
↓ 2 callers
Function
showNewThreadPopup
(e, comment_id, idx = -1)
src/components/document/v1-doc-thread.tsx:695
↓ 1 callers
Function
CQ2ThreadTree
( CQ2Document, thread_id, CQ2DocumentOpenThreads, setNewCQ2DocumentOpenThreads, CQ2Documen
src/lib/utils.tsx:256
↓ 1 callers
Function
createNewCQ2Document
(initCQ2Document)
src/app/app/new/page.tsx:177
↓ 1 callers
Function
findParents
(thread_id)
src/lib/utils.tsx:28
↓ 1 callers
Function
getTruncatedText
(text)
src/lib/utils.tsx:237
↓ 1 callers
Function
handleCommentInNewThread
(comment)
src/components/document/v1-child-thread.tsx:116
↓ 1 callers
Function
handleCommentInThread
(isResolution = false)
src/components/document/v1-doc-thread.tsx:488
↓ 1 callers
Function
handleSubmit
()
src/components/document/v2-editor.tsx:107
↓ 1 callers
Function
handleSubmit
()
src/app/app/new/page.tsx:127
↓ 1 callers
Function
resolveThreadWithoutComment
()
src/components/document/v1-child-thread.tsx:346
↓ 1 callers
Function
showNewThreadPopup
(e, comment_id, idx)
src/components/document/v1-child-thread.tsx:1148
↓ 1 callers
Function
sleep
(time)
src/components/document/v2-editor.tsx:144
↓ 1 callers
Function
updateCQ2Document
(_CQ2Document)
src/components/document/v2-editor.tsx:142
Function
AppTopNav
()
src/components/app-top-nav.tsx:36
Function
Badge
({ className, variant, ...props }: BadgeProps)
src/components/ui/badge.tsx:30
Function
CQ2BubbleMenu
({ editor })
src/components/editor/cq2-bubble-menu.tsx:23
Function
CQ2DocumentCurrentHighlightsStore
(set)
src/state.tsx:55
Function
CQ2DocumentOpenThreadsStore
(set)
src/state.tsx:36
Function
CQ2DocumentSkeleton
()
src/components/document/document-skeleton.tsx:4
Function
CQ2DocumentStore
(set)
src/state.tsx:8
Function
CQ2DocumentUnreadCommentsStore
(set)
src/state.tsx:74
Function
CQ2Documents
()
src/app/app/page.tsx:28
Function
CQ2DocumentsListSkeleton
()
src/components/document/documents-list-skeleton.tsx:3
Function
CQ2Tree
({ CQ2Document, setShowTreePopover })
src/lib/utils.tsx:247
Function
CQ2V1DocumentContainer
()
src/components/document/v1-container.tsx:22
Function
CQ2V2DocumentContainer
()
src/components/document/v2-container.tsx:24
Function
CQ2V2EditDocumentContainer
()
src/components/document/v2-edit-container.tsx:24
Function
ComparisonSVG
(props: SVGProps<SVGSVGElement>)
src/components/comparison-svg.tsx:3
Function
ContentWithDisabledHighlight
({ content, highlights }: Props)
src/components/document/content-with-disabled-highlight.tsx:14
Function
ContentWithHighlight
({ containerId, content, highlights, CQ2DocumentCurrentHighlights, }: Props)
src/components/document/content-with-highlight.tsx:17
Function
ContextMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/context-menu.tsx:172
Function
Demo
()
src/app/app/demo/page.tsx:3
Function
Demo
()
src/app/demo/page.tsx:3
Function
DialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:65
Function
DialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:51
Function
DropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/dropdown-menu.tsx:176
Function
GET
( req: Request, { params }: { params: { id: string } }, )
src/app/api/document/[id]/route.tsx:6
Function
GitHubLogoSVG
(props: SVGProps<SVGSVGElement>)
src/components/github-logo.tsx:3
Function
Home
()
src/app/(home)/page.tsx:11
Function
LogoSVG
(props: SVGProps<SVGSVGElement>)
src/components/logo-svg.tsx:3
Function
LogoSVGNeutral
(props: SVGProps<SVGSVGElement>)
src/components/logo-svg-neutral.tsx:3
Function
LogoTextSVG
(props: SVGProps<SVGSVGElement>)
src/components/logo-text-svg.tsx:3
Function
MenubarShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
src/components/ui/menubar.tsx:207
Function
NewCQ2Document
()
src/app/app/new/page.tsx:18
Function
NotFound
()
src/app/(home)/not-found.tsx:1
Function
POST
(req: Request)
src/app/api/document/route.tsx:6
Function
PUT
(req: Request)
src/app/api/document/route.tsx:43
Function
Page
({ params: { id } }: { params: { id: string } })
src/app/app/document/[id]/page.tsx:9
Function
Page
({ params: { id } }: { params: { id: string } })
src/app/app/document/[id]/v2/page.tsx:9
Function
Page
({ params: { id } }: { params: { id: string } })
src/app/app/document/[id]/v2/draft/page.tsx:10
Function
Page
({ params: { id } }: { params: { id: string } })
src/app/app/document/[id]/v1/page.tsx:10
Function
QuoteHellSVG
(props: SVGProps<SVGSVGElement>)
src/components/quote-hell-svg.tsx:3
Function
RootLayout
({ children, }: { children: React.ReactNode; })
src/app/blog/the-best-way-to-have-complex-discussions/layout.tsx:49
Function
RootLayout
({ children, }: { children: React.ReactNode; })
src/app/(home)/layout.tsx:49
Function
RootLayout
({ children, }: { children: React.ReactNode; })
src/app/app/layout.tsx:37
Function
RootLayout
({ children, }: { children: React.ReactNode; })
src/app/demo/layout.tsx:36
Function
SheetFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/sheet.tsx:86
Function
SheetHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/sheet.tsx:72
Function
SiteTopNav
()
src/components/site-top-nav.tsx:8
Function
Skeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/skeleton.tsx:3
Function
TheBestWayToHaveComplexDiscussions
()
src/app/blog/the-best-way-to-have-complex-discussions/page.tsx:15
Function
ThemeProvider
({ children, ...props }: ThemeProviderProps)
src/components/theme-provider.tsx:7
Function
ThemeToggle
()
src/components/theme-toggle.tsx:15
Function
ThreadInfoForHighlight
({ CQ2Document, thread_id, setShowTreePopover = (state) => {}, })
src/lib/utils.tsx:108
Function
Toaster
({ ...props }: ToasterProps)
src/components/ui/sonner.tsx:8
Function
V1ChildThread
({ threadID })
src/components/document/v1-child-thread.tsx:58
Function
V1DocThread
()
src/components/document/v1-doc-thread.tsx:48
Function
V2DocThread
()
src/components/document/v2-doc-thread.tsx:9
Function
V2Editor
()
src/components/document/v2-editor.tsx:20
Function
V2V1ChildThread
({ threadID })
src/components/document/v2-v1-child-thread.tsx:22
Function
V2V1DocThread
()
src/components/document/v2-v1-doc-thread.tsx:23
Function
addKeyboardShortcuts
()
src/components/document/v1-doc-thread.tsx:392
Function
addKeyboardShortcuts
()
src/components/document/v1-child-thread.tsx:932
Function
handleLinkChange
(e: React.ChangeEvent<HTMLInputElement>)
src/components/editor/cq2-bubble-menu.tsx:28
Function
handleMousedownToHideNewThreadPopup
(e: MouseEvent)
src/components/document/v1-doc-thread.tsx:650
Function
handleMousedownToHideNewThreadPopup
(e: MouseEvent)
src/components/document/v1-child-thread.tsx:1114
Function
handleNameChange
(e: React.ChangeEvent<HTMLInputElement>)
src/app/app/new/page.tsx:105
Function
handleUserNameChange
(e: React.ChangeEvent<HTMLInputElement>)
src/components/document/v1-doc-thread.tsx:65
Function
renderHTML
({ node, HTMLAttributes })
src/components/document/v1-doc-thread.tsx:447
Function
renderHTML
({ node, HTMLAttributes })
src/components/document/v1-child-thread.tsx:987
Function
renderHTML
({ node, HTMLAttributes })
src/components/document/v2-editor.tsx:69
Function
renderHTML
({ node, HTMLAttributes })
src/app/app/new/page.tsx:66
Function
showOldVersionStore
(set)
src/state.tsx:145
Function
showThreadInfoBoxStore
(set)
src/state.tsx:91
Function
threadInfoBoxCoordsStore
(set)
src/state.tsx:127
Function
threadInfoBoxThreadIDStore
(set)
src/state.tsx:109