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

Method getCardOptions

src/bases/TaskListView.ts:2215–2226  ·  view source on GitHub ↗
(targetDate: Date)

Source from the content-addressed store, hash-verified

2213 }
2214
2215 private getCardOptions(targetDate: Date): TaskCardOptions {
2216 return this.buildTaskCardOptions({
2217 targetDate,
2218 expandedRelationshipFilterMode: this.expandedRelationshipFilterMode,
2219 resolveExpandedRelationshipFilterMode: (): "inherit" | "show-all" =>
2220 normalizeExpandedRelationshipFilterMode(
2221 this.config?.get("expandedRelationshipFilterMode")
2222 ),
2223 expandedRelationshipTaskPaths: this.expandedRelationshipTaskPaths,
2224 expandedRelationshipTaskOrder: this.expandedRelationshipTaskOrder,
2225 });
2226 }
2227
2228 private getTopLevelRenderTasks(tasks: readonly TaskInfo[]): TaskInfo[] {
2229 return this.hideTopLevelSubtasks ? this.filterTopLevelSubtasks(tasks) : [...tasks];

Callers 4

renderFlatMethod · 0.95
renderGroupedMethod · 0.95
handleTaskUpdateMethod · 0.95

Calls 2

getMethod · 0.65

Tested by

no test coverage detected