Avancement documentation — Taches a faire par scope¶
Vue de suivi des taches ouvertes, regroupees par scope documentaire.
Resume rapide¶
const pages = dv.pages('"actions/taches"').where(p => p.type === "tache");
const ouvertes = pages.where(p => p.statut !== "termine");
const total = pages.length;
const done = pages.where(p => p.statut === "termine").length;
const pct = total ? Math.round((done / total) * 100) : 0;
dv.paragraph(`**Total taches** : ${total} | **Ouvertes** : ${ouvertes.length} | **Completees** : ${done} | **Progression** : ${pct}%`);