Aller au contenu

Tableau de bord — Taches documentaires BMAD

Vue dynamique alimentee par les fichiers-taches dans taches/. Necessite le plugin Dataview actif dans Obsidian.


Synthese

const pages = dv.pages('"actions/taches"').where(p => p.type === "tache");
const total = pages.length;
const aFaire = pages.where(p => p.statut === "a-faire").length;
const enCours = pages.where(p => p.statut === "en-cours").length;
const termine = pages.where(p => p.statut === "termine").length;
const bloque = pages.where(p => p.statut === "bloque").length;

dv.paragraph(`**Total** : ${total} | A faire : ${aFaire} | En cours : ${enCours} | Termine : ${termine} | Bloque : ${bloque}`);

if (total > 0) {
  const pct = Math.round((termine / total) * 100);
  dv.paragraph(`**Progression** : ${pct}%`);
}

const critiques = pages.where(p => p.criticite === "critique" && p.statut !== "termine");
if (critiques.length > 0) {
  dv.header(3, "Alertes critiques");
  dv.table(
    ["ID", "Tache", "Agent", "Statut"],
    critiques.map(p => [p.id, p.titre, p.agent, p.statut])
  );
}

Taches en cours


Taches a faire


Repartition par agent


Taches terminees (10 dernieres)


Taches bloquees