MCPcopy Create free account

hub / github.com/ZenNotes/zennotes / functions

Functions3,508 in github.com/ZenNotes/zennotes

↓ 4 callersFunctionserializeCsv
(rows: string[][])
packages/shared-domain/src/database-csv.ts:92
↓ 4 callersFunctionsessionStatusPayload
(authenticated bool, cfg config.Config)
apps/server/internal/httpserver/security.go:392
↓ 4 callersFunctionsetPaneMode
(mode: 'edit' | 'split' | 'preview')
packages/app-core/src/components/Editor.tsx:794
↓ 4 callersFunctionsetWindowZoom
( win: BrowserWindow | null | undefined, factor: number )
apps/desktop/src/main/index.ts:790
↓ 4 callersFunctionshouldDeferEditorHydration
( showEditor: boolean, mode: string, bodyLength: number, threshold: number )
packages/app-core/src/lib/editor-hydration.ts:6
↓ 4 callersFunctionshouldProgressivelyRenderEntries
(entries: TreeRenderEntry[])
packages/app-core/src/components/Sidebar.tsx:3458
↓ 4 callersFunctionslugifyTemplateName
(name: string)
packages/shared-domain/src/template-files.ts:59
↓ 4 callersFunctionsortByFileOrder
Order tasks by their note's line order — grouped by note (path), then by * task index within the note. The note's markdown is the single source of
packages/app-core/src/lib/tasks-filter.ts:68
↓ 4 callersFunctionsplitFolderPath
(spec: string)
apps/desktop/src/cli/commands/folders.ts:24
↓ 4 callersFunctionsplitRow
Split one `| a | b |` row into trimmed, unescaped cell strings. Honors * `\|` (escaped pipe) and `\\` so cells can contain literal pipes.
packages/app-core/src/lib/markdown-table.ts:73
↓ 4 callersFunctionstatusChipClass
(tone: 'ok' | 'warn' | 'off')
packages/app-core/src/components/SettingsModal.tsx:5600
↓ 4 callersFunctionstepDiagramZoom
(current: number, direction: 1 | -1)
packages/app-core/src/lib/diagram-pan-zoom.ts:21
↓ 4 callersFunctionstepVisible
Move the cursor over the visible list, skipping separators and * disabled rows. Wraps at both ends.
packages/app-core/src/components/ContextMenu.tsx:263
↓ 4 callersFunctionstripCodeContent
stripCodeContent blanks fenced and inline code so the tag/link/excerpt scanners never read code as content. Fence detection is line-based and indentat
apps/server/internal/vault/parse.go:43
↓ 4 callersFunctiontakeTaskLineAtIndex
( markdown: string, taskIndex: number )
packages/shared-domain/src/tasklists.ts:242
↓ 4 callersFunctiontasks
(body: string)
apps/desktop/src/main/tasks-domain.test.ts:17
↓ 4 callersFunctiontasksDueOn
(tasks: VaultTask[], iso: string)
packages/shared-domain/src/tasks.ts:361
↓ 4 callersFunctiontoggleCodeBlockFold
(button: HTMLButtonElement)
packages/app-core/src/lib/code-block-copy.ts:62
↓ 4 callersFunctiontomlValue
Render a single TOML value (basic string / int / float / bool).
apps/desktop/src/main/app-config.ts:362
↓ 4 callersFunctiontreeRenderEntryPath
(entry: TreeRenderEntry)
packages/app-core/src/components/Sidebar.tsx:3465
↓ 4 callersFunctiontriggerSnippet
(state: EditorState, key: string)
packages/app-core/src/lib/cm-markdown-snippets.test.ts:34
↓ 4 callersFunctiontruncate
(value: string, max: number)
apps/desktop/src/cli/format.ts:27
↓ 4 callersFunctionuniqueTitle
(dir: string, base: string)
apps/desktop/src/mcp/vault-ops.ts:578
↓ 4 callersFunctionupdateState
(phase: AppUpdateState['phase'], overrides: Partial<AppUpdateState> = {})
packages/app-core/src/lib/app-update-state.test.ts:9
↓ 4 callersFunctionusePanelResize
( width: number, setWidth: (px: number) => void )
packages/app-core/src/lib/use-panel-resize.ts:9
↓ 4 callersFunctionvaultInfo
(root: string)
apps/desktop/src/main/vault.ts:1430
↓ 4 callersFunctionvimEnabled
True when the editor is in Vim mode — gates the table's modal (normal / * insert) keyboard navigation. With Vim off, cells stay plain contenteditabl
packages/app-core/src/lib/cm-table.ts:53
↓ 4 callersFunctionwalk
( folder: NoteFolder, dirAbs: string, topAbs: string, isPrimaryRoot: boolean )
apps/desktop/src/mcp/vault-ops.ts:449
↓ 4 callersFunctionwheel
(viewport: HTMLElement, init: WheelEventInit)
packages/app-core/src/lib/inline-diagram-pan-zoom.test.ts:38
↓ 4 callersFunctionwithGoEnv
(extraEnv = {})
tooling/scripts/go-env.mjs:5
↓ 4 callersFunctionwrapLink
(view: EditorView)
packages/app-core/src/lib/cm-format.ts:144
↓ 4 callersMethodwriteNoteComments
(relPath: string, comments: NoteCommentInput[])
packages/bridge-contract/src/bridge.ts:146
↓ 4 callersFunctionyamlScalar
(value: string)
packages/shared-domain/src/template-files.ts:129
↓ 3 callersMethodCreateExcalidraw
CreateExcalidraw writes a new empty `.excalidraw` drawing under folder/subpath and returns its meta. Mirrors CreateNote but seeds an empty Excalidraw
apps/server/internal/vault/vault.go:1433
↓ 3 callersFunctionDisabled
Disabled returns a watcher that does no filesystem watching. It still supports Subscribe/Close so the rest of the server can treat it like a real watc
apps/server/internal/watcher/watcher.go:88
↓ 3 callersMethodEnsureLayout
EnsureLayout creates the four top-level folders and seeds a welcome note if the vault is empty. Matches src/main/vault.ts ensureVaultLayout.
apps/server/internal/vault/vault.go:625
↓ 3 callersMethodListAssets
ListAssets walks the attachments directory.
apps/server/internal/vault/vault.go:972
↓ 3 callersMethodListFolders
ListFolders enumerates every non-root subdirectory under each top-level folder.
apps/server/internal/vault/vault.go:905
↓ 3 callersMethodRouter
()
apps/server/internal/httpserver/server.go:114
↓ 3 callersFunctionaddPath
(path: string | null | undefined)
packages/app-core/src/lib/sidebar-progressive.ts:44
↓ 3 callersFunctionaddRow
(doc: DatabaseDoc)
packages/app-core/src/lib/database-cells.ts:83
↓ 3 callersFunctionaddTabToLeaf
(l: PaneLeaf, path: string)
packages/app-core/src/store.ts:2968
↓ 3 callersFunctionalertEditorError
* Report an ex-command error as a non-blocking, in-editor notification — the * same red bottom-of-editor message codemirror-vim uses for its own erro
packages/app-core/src/components/Editor.tsx:302
↓ 3 callersFunctionalignItem
( label: string, align: ColumnAlign, col: number, model: MarkdownTable, apply: TableMenuRequest['app
packages/app-core/src/lib/cm-table-menu.ts:231
↓ 3 callersFunctionapply
(next: string)
packages/app-core/src/components/SettingsModal.tsx:4106
↓ 3 callersFunctionapplyHighlight
(view: EditorView, action: HighlightColorId | 'remove')
packages/app-core/src/lib/cm-highlight.ts:76
↓ 3 callersFunctionapplyLightExportTheme
The clean default: a light theme on a white page, best for printing.
apps/desktop/src/renderer/export-window.tsx:111
↓ 3 callersFunctionapplyManagedStyle
* Create/update/remove a managed `<style>` by id. Empty `css` removes it. * Returns the element (or null when removed / no DOM).
packages/app-core/src/lib/custom-themes.ts:32
↓ 3 callersFunctionapplyTable
(doc: string)
packages/app-core/src/lib/cm-slash-commands.test.ts:108
↓ 3 callersFunctionassertTrustedIpcEvent
(event: IpcMainEvent | IpcMainInvokeEvent)
apps/desktop/src/main/index.ts:762
↓ 3 callersFunctionassetUrl
(vaultRoot: string | null, assetPath: string)
packages/app-core/src/components/NoteList.tsx:1050
↓ 3 callersFunctionbaseDoc
()
packages/app-core/src/store-database-sync.test.ts:12
↓ 3 callersFunctionboundedIndexCount
(renderedCount: number, totalCount?: number | null)
packages/app-core/src/lib/index-navigation.ts:1
↓ 3 callersFunctioncandidateDirs
* Candidate install directories in priority order. The "user-friendly" * dirs come first so we never reach for sudo when something nearby * already
apps/desktop/src/main/cli-install.ts:99
↓ 3 callersFunctioncheckForAppUpdates
()
apps/desktop/src/main/updater.ts:249
↓ 3 callersFunctionclamp
(value: number, min: number, max: number)
packages/app-core/src/components/HintOverlay.tsx:61
↓ 3 callersFunctionclamp
(value: number, min: number, max: number)
apps/desktop/src/main/index.ts:768
↓ 3 callersFunctionclampChannel
(n: number)
packages/shared-domain/src/custom-themes.ts:88
↓ 3 callersFunctionclassifyImportedAsset
(filename: string)
apps/desktop/src/main/vault.ts:2843
↓ 3 callersFunctionclearEditorPendingVimStatus
(view: EditorView | null)
packages/app-core/src/lib/vim-nav.ts:118
↓ 3 callersFunctionclearSelection
()
packages/app-core/src/components/Sidebar.tsx:1468
↓ 3 callersMethodcliGetStatus
()
packages/bridge-contract/src/bridge.ts:240
↓ 3 callersFunctionclickCommentAction
(el: HTMLElement | undefined, action: string)
packages/app-core/src/components/VimNav.tsx:1834
↓ 3 callersFunctionclientConfigPath
(descriptor: McpClientDescriptor)
apps/desktop/src/main/mcp-integrations.ts:94
↓ 3 callersFunctioncmdVaultList
(_vault: string, args: ParsedArgs)
apps/desktop/src/cli/commands/vault.ts:48
↓ 3 callersFunctioncolumnOrderKey
(groupBy: KanbanGroupBy, columnId: string)
packages/app-core/src/components/TasksKanban.tsx:234
↓ 3 callersFunctioncommitTable
* Re-serialize `table` and write it over whichever Table node currently sits * under the widget's DOM. Resolving the range live (via posAtDOM) keeps
packages/app-core/src/lib/cm-table.ts:104
↓ 3 callersFunctioncomplete
(doc: string, source: Source = templateSlashCommandSource)
packages/app-core/src/lib/cm-slash-commands.test.ts:20
↓ 3 callersFunctioncomposePageBody
(doc: DatabaseDoc, row: DbRow, body: string)
packages/app-core/src/lib/database-cells.ts:62
↓ 3 callersFunctionconfigFilePath
()
apps/server/internal/config/config.go:57
↓ 3 callersFunctioncopyCodeBlockToClipboard
(button: HTMLButtonElement)
packages/app-core/src/lib/code-block-copy.ts:53
↓ 3 callersFunctioncopyToClipboard
(text: string)
packages/app-core/src/components/SettingsModal.tsx:4960
↓ 3 callersFunctioncreateCustomTheme
(input: { name?: string })
apps/desktop/src/main/custom-themes.ts:321
↓ 3 callersFunctioncreateFolder
( root: string, topFolder: NoteFolder, subpath: string )
apps/desktop/src/main/vault.ts:3358
↓ 3 callersFunctioncreateNote
( root: string, folder: NoteFolder, title?: string, subpath = '' )
apps/desktop/src/main/vault.ts:2997
↓ 3 callersFunctioncurrentIndex
()
packages/app-core/src/components/EditorSelectionToolbar.tsx:119
↓ 3 callersFunctioncursorState
The data-sidebar-idx of the currently vim-highlighted sidebar row (or null).
tooling/scripts/sidebar-vim-smoke.mjs:158
↓ 3 callersFunctioncustom
(name: string, category: NoteTemplate['category'])
packages/app-core/src/lib/template-files.test.ts:97
↓ 3 callersFunctiondatabaseTitleFromTab
(path: string | null | undefined)
packages/shared-domain/src/databases.ts:251
↓ 3 callersFunctiondbPersistSidecar
(csvPath: string, sidecar: DatabaseSidecar)
apps/web/src/bridge/http-bridge.ts:741
↓ 3 callersFunctiondecodeLocalAssetRequestPath
(url: string)
apps/desktop/src/main/index.ts:595
↓ 3 callersFunctiondefaultTitle
()
apps/server/internal/vault/vault.go:2184
↓ 3 callersFunctiondeleteColumn
(table: MarkdownTable, index: number)
packages/app-core/src/lib/markdown-table.ts:332
↓ 3 callersFunctiondeleteRow
(doc: DatabaseDoc, rowId: string)
packages/app-core/src/lib/database-cells.ts:92
↓ 3 callersMethoddetachLocalWindow
(windowId: number, root: string)
apps/desktop/src/main/window-vaults.ts:150
↓ 3 callersFunctiondiagramTabPath
(kind: DiagramTabKind, source: string)
packages/app-core/src/lib/diagram-tabs.ts:29
↓ 3 callersFunctiondiagramTitleFromTabPath
(path: string | null | undefined)
packages/app-core/src/lib/diagram-tabs.ts:50
↓ 3 callersFunctiondiagramZoomLabel
(zoom: number)
packages/app-core/src/lib/diagram-pan-zoom.ts:66
↓ 3 callersFunctiondispatchKeyboardContextMenu
(el: HTMLElement)
packages/app-core/src/lib/keyboard-context-menu.ts:8
↓ 3 callersFunctiondispatchOpenNoteRequest
(win: BrowserWindow, relPath: string)
apps/desktop/src/main/index.ts:309
↓ 3 callersFunctiondrag
(view: EditorView, from: number, to: number)
packages/app-core/src/lib/cm-table.test.ts:323
↓ 3 callersMethodduplicateAsset
(relPath: string)
packages/bridge-contract/src/bridge.ts:183
↓ 3 callersMethodeffectiveBrowseRoots
()
apps/server/internal/httpserver/browse_roots.go:45
↓ 3 callersMethodeffectiveScheme
effectiveScheme returns "https" if the request is genuinely on TLS or arrived through a trusted proxy that declares X-Forwarded-Proto: https. Untruste
apps/server/internal/httpserver/security.go:244
↓ 3 callersFunctionemptyExcalidrawDocument
()
packages/shared-domain/src/excalidraw.ts:32
↓ 3 callersFunctionendRow
()
packages/shared-domain/src/database-csv.ts:39
↓ 3 callersFunctionenhanceLocalAssetNodes
( root: HTMLElement, options: { vaultRoot: string | null | undefined notePath: string | null | und
packages/app-core/src/lib/local-assets.ts:353
↓ 3 callersFunctionensureFolder
(subpath: string)
packages/app-core/src/components/Sidebar.tsx:3796
↓ 3 callersFunctionensureLayerOrder
Keep the managed layers in cascade order at the end of <head>: active theme → * overrides → tweaks. Re-appending in this order (regardless of when e
packages/app-core/src/lib/custom-themes.ts:52
↓ 3 callersFunctionescapeCell
(text: string)
packages/app-core/src/lib/markdown-table.ts:113
← previousnext →801–900 of 3,508, ranked by callers