From c9f97922270d67960a749f7ac12576d792c62198 Mon Sep 17 00:00:00 2001 From: Etienne Delvarre Date: Thu, 23 Jul 2026 15:39:38 +0200 Subject: [PATCH] =?UTF-8?q?Tags=20=C3=A9pingl=C3=A9s=20:=20pipeline=20+=20?= =?UTF-8?q?r=C3=A9daction=20toujours=20disponibles=20dans=20la=20liste?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/app.js b/public/app.js index 7b7952f..79903a4 100644 --- a/public/app.js +++ b/public/app.js @@ -597,8 +597,10 @@ function getModalTags() { return [...document.querySelectorAll('#f-tags .tag-chip')].map(c => c.dataset.tag); } +const PINNED_TAGS = ['À revoir', 'À garder', 'À étudier', 'À rédiger', 'À compléter']; + function collectExistingTags() { - const tagSet = new Set(); + const tagSet = new Set(PINNED_TAGS); records.forEach(r => { if (r.Tags) r.Tags.split(',').forEach(t => { const trimmed = t.trim(); if (trimmed) tagSet.add(trimmed); }); });