MCPcopy Index your code
hub / github.com/callumalpass/tasknotes / getRecurrenceTooltip

Function getRecurrenceTooltip

src/ui/taskCardHelpers.ts:66–75  ·  view source on GitHub ↗
(
	plugin: TaskNotesPlugin,
	recurrence: string,
	propertyLabels?: Record<string, string>
)

Source from the content-addressed store, hash-verified

64}
65
66export function getRecurrenceTooltip(
67 plugin: TaskNotesPlugin,
68 recurrence: string,
69 propertyLabels?: Record<string, string>
70): string {
71 return tTaskCard(plugin, "recurrenceTooltip", {
72 label: getTaskCardPropertyLabel("recurrence", plugin, propertyLabels),
73 value: getRecurrenceDisplayText(recurrence),
74 });
75}
76
77export function getReminderTooltip(plugin: TaskNotesPlugin, count: number): string {
78 return count === 1

Calls 3

getRecurrenceDisplayTextFunction · 0.90
getTaskCardPropertyLabelFunction · 0.85
tTaskCardFunction · 0.70

Tested by

no test coverage detected