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

Method updateProjectStats

src/views/StatsView.ts:525–532  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

523 }
524
525 private async updateProjectStats() {
526 if (!this.projectsStatsEl) return;
527
528 const allTasks = await this.getAllTasks();
529 const projectStats = this.calculateProjectStats(allTasks);
530
531 await this.renderProjectStats(this.projectsStatsEl, projectStats);
532 }
533
534 /**
535 * Consolidate project names that point to the same file.

Callers 1

refreshStatsMethod · 0.95

Calls 3

getAllTasksMethod · 0.95
calculateProjectStatsMethod · 0.95
renderProjectStatsMethod · 0.95

Tested by

no test coverage detected