MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / getCommentItems

Function getCommentItems

packages/app-core/src/components/VimNav.tsx:1799–1801  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1797 }
1798
1799 function getCommentItems(): HTMLElement[] {
1800 return getIndexedElements('[data-comments-idx]', 'commentsIdx')
1801 }
1802
1803 function findCommentPosition(items: HTMLElement[], activeCommentId: string | null): number {
1804 if (items.length === 0) return 0

Callers 2

handleCommentsKeyFunction · 0.85
focusCommentsPanelFunction · 0.85

Calls 1

getIndexedElementsFunction · 0.85

Tested by

no test coverage detected