Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/borhara/CO-DE
/ functions
Functions
90 in github.com/borhara/CO-DE
⨍
Functions
90
◇
Types & classes
50
↳
Endpoints
1
↓ 35 callers
Function
cn
(...inputs: ClassValue[])
frontend/src/lib/utils.ts:5
↓ 14 callers
Method
get
(self)
backend/views/auth.py:99
↓ 7 callers
Function
useTheme
()
frontend/src/shadcn/components/ui/theme-provider.tsx:64
↓ 5 callers
Method
save
(self, *args, **kwargs)
backend/models/rooms.py:34
↓ 3 callers
Function
create_app
(testing=False)
backend/app.py:31
↓ 3 callers
Function
transformKeys
( obj: Record<string, unknown>, isRequest: boolean = true )
frontend/src/services/axiosInstance.ts:16
↓ 2 callers
Function
getFileType
(fileName: string)
frontend/src/lib/utils.ts:9
↓ 2 callers
Method
post
(self)
backend/views/auth.py:56
↓ 1 callers
Function
addEmoji
(emoji: Emoji)
frontend/src/components/ui/chatBox.tsx:86
↓ 1 callers
Function
config_mongodb
(_app: Flask)
backend/services/utils.py:8
↓ 1 callers
Function
config_redis
(_app: Flask)
backend/services/utils.py:23
↓ 1 callers
Function
config_socketio
(_app: Flask)
backend/services/utils.py:37
↓ 1 callers
Method
create_room
(cls, data)
backend/repos/rooms.py:10
↓ 1 callers
Method
create_user_if_not_exist
(cls, access_token, user_data)
backend/repos/auth.py:30
↓ 1 callers
Method
end_room
(cls, data)
backend/repos/rooms.py:30
↓ 1 callers
Method
get_access_token
(cls, code)
backend/repos/auth.py:12
↓ 1 callers
Function
get_config
()
backend/config.py:56
↓ 1 callers
Function
get_testing_config
()
backend/config.py:60
↓ 1 callers
Method
get_user_info
(self)
backend/services/github.py:12
↓ 1 callers
Function
handleOnTabClick
(tabId: string | number)
frontend/src/components/ui/fileTab.tsx:26
↓ 1 callers
Function
handleSelect
(node: CODENodeModel)
frontend/src/components/ui/explorerTreeView.tsx:30
↓ 1 callers
Method
join_room
(cls, data)
backend/repos/rooms.py:48
↓ 1 callers
Function
onTabClose
( e: React.MouseEvent<HTMLButtonElement, MouseEvent>, tabId: string | number )
frontend/src/components/ui/fileTab.tsx:48
↓ 1 callers
Function
register_endpoints
(_app)
backend/app.py:20
↓ 1 callers
Function
removeField
( obj: T, keys: K[] )
frontend/src/utils/utils.ts:1
↓ 1 callers
Function
resolve_origins
(config: str)
backend/services/utils.py:51
↓ 1 callers
Method
save
(self, *args, **kwargs)
backend/models/projects.py:34
↓ 1 callers
Method
send_message
(cls, data)
backend/repos/rooms.py:72
↓ 1 callers
Function
setupSocketConnection
()
frontend/src/tests/events/socket-logic.tsx:6
↓ 1 callers
Function
setupSocketDisconnection
()
frontend/src/tests/events/socket-logic.tsx:14
↓ 1 callers
Function
signIn
( data: SignInRequest )
frontend/src/services/auth/auth.ts:32
↓ 1 callers
Function
signUp
( data: SignUpRequest )
frontend/src/services/auth/auth.ts:16
Function
ActivityBar
(props: Props)
frontend/src/components/sections/activityBar.tsx:35
Function
App
()
frontend/src/App.tsx:12
Function
AuthGate
({ children, required }: Props)
frontend/src/components/auth/AuthGate.tsx:11
Function
ChatBox
()
frontend/src/components/ui/chatBox.tsx:82
Function
DiscordLogo
({ size }: Props)
frontend/src/components/ui/DiscordLogo.tsx:6
Function
DropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
frontend/src/shadcn/components/ui/dropdown-menu.tsx:168
Function
EditorPage
(props: Props)
frontend/src/components/pages/editor.tsx:15
Function
ExplorerTreeView
()
frontend/src/components/ui/explorerTreeView.tsx:14
Function
FileExplorerBar
()
frontend/src/components/sections/fileExplorerBar.tsx:4
Function
FileTab
({ fileName, active, tabId, ...props }: Props)
frontend/src/components/ui/fileTab.tsx:14
Function
Footer
(props: Props)
frontend/src/components/sections/footer.tsx:5
Function
LoadingPage
({ message, progress }: LoadingPageProps)
frontend/src/components/loading.tsx:8
Function
Logo
({ size, className, noText = false, ...res }: Props)
frontend/src/components/ui/logo.tsx:24
Function
ModeToggle
()
frontend/src/shadcn/components/ui/mode-toggle.tsx:12
Function
NotificationTab
()
frontend/src/components/ui/notificationTab.tsx:7
Function
PlaceholderFileTab
(props: Props)
frontend/src/components/ui/placeholderFileTab.tsx:5
Function
ProgressBar
({ progress = 0, determinate = false, size, variant, className, }: ProgressBarProps)
frontend/src/components/ui/progress-bar.tsx:32
Function
RightSectionContainer
(props: Props)
frontend/src/components/sections/rightSectionContainer.tsx:15
Function
RightSidebar
()
frontend/src/components/sections/rightSidebar.tsx:14
Function
RoomDetails
()
frontend/src/components/ui/roomDetails.tsx:123
Function
RootLayout
(props: Props)
frontend/src/components/layout/rootLayout.tsx:12
Function
SignInPage
()
frontend/src/components/pages/signIn.tsx:24
Function
SignUpPage
()
frontend/src/components/pages/signUp.tsx:38
Function
SingleNotification
({ notif, index, length, }: { notif: RoomNotification; index: number; length: number; })
frontend/src/components/ui/singleNotification.tsx:7
Function
TabTray
({}: TabTrayProps)
frontend/src/components/sections/tabTray.tsx:29
Function
TestSocketConnectionComponent
()
frontend/src/tests/events/test-socket-connection-component.tsx:4
Function
ThemeProvider
({ children, defaultTheme = "system", storageKey = "co-de-ui-theme", ...props }: ThemeProviderProps)
frontend/src/shadcn/components/ui/theme-provider.tsx:21
Function
WelcomeScreen
(props: Props)
frontend/src/components/ui/welcomeScreen.tsx:13
Method
__init__
(self, access_token)
backend/services/github.py:6
Method
__str__
(self)
backend/models/users.py:28
Function
app
()
backend/tests/conftest.py:13
Function
client
(app: Flask)
backend/tests/conftest.py:35
Function
decorated
(*args, **kwargs)
backend/services/decorators.py:7
Method
envelope_dump
Envelope the dump data in an object and also adding status attribute. :param data: Data resulted by dump function :param man
backend/services/serialization.py:25
Function
generate_invite_token
()
backend/services/utils.py:47
Function
getUser
()
frontend/src/services/auth/auth.ts:46
Function
handleClick
(data: SignUpRequest)
frontend/src/components/pages/signUp.tsx:49
Function
handleClick
(data: SignInRequest)
frontend/src/components/pages/signIn.tsx:38
Function
handleConnectClick
()
frontend/src/tests/events/test-socket-connection-component.tsx:26
Function
handleDisconnectClick
()
frontend/src/tests/events/test-socket-connection-component.tsx:31
Function
handleDrop
(newTree: CODENodeModel[])
frontend/src/components/ui/explorerTreeView.tsx:28
Function
handleEditorChange
(value: string | undefined)
frontend/src/components/code_editor/CodeEditor.tsx:79
Function
handle_connect
()
backend/events/connection.py:6
Function
handle_create_room
(data)
backend/events/rooms.py:12
Function
handle_disconnect
()
backend/events/connection.py:11
Function
handle_end_room
(data)
backend/events/rooms.py:23
Method
handle_error
Overwrites the default error handling on loading of data. The new handler sets the error messages attribute to an enveloped e
backend/services/serialization.py:8
Function
handle_join_room
(data)
backend/events/rooms.py:34
Function
handle_send_message
(data)
backend/events/rooms.py:45
Function
is_email
Validate string is a valid email format
backend/models/users.py:13
Function
markAllAsRead
()
frontend/src/stores/useNotificationStore.ts:86
Function
project
(request: Iterable[object])
backend/tests/conftest.py:67
Function
socket_client
(app: Flask)
backend/tests/conftest.py:40
Function
test_create_room
(socket_client: SocketIOTestClient, project: Project)
backend/tests/test_events.py:11
Function
test_end_room
(socket_client: SocketIOTestClient)
backend/tests/test_events.py:80
Function
test_join_room
(socket_client: SocketIOTestClient)
backend/tests/test_events.py:38
Function
test_send_message
(socket_client: SocketIOTestClient)
backend/tests/test_events.py:54
Function
validate
(func)
backend/services/decorators.py:5