MCPcopy Create free account

hub / github.com/SagerNet/sing-box-dashboard / functions

Functions401 in github.com/SagerNet/sing-box-dashboard

FunctionPeerSections
(props: { endpoint: TailscaleEndpointStatus; onShowPeer: (id: string) => void; onConnectSSH: (peer: Tail
src/views/TailscaleView.tsx:299
FunctionPingSection
(props: { endpoint: TailscaleEndpointStatus; peer: TailscalePeer })
src/views/TailscaleView.tsx:473
FunctionPreferencesView
(props: { theme: ThemePreference; onThemeChange: (theme: ThemePreference) => void; accent: AccentPrefere
src/views/SettingsView.tsx:92
FunctionQRCode
(props: { value: string })
src/components/ui.tsx:690
FunctionReachabilityIndicator
(props: { reachability: Reachability; url: string })
src/components/ReachabilityIndicator.tsx:95
FunctionResultValue
(props: { pending: boolean; value: string; badge: React.ReactNode })
src/views/ToolsView.tsx:364
FunctionSSHPrompt
(props: { peer: TailscalePeer; onCancel: () => void; onConnect: (username: string, terminalType: string,
src/views/TailscaleView.tsx:599
FunctionSTUNTestView
()
src/views/ToolsView.tsx:374
FunctionSearchInput
(props: { value: string; onChange: (value: string) => void })
src/components/ui.tsx:632
FunctionSegmentedControl
(props: { options: { value: string; label: string }[]; value: string; onChange: (value: string) => void;
src/components/ui.tsx:192
FunctionSelect
(props: { options: { value: T; label: ReactNode }[]; value: T; onChange: (value: T) => void; disabled?
src/components/ui.tsx:338
FunctionServerDialog
(props: { server: Server | null; canDelete: boolean; onSave: (server: Server) => void; onDelete: (id:
src/views/SettingsView.tsx:511
FunctionServerPicker
(props: { serversState: ServersState; onServersChange: (state: ServersState) => void; connected: boolean
src/App.tsx:464
FunctionServerUptime
()
src/App.tsx:529
FunctionServersView
(props: { serversState: ServersState; onServersChange: (state: ServersState) => void; })
src/views/SettingsView.tsx:453
FunctionSettingsPageHeader
(props: { title: string; action?: ReactNode; back?: string; backLabel?: string; })
src/views/SettingsView.tsx:69
FunctionSettingsView
()
src/views/SettingsView.tsx:28
FunctionSetupView
(props: { onCreate: (server: Server) => void; theme: ThemePreference; onThemeChange: (theme: ThemePrefer
src/views/SetupView.tsx:30
FunctionShell
(props: { server: Server; serversState: ServersState; onServersChange: (state: ServersState) => void;
src/App.tsx:253
FunctionShellContent
(props: { server: Server; serversState: ServersState; onServersChange: (state: ServersState) => void;
src/App.tsx:273
FunctionSparkline
(props: { data: number[]; height?: number; color?: string; capacity?: number })
src/components/ui.tsx:647
FunctionSpinner
(props: { className?: string })
src/components/ui.tsx:77
FunctionStateDot
(props: { tone?: DelayTone; className?: string })
src/components/ui.tsx:73
FunctionStatusCard
(props: { endpoint: TailscaleEndpointStatus; hasExitNodes: boolean; onShowSelf: () => void; onOpenExit
src/views/TailscaleView.tsx:216
FunctionStreamBanner
(props: { snapshot: StreamSnapshot<unknown> })
src/components/StreamBanner.tsx:19
FunctionStreamErrorBanner
(props: { error: string | null })
src/components/StreamBanner.tsx:7
FunctionStreamStates
(props: { snapshot: StreamSnapshot<unknown>; loaded: boolean; empty: boolean; emptyIcon?: IconName;
src/components/StreamBanner.tsx:24
FunctionSubMenu
(props: { label: ReactNode; icon?: IconName; children: ReactNode })
src/components/ui.tsx:541
FunctionSubMenuGroup
(props: { children: ReactNode })
src/components/ui.tsx:528
FunctionSymbolButton
(props: { className?: string; ariaLabel: string; ariaPressed?: boolean; onPress: () => void; childre
src/components/TerminalSymbolBar.tsx:95
FunctionTailscaleEndpointRows
()
src/views/ToolsView.tsx:57
FunctionTailscaleEndpointView
(props: { tag: string })
src/views/TailscaleView.tsx:49
FunctionTailscaleSSHView
(props: { tag: string; peerID: string; username: string; terminalType: string; })
src/views/TerminalView.tsx:51
FunctionTerminalConfigurationView
()
src/views/SettingsView.tsx:223
FunctionTerminalContainer
(props: { tag: string; initialSession: SSHSessionOptions; onClose?: () => void; setWindowTitle?: boole
src/views/TerminalView.tsx:124
FunctionTerminalOverlay
(props: { tag: string; initialSession: SSHSessionOptions; onClose: () => void; })
src/views/TerminalView.tsx:94
FunctionTerminalSession
(props: { session: SSHSessionOptions; active: boolean; onStatusLine: (line: string | null) => void; on
src/views/TerminalView.tsx:300
FunctionTerminalSymbolBar
(props: { modifiers: Modifiers; onModifier: (mod: ModKey) => void; onKey: (key: TerminalKey) => void;
src/components/TerminalSymbolBar.tsx:28
FunctionTerminalThemeEditorView
(props: { scheme: Scheme })
src/views/SettingsView.tsx:299
FunctionTerminalThemePickerView
(props: { scheme: Scheme })
src/views/SettingsView.tsx:371
FunctionThemeMenu
(props: { accent: AccentPreference; onChange: (accent: AccentPreference) => void; openUp?: boolean; })
src/components/ui.tsx:295
FunctionThemePreview
({ theme }: { theme: TerminalThemeEntry["theme"] })
src/views/SettingsView.tsx:349
FunctionThemeSchemeSection
(props: { scheme: Scheme; name: string; custom: string; onChange: (patch: Partial<TerminalConfig>) =>
src/views/SettingsView.tsx:161
FunctionThemeSelect
(props: { theme: ThemePreference; onChange: (theme: ThemePreference) => void; })
src/components/ui.tsx:218
FunctionToggle
(props: { label: ReactNode; value: boolean; onChange: (value: boolean) => void; disabled?: boolean })
src/components/ui.tsx:608
FunctionToolsPageHeader
(props: { title: string; actions?: ReactNode })
src/views/ToolsView.tsx:116
FunctionToolsView
()
src/views/ToolsView.tsx:27
FunctionUsbDeviceDetailBody
({ row }: { row: DeviceRow })
src/views/UsbipView.tsx:374
FunctionUsbipServerRows
()
src/views/ToolsView.tsx:86
FunctionUsbipView
(props: { tag: string })
src/views/UsbipView.tsx:42
FunctionattachPermitted
(device: USBDevice)
src/lib/usbipProvider.ts:501
FunctionconnectNew
()
src/lib/usbipProvider.ts:508
Methodconstructor
( config: Server, private serverTag: string, private onUpdate: () => void, private onError: (e
src/lib/usbipProvider.ts:106
Methodconstructor
(config: Server, transport?: Transport)
src/api/daemon.ts:118
Methodconstructor
(private options: WebSocketStreamOptions<Req, Res>)
src/api/websocket.ts:35
Methodconstructor
( private createInitial: () => T, private runStream: (context: StreamContext<T>) => Promise<void>,
src/api/stream.ts:57
FunctioncopyLogs
()
src/views/LogsView.tsx:95
FunctiondecodeSegment
(segment: string)
src/App.tsx:75
FunctiondeleteServer
(id: string)
src/views/ConnectionErrorView.tsx:30
FunctiondeleteServer
(id: string)
src/views/SettingsView.tsx:466
Functiondetach
(deviceId: string)
src/lib/usbipProvider.ts:521
Functiondismiss
()
src/App.tsx:557
FunctiondismissError
()
src/app/errorStore.ts:26
FunctionduplicateSession
()
src/views/TerminalView.tsx:202
Methodfinish
()
src/api/stream.ts:156
MethodfinishSend
()
src/api/websocket.ts:81
FunctionhandleKey
(key: TerminalKey)
src/views/TerminalView.tsx:543
FunctionhandleModifier
(mod: ModKey)
src/views/TerminalView.tsx:535
FunctionhandlePaste
()
src/views/TerminalView.tsx:558
FunctionisCardId
(value: unknown)
src/app/dashboardCards.ts:35
Functionkick
()
src/App.tsx:297
FunctionlistPermitted
()
src/lib/usbipProvider.ts:482
FunctionmoveDrag
(event: React.PointerEvent<HTMLElement>)
src/views/OverviewView.tsx:175
FunctiononAbort
()
src/lib/connectivity.ts:53
FunctiononBeforeUnload
(event: BeforeUnloadEvent)
src/app/context.tsx:61
FunctiononChange
()
src/app/context.tsx:79
FunctiononChange
()
src/app/i18n.tsx:110
FunctiononHashChange
()
src/App.tsx:166
FunctiononKeyDown
(event: KeyboardEvent<HTMLDivElement>)
src/components/ui.tsx:370
FunctiononKeyDown
(event: KeyboardEvent)
src/app/hooks.ts:108
FunctiononPointerDown
(event: PointerEvent)
src/app/hooks.ts:137
FunctiononShareError
(error: unknown)
src/views/LogsView.tsx:108
FunctionpickOther
()
src/views/UsbipView.tsx:283
FunctionrenderCard
(card: DashboardCardId)
src/views/OverviewView.tsx:101
FunctionrunURLTest
()
src/views/GroupsView.tsx:54
FunctionsaveLogs
()
src/views/LogsView.tsx:99
FunctionsaveServer
(server: Server)
src/views/ConnectionErrorView.tsx:25
FunctionsaveServer
(server: Server)
src/views/SettingsView.tsx:461
FunctionsearchThemes
(query: string, isDark: boolean)
src/lib/terminalThemes.ts:17
FunctionshareLogs
()
src/views/LogsView.tsx:115
Functionstart
()
src/views/ToolsView.tsx:228
Functionstart
(run: (signal: AbortSignal) => Promise<void>)
src/app/hooks.ts:193
Functionsubscribe
(listener: () => void)
src/app/errorStore.ts:14
Functiontoggle
()
src/components/ui.tsx:354
Functiontoggle
()
src/views/UsbipView.tsx:268
FunctiontoggleExpand
()
src/views/GroupsView.tsx:48
FunctiontogglePause
()
src/views/LogsView.tsx:63
Methodupdate
(updater: (data: T) => T)
src/api/stream.ts:15
FunctionupdateAccent
(next: AccentPreference)
src/App.tsx:191
FunctionupdateCardsConfig
(next: DashboardCardsConfig)
src/views/OverviewView.tsx:38
← previousnext →301–400 of 401, ranked by callers