Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/churichard/notabase
/ functions
Functions
359 in github.com/churichard/notabase
⨍
Functions
359
◇
Types & classes
33
↓ 80 callers
Method
getEditor
* Gets the Slate editor element. * @example cy.getEditor()
cypress/support/commands.d.ts:61
↓ 37 callers
Function
createNodeId
()
editor/plugins/withNodeId.ts:34
↓ 19 callers
Method
targetPage
* Target a page to test elements within it * @example cy.targetPage('title')
cypress/support/commands.d.ts:13
↓ 14 callers
Function
isListType
( type: ElementType )
editor/formatting.ts:21
↓ 14 callers
Function
useAuth
()
utils/useAuth.tsx:103
↓ 13 callers
Method
getSidebarNoteLink
* Gets a note in the sidebar by its title * @example cy.getSidebarNoteLink('title')
cypress/support/commands.d.ts:49
↓ 13 callers
Function
isElementActive
( editor: Editor, format: ElementType, path?: Path )
editor/formatting.ts:45
↓ 13 callers
Method
visitNote
* Visits the particular note page given by the noteId param. * @param noteId id of the note to navigate to
cypress/support/commands.d.ts:90
↓ 11 callers
Function
createSetter
(set, key)
lib/store.ts:56
↓ 10 callers
Function
toggleElement
( editor: Editor, format: ElementType, path?: Path )
editor/formatting.ts:59
↓ 9 callers
Method
setSelection
* Sets the selection. * @param query Beginning text * @param endQuery End text
cypress/support/commands.d.ts:74
↓ 9 callers
Function
useCurrentNote
()
utils/useCurrentNote.tsx:20
↓ 8 callers
Function
caseInsensitiveStringEqual
(str1: string, str2: string)
utils/string.ts:8
↓ 8 callers
Function
isMobile
()
utils/device.ts:3
↓ 8 callers
Function
retainWhitespaceAndFormat
(string: string, format: string)
editor/serialization/serialize.ts:218
↓ 7 callers
Method
getLinkedReference
* Get linked reference based on its note title * @example cy.getLinkedReference('title')
cypress/support/commands.d.ts:31
↓ 7 callers
Method
getNoteLinkElement
* Get note link element in the editor * @example cy.clickNoteLinkElement('title')
cypress/support/commands.d.ts:37
↓ 7 callers
Function
toggleMark
(editor: Editor, format: Mark)
editor/formatting.ts:35
↓ 7 callers
Function
useDebounce
( value: T, delay: number )
utils/useDebounce.ts:3
↓ 6 callers
Function
deleteText
( editor: Editor, path: Path, offset: number, length: number )
editor/transforms.ts:4
↓ 6 callers
Function
getNumOfMatches
(backlinks: Backlink[])
components/editor/backlinks/Backlinks.tsx:40
↓ 6 callers
Method
getNumberOfLinkedReferences
* Get the number of linked references to a page * @example cy.getNumberOfLinkedReferences('pageTitle')
cypress/support/commands.d.ts:25
↓ 6 callers
Function
isReferenceableBlockElement
( element: Element )
editor/checks.ts:5
↓ 6 callers
Function
isUrl
(str: string)
utils/url.ts:2
↓ 6 callers
Function
renderAppLayout
()
__tests__/components/AppLayout.test.tsx:12
↓ 6 callers
Method
setup
* Signs in and seeds the database with notes, then navigates to /app. * @example cy.setup();
cypress/support/commands.d.ts:7
↓ 6 callers
Function
updateNote
(note: NoteUpdate)
lib/api/updateNote.ts:11
↓ 6 callers
Function
useFeature
(feature: Feature)
utils/useFeature.ts:5
↓ 6 callers
Function
useHotkeys
( hotkeys: { hotkey: string; callback: () => void }[] )
utils/useHotkeys.ts:4
↓ 5 callers
Function
caseInsensitiveStringCompare
(str1: string, str2: string)
utils/string.ts:1
↓ 5 callers
Function
deleteMarkup
( editor: Editor, point: Point, lengths: MarkupLengthsWithTextToInsert )
editor/plugins/withAutoMarkdown/handleInlineShortcuts.ts:199
↓ 5 callers
Function
getTextNode
(el, match)
cypress/support/selection.js:109
↓ 5 callers
Method
getToastByContent
* * Selects a Toastify element by its content * @example cy.getToastByContent('content')
cypress/support/commands.d.ts:55
↓ 5 callers
Function
useNoteSearch
({ numOfResults = -1, searchContent = false, extendedSearch = false, }: NoteSearchOptions = {})
utils/useNoteSearch.ts:23
↓ 5 callers
Function
useOnNoteLinkClick
(currentNoteId: string)
editor/useOnNoteLinkClick.ts:7
↓ 5 callers
Function
withLinks
(editor: Editor)
editor/plugins/withLinks.ts:6
↓ 5 callers
Function
withTags
(editor: Editor)
editor/plugins/withTags.ts:4
↓ 5 callers
Function
withVoidElements
(editor: Editor)
editor/plugins/withVoidElements.ts:12
↓ 4 callers
Function
dateCompare
(d1: string, d2: string)
utils/date.ts:1
↓ 4 callers
Function
getActiveOrTempEditor
(noteId: string, content: Descendant[])
lib/activeEditorsStore.ts:38
↓ 4 callers
Function
getCurrentLocation
()
editor/formatting.ts:68
↓ 4 callers
Function
getDefaultEditorValue
()
editor/constants.ts:5
↓ 4 callers
Function
insertExternalLink
( editor: Editor, url: string, text?: string )
editor/formatting.ts:205
↓ 4 callers
Function
isNodeDatum
( datum: string | number | NodeDatum )
components/ForceGraph.tsx:347
↓ 4 callers
Function
mockSubscription
(data: Partial<Subscription>)
__tests__/components/AppLayout.test.tsx:53
↓ 4 callers
Method
paste
* Custom command to paste text. * @example cy.paste('value')
cypress/support/commands.d.ts:67
↓ 4 callers
Function
persistLeafFormats
(children: Array<MdastNode>)
editor/serialization/deserialize.ts:180
↓ 4 callers
Function
queryParamToArray
( queryParam: string | string[] | undefined )
utils/url.ts:14
↓ 4 callers
Function
renderNoteHeader
(currentNoteId = '1')
__tests__/components/NoteHeader.test.tsx:11
↓ 4 callers
Function
upsertNote
(note: NoteUpsert)
lib/api/upsertNote.ts:11
↓ 3 callers
Function
computeBlockReference
( notes: Notes, blockId: string )
editor/backlinks/useBlockReference.ts:55
↓ 3 callers
Function
computeLinkedBacklinks
( notes: Notes, noteId: string )
editor/backlinks/useBacklinks.ts:61
↓ 3 callers
Function
createNotabaseEditor
()
editor/createEditor.ts:16
↓ 3 callers
Function
forceLeafNode
(children: Array<{ text?: string }>)
editor/serialization/deserialize.ts:173
↓ 3 callers
Function
getNode
( simulation: Simulation<NodeDatum, LinkDatum>, canvas: HTMLCanvasElement, canvasX: number, canvasY: n
components/ForceGraph.tsx:361
↓ 3 callers
Function
getPlanIdByProductId
(productId: string | null)
constants/pricing.ts:124
↓ 3 callers
Function
getReadableDate
(date: Date)
components/settings/Billing.tsx:237
↓ 3 callers
Function
insertNoteLink
( editor: Editor, noteId: string, noteTitle: string )
editor/formatting.ts:225
↓ 3 callers
Function
insertTreeItem
( tree: NoteTreeItem[], item: NoteTreeItem, targetId: string | null )
lib/storeUtils.ts:29
↓ 3 callers
Function
isLeafNode
(node: BlockType | LeafType)
editor/serialization/serialize.ts:48
↓ 3 callers
Function
isTextType
( type: ElementType )
editor/checks.ts:23
↓ 2 callers
Function
computeBlockBacklinks
(notes: Notes)
editor/backlinks/useBlockBacklinks.ts:28
↓ 2 callers
Function
deleteBlockBacklinks
(editor: Editor, blockId: string)
editor/backlinks/deleteBlockBacklinks.ts:11
↓ 2 callers
Function
deleteNote
(userId: string, noteId: string)
lib/api/deleteNote.ts:4
↓ 2 callers
Function
deleteTreeItem
( tree: NoteTreeItem[], id: string )
lib/storeUtils.ts:6
↓ 2 callers
Function
getBlockReferenceFromNote
(blockId: string, note: Note)
editor/backlinks/useBlockReference.ts:68
↓ 2 callers
Function
getDOMRange
()
components/editor/EditorPopover.tsx:52
↓ 2 callers
Function
getEndFormat
(format: string)
editor/serialization/serialize.ts:244
↓ 2 callers
Function
getFrequencyByPriceId
(priceId: string)
constants/pricing.ts:133
↓ 2 callers
Function
getHighlightedPath
( url: string )
utils/getHighlightedPath.ts:8
↓ 2 callers
Function
getMousePos
(canvas: HTMLCanvasElement, event: MouseEvent)
components/ForceGraph.tsx:353
↓ 2 callers
Function
getNoteAsBlob
(note: Note)
components/editor/NoteHeaderOptionsMenu.tsx:136
↓ 2 callers
Method
getNoteTitle
* Get the editable title of a note on its note page * @example cy.getNoteTitle('title')
cypress/support/commands.d.ts:43
↓ 2 callers
Method
getNumberOfNotesWithLinkedReferences
* Gets elements for each note in the linked references section * @example cy.getNumberOfNotesWithLinkedReferences()
cypress/support/commands.d.ts:19
↓ 2 callers
Function
getOrCreateNoteId
(noteTitle: string)
editor/plugins/withAutoMarkdown/handleInlineShortcuts.ts:128
↓ 2 callers
Function
getReadableDatetime
(dateStr: string)
components/NoteMetadata.tsx:17
↓ 2 callers
Function
getResult
()
components/Note.tsx:204
↓ 2 callers
Function
handleAutoMarkdown
(editor: Editor, text: string)
editor/plugins/withAutoMarkdown/index.ts:28
↓ 2 callers
Function
insertBlockReference
( editor: Editor, blockId: string, onOwnLine: boolean )
editor/formatting.ts:274
↓ 2 callers
Function
insertImage
(editor: Editor, url: string, path?: Path)
editor/formatting.ts:257
↓ 2 callers
Function
isCheckListItem
(node: MdastNode)
editor/serialization/normalize.ts:74
↓ 2 callers
Function
isDuplicateId
(nodeId: string)
editor/plugins/withNodeId.ts:51
↓ 2 callers
Function
isMarkActive
(editor: Editor, format: Mark)
editor/formatting.ts:27
↓ 2 callers
Function
isPartialElement
(node: any)
editor/plugins/withNodeId.ts:75
↓ 2 callers
Function
isVoid
(element: Element)
editor/plugins/withVoidElements.ts:22
↓ 2 callers
Function
setBaseAndExtent
(...args)
cypress/support/selection.js:123
↓ 2 callers
Function
signOut
()
utils/useAuth.tsx:44
↓ 2 callers
Function
toggleNoteTreeItemCollapsed
( tree: NoteTreeItem[], id: string )
lib/storeUtils.ts:57
↓ 2 callers
Function
unwrapLink
(editor: Editor)
editor/formatting.ts:172
↓ 2 callers
Function
uploadAndInsertImage
( editor: Editor, file: File, path?: Path )
editor/plugins/withImages.ts:50
↓ 2 callers
Function
useDeleteNote
(noteId: string)
utils/useDeleteNote.ts:8
↓ 2 callers
Function
useHighlightedPath
( editor: Editor, highlightedPath: Path | undefined, darkMode: boolean )
editor/useHighlightedPath.ts:6
↓ 2 callers
Function
useImport
()
utils/useImport.ts:20
↓ 2 callers
Function
useOnClickOutside
( element: Element | null, handler?: () => void )
utils/useOnClickOutside.ts:3
↓ 2 callers
Function
useOnClosePane
()
utils/useOnClosePane.ts:7
↓ 2 callers
Function
usePrevious
(value: T)
utils/usePrevious.ts:3
↓ 2 callers
Function
withVerticalSpacing
( EditorElement: ComponentType<EditorElementProps> )
components/editor/elements/withVerticalSpacing.tsx:6
↓ 2 callers
Function
wrapLink
(editor: Editor, link: ExternalLink | NoteLink)
editor/formatting.ts:182
↓ 1 callers
Function
computeLinkedMatches
(nodes: Descendant[], noteId: string)
editor/backlinks/useBacklinks.ts:111
↓ 1 callers
Function
computeUnlinkedBacklinks
( notes: Notes, noteTitle: string | undefined )
editor/backlinks/useBacklinks.ts:84
next →
1–100 of 359, ranked by callers