MCPcopy Create free account
hub / github.com/callumalpass/tasknotes / getTaskContextInfo

Method getTaskContextInfo

src/modals/ReminderModal.ts:153–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 }
152
153 private getTaskContextInfo(): string | null {
154 const parts: string[] = [];
155
156 if (this.task.due) {
157 parts.push(`Due: ${formatDateForDisplay(this.task.due)}`);
158 }
159
160 if (this.task.scheduled) {
161 parts.push(`Scheduled: ${formatDateForDisplay(this.task.scheduled)}`);
162 }
163
164 return parts.length > 0 ? parts.join(" • ") : null;
165 }
166
167 private setupKeyboardHandlers(): void {
168 const handleKeydown = (e: KeyboardEvent) => {

Callers 1

Calls 1

formatDateForDisplayFunction · 0.90

Tested by

no test coverage detected