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

Function taskTail

packages/app-core/src/components/TasksCalendar.tsx:72–75  ·  view source on GitHub ↗

Text after the checkbox (content + any tokens) — prefill for inline edit.

(task: VaultTask)

Source from the content-addressed store, hash-verified

70
71/** Text after the checkbox (content + any tokens) — prefill for inline edit. */
72function taskTail(task: VaultTask): string {
73 const m = task.rawText.match(TASK_PREFIX_RE)
74 return m ? task.rawText.slice(m[0].length) : task.content
75}
76
77function buildMonthGrid(anchor: Date, firstDay: number): Date[] {
78 const first = firstOfMonth(anchor)

Callers 3

openTaskMenuFunction · 0.70
renderTaskFunction · 0.70
handlerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected