gestion_table_tournante_libre/src/interface/libelles/participants.js

377 lines
21 KiB
JavaScript
Raw Normal View History

// © 2026 TechnoLibre (http://www.technolibre.ca)
// SPDX-License-Identifier: AGPL-3.0-or-later OR LiLiQ-Rplus-1.1
// Les libellés de la liste des participants : en-tête, grille, formulaire,
// fiche (§ 14.6). Chaque clé commence par « participants. ».
//
// participants.entete.comptes compose la ligne de comptes de la carte
// (comptesEntete, entete.js), ses parties séparées d'un point médian, les
// présences partielles en dernier, seulement quand il y en a ;
// participants.legende.* nomme la légende des organisations et chacune de
// ses pastilles, le nom puis le compte ; participants.legendeEtiquettes.titre
// nomme la légende des étiquettes, dont chaque pastille se compose comme
// celle d'une organisation. participants.etiquettes.* porte la saisie des
// étiquettes sur la fiche : son champ, son ajout, et le retrait nommé par
// l'étiquette qu'il ôte.
//
// participants.colonne.* nomme chaque colonne de COLONNES (grille.js), dans
// l'en-tête de la grille, l'étiquette d'un champ du formulaire et celle d'une
// valeur de la fiche ; participants.statut.* nomme chaque statut calculé
// (§ 4.2), par cleDeStatut ; participants.groupe.* porte le groupement de la
// liste : le sélecteur de chaque niveau, l'en-tête d'un groupe et ses
// commandes ; participants.conflit.* les conflits du placement montré : dans
// la liste groupée, la marque d'un groupe et celle d'une personne, puis
// chaque ligne de conflit — son lieu, la liaison de deux noms, sa raison par
// règle — ; dans la colonne « Conflits du placement », le tour, le texte
// de chaque règle — court, ou qui nomme les personnes revues, ou la table
// où la personne revient —, leur réunion, le tiret d'une personne sans
// conflit ; dans la rubrique du même nom de la fiche
// (participants.fiche.conflitsPlacement.*), son titre, le « avec » qui
// précède les autres personnes d'une ligne, et les phrases sans ligne.
// participants.presence.* porte la présence par tour
// (participants/presence.js) : la cellule et l'en-tête de groupe — « tous »,
// ou les tours nommés par toursNommes —, puis les cases d'une saisie, leur
// groupe et ses commandes ; participants.fiche.presence* la rubrique de la
// fiche, et participants.fiche.absente l'étape d'un tour d'absence dans
// l'itinéraire. participants.conflits.* porte la saisie des conflits
// d'organisation (participants/liste_conflits.js) : le groupe de ses cases,
// sa légende, le groupe sans choix et sa commande ;
[ADD] participants: organisation conflicts in grid, fiche, CSV and plan The conflict list is edited in a grid column and in the fiche through one keyboard multi-select; a gesture writes one history entry. The CSV column « conflit organisation » reads ; | or a line break; an unknown name or the person's own organisation refuses the whole file with its line, while names the same file creates count. A name holding ; or | reads back whole. The column is exported only once someone has conflicts, so other files are byte-identical. Propositions show « N conflits restants »; a reservation in conflict is flagged on the plan panel, not refused. Checked: node 6380, long 140, guards 207; browser fails only on captures. --- FR --- [ADD] participants : conflits d'organisation, grille, fiche, CSV et plan La liste des conflits se saisit dans une colonne de la grille et dans la fiche par un même choix multiple au clavier ; un geste écrit une entrée d'historique. La colonne CSV « conflit organisation » lit ; | ou une fin de ligne ; un nom inconnu ou l'organisation de la personne refuse le fichier entier avec sa ligne, et les noms que le fichier crée comptent. Un nom qui porte ; ou | se relit entier. La colonne ne s'exporte que si quelqu'un a des conflits : les autres fichiers sont identiques à l'octet. Propositions dit « N conflits restants » ; une réservation en conflit est signalée sur le panneau du plan, sans refus. Vérifié : node 6380, longue 140, gardes 207 ; navigateur, seules captures. Assisted-by: Claude Opus 5.5
2026-10-21 06:30:19 -04:00
// participants.fiche.conflits* la rubrique de la fiche.
// participants.inclusions.* porte la saisie des inclusions
// (participants/liste_inclusions.js) : le groupe et la légende de chacun de
// ses deux choix multiples, le groupe sans choix, la recherche des
// personnes et la phrase quand rien n'y répond, la commande, et le libellé
// d'une personne incluse ; participants.fiche.inclusions* et
// participants.fiche.aucuneInclusion* les deux rubriques de la fiche.
// participants.fiche.logo et participants.fiche.aucunLogo portent la rubrique
// « Logo » de la fiche ; participants.logo.* ses commandes — « Logo », nommée
// par la personne, « Retirer le logo » —, sa vignette, qui agrandit, l'image
// agrandie, nommée par la personne, son « Fermer », et la phrase d'un logo
// dont l'image manque au dossier de l'événement ou ne se lit pas.
[ADD] participant card: Modifier form for name, organisation and notes The card showed a person's details but changing them meant finding the row in the grid and editing cell by cell. The card now reads name, first name, organisation, email, intended title and notes, and Modifier opens a prefilled form: Enregistrer sends one modifierParticipant with only the fields the form changed since opening, so a write from elsewhere is kept; an organisation differing from another's only by case takes the existing spelling with a signal, and conflict lists that follow are announced. Annuler, Escape or opening another person close it without writing. Checked: node 7013/7013, long 160/160, card browser mutants killed. --- FR --- [ADD] fiche du participant : formulaire Modifier de ses informations La fiche montrait les informations d'une personne, mais les changer obligeait à retrouver sa ligne dans la grille, cellule par cellule. La fiche lit nom, prénom, organisation, courriel, titre pressenti et notes, et « Modifier » ouvre un formulaire prérempli : « Enregistrer » pose un seul modifierParticipant des champs changés depuis l'ouverture, une écriture venue d'ailleurs gardée ; une organisation qui ne diffère d'une autre que par la casse prend l'orthographe existante, avec un signal, et les conflits qui suivent sont annoncés. Annuler, Échap ou une autre fiche ouverte referment sans écrire. Vérifié : node 7013/7013, longue 160/160, mutants de la fiche tués. Assisted-by: Claude Opus 5.5
2026-10-24 05:57:07 -04:00
// participants.informations.* porte le bloc des informations de la fiche
// (InformationsFiche.svelte) : « Modifier », nommée par la personne, le
[ADD] participants: reserved-animation mark in CSV, fiche and grid A person can now carry an optional « animation réservée » mark, stored only when true and ignored by the engine. The CSV reads an 11th column animation_reservee with the exclu values and rejects any other value; on update an empty cell keeps the mark. Export writes it once someone has it. The fiche shows and edits it, Défaire restores it, the grid gets a read-only Animation column, « à désigner » for an unassigned person, and the import report counts those still to designate. Import never creates a seat. Checked: node 7447/7447, long 162/162 fingerprints unchanged, browser Fiche 54, Participants 96, Import 76, Activite 26; doc 0 faults. --- FR --- [ADD] participants : marque d'animation réservée au CSV, fiche, grille Une personne peut porter une marque « animation réservée », écrite seulement vraie et que le moteur ne lit pas. Le CSV lit une 11e colonne animation_reservee aux valeurs d'exclu et refuse toute autre valeur ; en mise à jour une cellule vide garde la marque. L'export l'écrit dès qu'une personne la porte. La fiche l'affiche et la modifie, Défaire la rend, la grille gagne une colonne Animation en lecture, « à désigner » pour qui n'anime aucune table, et le rapport d'import compte ces personnes. L'import ne crée aucune place. Vérifié : node 7447/7447, long 162/162 aux empreintes inchangées, navigateur Fiche 54, Participants 96, Import 76, Activite 26 ; doc 0 faute. Assisted-by: Claude Opus 5.5
2026-10-27 02:03:39 -04:00
// formulaire, nommé de même, « Enregistrer », « Annuler », la case et la
// valeur de l'animation réservée, et l'avis de ce que les listes de
// conflits, puis celles d'inclusions d'organisation, ont suivi
// (suiviDesListes, informations.js), ses parties séparées d'un
// point-virgule. participants.animation.* porte la cellule
[ADD] participants: reserved-animation mark in CSV, fiche and grid A person can now carry an optional « animation réservée » mark, stored only when true and ignored by the engine. The CSV reads an 11th column animation_reservee with the exclu values and rejects any other value; on update an empty cell keeps the mark. Export writes it once someone has it. The fiche shows and edits it, Défaire restores it, the grid gets a read-only Animation column, « à désigner » for an unassigned person, and the import report counts those still to designate. Import never creates a seat. Checked: node 7447/7447, long 162/162 fingerprints unchanged, browser Fiche 54, Participants 96, Import 76, Activite 26; doc 0 faults. --- FR --- [ADD] participants : marque d'animation réservée au CSV, fiche, grille Une personne peut porter une marque « animation réservée », écrite seulement vraie et que le moteur ne lit pas. Le CSV lit une 11e colonne animation_reservee aux valeurs d'exclu et refuse toute autre valeur ; en mise à jour une cellule vide garde la marque. L'export l'écrit dès qu'une personne la porte. La fiche l'affiche et la modifie, Défaire la rend, la grille gagne une colonne Animation en lecture, « à désigner » pour qui n'anime aucune table, et le rapport d'import compte ces personnes. L'import ne crée aucune place. Vérifié : node 7447/7447, long 162/162 aux empreintes inchangées, navigateur Fiche 54, Participants 96, Import 76, Activite 26 ; doc 0 faute. Assisted-by: Claude Opus 5.5
2026-10-27 02:03:39 -04:00
// de la colonne « Animation » (celluleAnimation, grille.js) : les numéros
// des tables animées, ou « à désigner ».
[ADD] participant card: Modifier form for name, organisation and notes The card showed a person's details but changing them meant finding the row in the grid and editing cell by cell. The card now reads name, first name, organisation, email, intended title and notes, and Modifier opens a prefilled form: Enregistrer sends one modifierParticipant with only the fields the form changed since opening, so a write from elsewhere is kept; an organisation differing from another's only by case takes the existing spelling with a signal, and conflict lists that follow are announced. Annuler, Escape or opening another person close it without writing. Checked: node 7013/7013, long 160/160, card browser mutants killed. --- FR --- [ADD] fiche du participant : formulaire Modifier de ses informations La fiche montrait les informations d'une personne, mais les changer obligeait à retrouver sa ligne dans la grille, cellule par cellule. La fiche lit nom, prénom, organisation, courriel, titre pressenti et notes, et « Modifier » ouvre un formulaire prérempli : « Enregistrer » pose un seul modifierParticipant des champs changés depuis l'ouverture, une écriture venue d'ailleurs gardée ; une organisation qui ne diffère d'une autre que par la casse prend l'orthographe existante, avec un signal, et les conflits qui suivent sont annoncés. Annuler, Échap ou une autre fiche ouverte referment sans écrire. Vérifié : node 7013/7013, longue 160/160, mutants de la fiche tués. Assisted-by: Claude Opus 5.5
2026-10-24 05:57:07 -04:00
import { cite, enumeration, toursNommes } from '../../application/libelles/aides.js';
// Un nombre suivi de son nom, au singulier pour 0 et 1.
const compte = (n, singulier, pluriel) => `${n} ${n <= 1 ? singulier : pluriel}`;
// La portée d'une réservation : tous les tours, ou le tour désigné.
const portee = ({ portee: genre, tour }) => (genre === 'tous' ? 'tous les tours' : `tour ${tour}`);
// Les tours antérieurs d'une personne revenue, entre parenthèses : « (déjà
// au tour 1) », « (déjà aux tours 1 et 2) », « (déjà aux tours 1, 2 et
// 3) » ; rien sans tour.
function dejaAux(tours) {
if (tours.length === 0) return '';
if (tours.length === 1) return ` (déjà au tour ${tours[0]})`;
return ` (déjà aux tours ${tours.slice(0, -1).join(', ')} et ${tours.at(-1)})`;
}
// Les rencontres antérieures d'une paire revue, entre parenthèses : « (déjà
// à la table 1 au tour 1, à la table 2 au tour 3) » ; rien sans rencontre.
const dejaReunis = (deja) =>
deja.length === 0 ? '' : ` (déjà ${deja.map(({ tour, numero }) => `à la table ${numero} au tour ${tour}`).join(', ')})`;
// Le texte court de chaque règle dans la marque d'une personne en conflit
// et dans la colonne « Conflits du placement ».
const REGLES_COURTES = new Map([
[ADD] engine: organisation conflicts, a criterion ahead of the default A participant may list organisations to avoid. The link covers the whole organisation both ways, an excluded member's list included, and counts the pairs of present people seated together in a round. The search drives it to zero as the first default criterion; it is an objective, not a ban, and the quality page, plan hatching and legend show what remains. Renaming an organisation carries its references; one that disappears leaves the lists in the same history entry. With no list, plans are identical to before. Checked: node 6336, long 140, guards 207; incremental count equals a full recount after every move; search time on the large demo about +5 %. --- FR --- [ADD] moteur : conflits d'organisation, un critère en tête du défaut Un participant peut nommer des organisations à éviter. Le lien couvre toute l'organisation dans les deux sens, liste d'un membre exclu comprise, et compte les paires de présents assis ensemble à un tour. La recherche le mène à zéro en premier critère par défaut ; c'est un objectif, pas un interdit, et la page qualité, la trame du plan et la légende disent ce qui reste. Renommer une organisation porte ses références ; celle qui disparaît quitte les listes dans la même entrée d'historique. Sans liste, les plans sont identiques. Vérifié : node 6336, longue 140, gardes 207 ; le compte incrémental égale un recompte après chaque coup ; temps sur la grande démo environ +5 %. Assisted-by: Claude Opus 5.5
2026-10-21 04:27:02 -04:00
['conflitsOrganisation', "conflit d'organisation"],
['separerOrganisations', 'même organisation'],
['nouveauxVoisins', 'se revoient'],
['nouvelleTable', 'revient à une table'],
]);
export const TABLE = new Map([
// --- Les colonnes, que la grille, le formulaire et la fiche partagent ------
['participants.colonne.nom', 'Nom'],
['participants.colonne.prenom', 'Prénom'],
['participants.colonne.organisation', 'Organisation'],
[ADD] participants: organisation conflicts in grid, fiche, CSV and plan The conflict list is edited in a grid column and in the fiche through one keyboard multi-select; a gesture writes one history entry. The CSV column « conflit organisation » reads ; | or a line break; an unknown name or the person's own organisation refuses the whole file with its line, while names the same file creates count. A name holding ; or | reads back whole. The column is exported only once someone has conflicts, so other files are byte-identical. Propositions show « N conflits restants »; a reservation in conflict is flagged on the plan panel, not refused. Checked: node 6380, long 140, guards 207; browser fails only on captures. --- FR --- [ADD] participants : conflits d'organisation, grille, fiche, CSV et plan La liste des conflits se saisit dans une colonne de la grille et dans la fiche par un même choix multiple au clavier ; un geste écrit une entrée d'historique. La colonne CSV « conflit organisation » lit ; | ou une fin de ligne ; un nom inconnu ou l'organisation de la personne refuse le fichier entier avec sa ligne, et les noms que le fichier crée comptent. Un nom qui porte ; ou | se relit entier. La colonne ne s'exporte que si quelqu'un a des conflits : les autres fichiers sont identiques à l'octet. Propositions dit « N conflits restants » ; une réservation en conflit est signalée sur le panneau du plan, sans refus. Vérifié : node 6380, longue 140, gardes 207 ; navigateur, seules captures. Assisted-by: Claude Opus 5.5
2026-10-21 06:30:19 -04:00
['participants.colonne.conflits', "Conflit d'organisation"],
['participants.colonne.conflitsPlacement', 'Conflits du placement'],
['participants.colonne.inclusions', 'Inclusions'],
['participants.colonne.courriel', 'Courriel'],
['participants.colonne.titrePressenti', 'Titre pressenti'],
[ADD] participants: reserved-animation mark in CSV, fiche and grid A person can now carry an optional « animation réservée » mark, stored only when true and ignored by the engine. The CSV reads an 11th column animation_reservee with the exclu values and rejects any other value; on update an empty cell keeps the mark. Export writes it once someone has it. The fiche shows and edits it, Défaire restores it, the grid gets a read-only Animation column, « à désigner » for an unassigned person, and the import report counts those still to designate. Import never creates a seat. Checked: node 7447/7447, long 162/162 fingerprints unchanged, browser Fiche 54, Participants 96, Import 76, Activite 26; doc 0 faults. --- FR --- [ADD] participants : marque d'animation réservée au CSV, fiche, grille Une personne peut porter une marque « animation réservée », écrite seulement vraie et que le moteur ne lit pas. Le CSV lit une 11e colonne animation_reservee aux valeurs d'exclu et refuse toute autre valeur ; en mise à jour une cellule vide garde la marque. L'export l'écrit dès qu'une personne la porte. La fiche l'affiche et la modifie, Défaire la rend, la grille gagne une colonne Animation en lecture, « à désigner » pour qui n'anime aucune table, et le rapport d'import compte ces personnes. L'import ne crée aucune place. Vérifié : node 7447/7447, long 162/162 aux empreintes inchangées, navigateur Fiche 54, Participants 96, Import 76, Activite 26 ; doc 0 faute. Assisted-by: Claude Opus 5.5
2026-10-27 02:03:39 -04:00
['participants.colonne.animation', 'Animation'],
['participants.colonne.exclu', 'Exclusion'],
['participants.colonne.presence', 'Présence'],
['participants.colonne.notes', 'Notes'],
// --- L'en-tête de la carte : la ligne de comptes et la légende -----------
[
'participants.entete.comptes',
({ personnes, aPlacer, exclues, organisations, partielles }) =>
[
compte(personnes, 'personne', 'personnes'),
`${aPlacer} à placer`,
compte(exclues, 'exclue', 'exclues'),
compte(organisations, 'organisation', 'organisations'),
...(partielles > 0 ? [compte(partielles, 'présence partielle', 'présences partielles')] : []),
].join(' \u{00B7} '),
],
['participants.legende.titre', 'Organisations'],
['participants.legende.element', ({ nom, compte: n }) => `${nom} \u{00B7} ${n}`],
['participants.legendeEtiquettes.titre', 'Étiquettes'],
// --- Le formulaire d'ajout (§ 10.2) ---------------------------------------
['participants.formulaire.titre', 'Ajouter une personne'],
['participants.formulaire.ajouter', 'Ajouter'],
['participants.formulaire.orthographe', 'Cette organisation existe déjà sous l\u{2019}orthographe'],
['participants.formulaire.reprendre', 'Reprendre cette orthographe'],
// --- La grille (§ 10.2) ---------------------------------------------------
['participants.grille.titre', 'Liste des participants'],
['participants.grille.filtre', 'Filtrer'],
[
'participants.grille.compte',
({ total, affiches }) =>
affiches === total ? compte(total, 'participant', 'participants') : `${affiches} sur ${compte(total, 'participant', 'participants')}`,
],
['participants.grille.croissant', '(croissant)'],
['participants.grille.decroissant', '(décroissant)'],
['participants.grille.actions', 'Actions'],
['participants.grille.exclue', 'exclue'],
['participants.grille.presente', 'présente'],
['participants.grille.vide', 'Aucun participant. Ajoutez une personne, ou collez une liste dans la grille.'],
['participants.grille.aucunResultat', 'Aucune personne ne correspond au filtre.'],
['participants.grille.montrerInclusions', 'Montrer les inclusions'],
[ADD] participants: reserved-animation mark in CSV, fiche and grid A person can now carry an optional « animation réservée » mark, stored only when true and ignored by the engine. The CSV reads an 11th column animation_reservee with the exclu values and rejects any other value; on update an empty cell keeps the mark. Export writes it once someone has it. The fiche shows and edits it, Défaire restores it, the grid gets a read-only Animation column, « à désigner » for an unassigned person, and the import report counts those still to designate. Import never creates a seat. Checked: node 7447/7447, long 162/162 fingerprints unchanged, browser Fiche 54, Participants 96, Import 76, Activite 26; doc 0 faults. --- FR --- [ADD] participants : marque d'animation réservée au CSV, fiche, grille Une personne peut porter une marque « animation réservée », écrite seulement vraie et que le moteur ne lit pas. Le CSV lit une 11e colonne animation_reservee aux valeurs d'exclu et refuse toute autre valeur ; en mise à jour une cellule vide garde la marque. L'export l'écrit dès qu'une personne la porte. La fiche l'affiche et la modifie, Défaire la rend, la grille gagne une colonne Animation en lecture, « à désigner » pour qui n'anime aucune table, et le rapport d'import compte ces personnes. L'import ne crée aucune place. Vérifié : node 7447/7447, long 162/162 aux empreintes inchangées, navigateur Fiche 54, Participants 96, Import 76, Activite 26 ; doc 0 faute. Assisted-by: Claude Opus 5.5
2026-10-27 02:03:39 -04:00
// --- La colonne « Animation » et la marque de l'animation réservée -------
['participants.animation.tables', ({ numeros }) => numeros.join(', ')],
['participants.animation.aDesigner', 'à désigner'],
['participants.informations.animationReservee', 'Animation réservée'],
['participants.informations.animationOui', 'oui'],
['participants.informations.animationNon', 'non'],
// --- La présence par tour : cellule, groupe, cases d'une saisie ----------
['participants.presence.tous', 'tous'],
['participants.presence.tours', ({ tours }) => toursNommes(tours)],
['participants.presence.editeur', ({ nom }) => `Présence de ${nom}, une case par tour`],
['participants.presence.case', ({ tour }) => `Tour ${tour}`],
['participants.presence.caseCourte', ({ tour }) => String(tour)],
['participants.presence.tousLesTours', 'Tous les tours'],
['participants.presence.appliquer', 'Appliquer'],
[ADD] participants: organisation conflicts in grid, fiche, CSV and plan The conflict list is edited in a grid column and in the fiche through one keyboard multi-select; a gesture writes one history entry. The CSV column « conflit organisation » reads ; | or a line break; an unknown name or the person's own organisation refuses the whole file with its line, while names the same file creates count. A name holding ; or | reads back whole. The column is exported only once someone has conflicts, so other files are byte-identical. Propositions show « N conflits restants »; a reservation in conflict is flagged on the plan panel, not refused. Checked: node 6380, long 140, guards 207; browser fails only on captures. --- FR --- [ADD] participants : conflits d'organisation, grille, fiche, CSV et plan La liste des conflits se saisit dans une colonne de la grille et dans la fiche par un même choix multiple au clavier ; un geste écrit une entrée d'historique. La colonne CSV « conflit organisation » lit ; | ou une fin de ligne ; un nom inconnu ou l'organisation de la personne refuse le fichier entier avec sa ligne, et les noms que le fichier crée comptent. Un nom qui porte ; ou | se relit entier. La colonne ne s'exporte que si quelqu'un a des conflits : les autres fichiers sont identiques à l'octet. Propositions dit « N conflits restants » ; une réservation en conflit est signalée sur le panneau du plan, sans refus. Vérifié : node 6380, longue 140, gardes 207 ; navigateur, seules captures. Assisted-by: Claude Opus 5.5
2026-10-21 06:30:19 -04:00
// --- Les conflits d'organisation : le choix multiple d'une saisie --------
['participants.conflits.editeur', ({ nom }) => `Conflits d'organisation de ${nom}, une case par organisation`],
['participants.conflits.legende', 'Organisations à éviter'],
['participants.conflits.aucuneAutre', "Aucune autre organisation dans l'événement."],
['participants.conflits.appliquer', 'Appliquer'],
// --- Les inclusions : les deux choix multiples d'une saisie --------------
[
'participants.inclusions.editeurOrganisations',
({ nom }) => `Inclusions d'organisation de ${nom}, une case par organisation`,
],
['participants.inclusions.editeurParticipants', ({ nom }) => `Inclusions de participant de ${nom}, une case par personne`],
['participants.inclusions.legendeOrganisations', 'Organisations à rencontrer'],
['participants.inclusions.legendeParticipants', 'Personnes à rencontrer'],
['participants.inclusions.aucuneOrganisation', "Aucune autre organisation dans l'événement."],
['participants.inclusions.aucunParticipant', "Aucune autre personne dans l'événement."],
['participants.inclusions.recherche', 'Chercher une personne'],
['participants.inclusions.aucunResultat', ({ texte }) => `Aucune personne ne correspond à « ${texte.trim()} ».`],
['participants.inclusions.appliquer', 'Appliquer'],
// Une personne incluse : son nom, l'identifiant d'un homonyme, la marque
// d'une exclue ; un identifiant que l'événement n'a plus, seul.
[
'participants.inclusions.cible',
({ nom, id, homonyme, exclue }) => `${nom}${homonyme ? ` (n° ${id})` : ''}${exclue ? ' (exclue)' : ''}`,
],
['participants.inclusions.inconnue', ({ id }) => `n° ${id}`],
// --- La liste groupée par une colonne ou plusieurs ------------------------
['participants.groupe.grouperPar', 'Grouper par'],
['participants.groupe.puisPar', ({ niveau }) => `Puis par (niveau ${niveau})`],
['participants.groupe.aucun', 'Aucun groupement'],
['participants.groupe.aucunSousGroupe', 'Aucun sous-groupe'],
['participants.groupe.statut', 'Statut'],
['participants.groupe.vide', '(vide)'],
['participants.groupe.statutInconnu', 'statut non calculé'],
['participants.groupe.compte', ({ compte: n }) => compte(n, 'personne', 'personnes')],
['participants.groupe.replier', 'Replier'],
['participants.groupe.deplier', 'Déplier'],
['participants.groupe.toutReplier', 'Tout replier'],
['participants.groupe.toutDeplier', 'Tout déplier'],
// --- Les conflits du placement montré, dans la liste groupée (§ 7.5) -----
['participants.conflit.groupe', ({ nombre }) => `en conflit : ${compte(nombre, 'conflit', 'conflits')}`],
['participants.conflit.personne', ({ regles }) => `en conflit : ${regles.map((regle) => REGLES_COURTES.get(regle)).join(', ')}`],
['participants.conflit.lieu', ({ tour, numero }) => `Tour ${tour}, table ${numero} :`],
['participants.conflit.et', 'et'],
['participants.conflit.avec', 'avec'],
['participants.conflit.tour', ({ tour }) => `tour ${tour} :`],
...[...REGLES_COURTES].map(([regle, texte]) => [`participants.conflit.regle.${regle}`, texte]),
// Dans la colonne, « se revoient » nomme qui, « revient à une table » dit
// laquelle ; sans nom ni table, le texte court reste.
[
'participants.conflit.regle.nouveauxVoisinsAvec',
({ noms }) => (noms.length === 0 ? REGLES_COURTES.get('nouveauxVoisins') : `se revoient avec ${enumeration(noms)}`),
],
[
'participants.conflit.regle.nouvelleTableNumero',
({ tables }) => {
if (tables.length === 0) return REGLES_COURTES.get('nouvelleTable');
return tables.length === 1 ? `revient à la table ${tables[0]}` : `revient aux tables ${enumeration(tables)}`;
},
],
// Les règles d'un tour dans la colonne, séparées d'un point-virgule : une
// règle peut elle-même énumérer des noms.
['participants.conflit.reglesDuTour', ({ textes }) => textes.join(' ; ')],
['participants.conflit.aucun', '\u{2014}'],
// Un placement montré en dérive : ses conflits ne se comptent pas.
['participants.conflit.nonCompte', 'non compté'],
[ADD] engine: organisation conflicts, a criterion ahead of the default A participant may list organisations to avoid. The link covers the whole organisation both ways, an excluded member's list included, and counts the pairs of present people seated together in a round. The search drives it to zero as the first default criterion; it is an objective, not a ban, and the quality page, plan hatching and legend show what remains. Renaming an organisation carries its references; one that disappears leaves the lists in the same history entry. With no list, plans are identical to before. Checked: node 6336, long 140, guards 207; incremental count equals a full recount after every move; search time on the large demo about +5 %. --- FR --- [ADD] moteur : conflits d'organisation, un critère en tête du défaut Un participant peut nommer des organisations à éviter. Le lien couvre toute l'organisation dans les deux sens, liste d'un membre exclu comprise, et compte les paires de présents assis ensemble à un tour. La recherche le mène à zéro en premier critère par défaut ; c'est un objectif, pas un interdit, et la page qualité, la trame du plan et la légende disent ce qui reste. Renommer une organisation porte ses références ; celle qui disparaît quitte les listes dans la même entrée d'historique. Sans liste, les plans sont identiques. Vérifié : node 6336, longue 140, gardes 207 ; le compte incrémental égale un recompte après chaque coup ; temps sur la grande démo environ +5 %. Assisted-by: Claude Opus 5.5
2026-10-21 04:27:02 -04:00
['participants.conflit.raison.conflitsOrganisation', "\u{2014} conflit d'organisation"],
['participants.conflit.raison.separerOrganisations', '\u{2014} même organisation'],
[
'participants.conflit.raison.nouveauxVoisins',
({ deja }) => `\u{2014} se revoient${dejaReunis(deja)}`,
],
[
'participants.conflit.raison.nouvelleTable',
({ numero, deja }) => `\u{2014} revient à la table ${numero}${dejaAux(deja.map(({ tour }) => tour))}`,
],
// --- Les commandes de la section ------------------------------------------
['participants.commande.fiche', 'Fiche'],
['participants.commande.exclure', 'Exclure'],
['participants.commande.reintegrer', 'Réintégrer'],
['participants.commande.supprimer', 'Supprimer'],
['participants.commande.exporter', 'Exporter la liste'],
['participants.commande.fermerFiche', 'Fermer la fiche'],
// --- La suppression d'une personne qui porte des réservations (§ 2.1) -----
['participants.suppression.titre', ({ personne }) => `Supprimer ${personne} et ses réservations ?`],
[
'participants.suppression.reservation',
(details) =>
`Réservation à la table ${details.numero}${details.siege === null ? '' : `, siège ${details.siege}`}, ${portee(details)}`,
],
// --- La fiche (§ 4, § 4.2, § 7.4) -----------------------------------------
['participants.fiche.titre', 'Fiche de la personne'],
['participants.fiche.vide', '\u{2014}'],
['participants.fiche.statut', 'Statut'],
['participants.fiche.statutExclue', 'exclue : ni placée, ni comptée'],
['participants.fiche.statutInconnu', 'non calculé : la configuration est incohérente'],
['participants.fiche.reservations', 'Réservations'],
['participants.fiche.aucuneReservation', 'Aucune réservation.'],
['participants.fiche.suspendues', 'Suspendues tant que la personne est exclue.'],
['participants.fiche.table', 'Table'],
['participants.fiche.siege', 'Siège'],
['participants.fiche.portee', 'Portée'],
['participants.fiche.sansSiege', 'sans siège'],
['participants.fiche.tousLesTours', 'tous les tours'],
['participants.fiche.auTour', 'tour'],
['participants.fiche.itineraire', 'Placement retenu, tour par tour'],
['participants.fiche.tour', 'Tour'],
['participants.fiche.enReserve', 'en réserve'],
['participants.fiche.horsRetenu', 'hors du placement retenu'],
['participants.fiche.siegeNonAttribue', 'non attribué'],
['participants.fiche.aucunRetenu', 'Aucun placement retenu ne la nomme.'],
['participants.fiche.etiquettes', 'Étiquettes'],
['participants.fiche.aucuneEtiquette', 'Aucune étiquette.'],
['participants.fiche.presence', 'Présence'],
['participants.fiche.presenceLegende', 'Présente aux tours'],
[ADD] participants: organisation conflicts in grid, fiche, CSV and plan The conflict list is edited in a grid column and in the fiche through one keyboard multi-select; a gesture writes one history entry. The CSV column « conflit organisation » reads ; | or a line break; an unknown name or the person's own organisation refuses the whole file with its line, while names the same file creates count. A name holding ; or | reads back whole. The column is exported only once someone has conflicts, so other files are byte-identical. Propositions show « N conflits restants »; a reservation in conflict is flagged on the plan panel, not refused. Checked: node 6380, long 140, guards 207; browser fails only on captures. --- FR --- [ADD] participants : conflits d'organisation, grille, fiche, CSV et plan La liste des conflits se saisit dans une colonne de la grille et dans la fiche par un même choix multiple au clavier ; un geste écrit une entrée d'historique. La colonne CSV « conflit organisation » lit ; | ou une fin de ligne ; un nom inconnu ou l'organisation de la personne refuse le fichier entier avec sa ligne, et les noms que le fichier crée comptent. Un nom qui porte ; ou | se relit entier. La colonne ne s'exporte que si quelqu'un a des conflits : les autres fichiers sont identiques à l'octet. Propositions dit « N conflits restants » ; une réservation en conflit est signalée sur le panneau du plan, sans refus. Vérifié : node 6380, longue 140, gardes 207 ; navigateur, seules captures. Assisted-by: Claude Opus 5.5
2026-10-21 06:30:19 -04:00
['participants.fiche.conflits', "Conflits d'organisation"],
['participants.fiche.aucunConflit', "Aucun conflit d'organisation."],
['participants.fiche.inclusionsOrganisation', "Inclusions d'organisation"],
['participants.fiche.aucuneInclusionOrganisation', "Aucune inclusion d'organisation."],
['participants.fiche.inclusionsParticipant', 'Inclusions de participant'],
['participants.fiche.aucuneInclusionParticipant', 'Aucune inclusion de participant.'],
['participants.fiche.absente', 'absente'],
[ADD] participant card: logo thumbnail, large view, picker and PNG The card gains a Logo section: thumbnail on badge paper, « Aucun logo. » or « Logo introuvable » when the file is missing or unreadable. « Logo » refuses in read mode or on a locked plan before the picker opens, then converts in the renderer: EXIF orientation applied, longest side cut to 1200 px, never enlarged for a raster image; SVG rasterised at 1200 px. HEIC, TIFF and broken files are refused with a text to export as JPEG or PNG; over 50 million pixels is refused before decoding. The large view opens inside the card, with « Fermer » and Escape; no window is added. Checked: node 6790/6792 (2 known audit reds); mutants caught. --- FR --- [ADD] fiche du participant : vignette du logo, vue grande, choix et PNG La fiche gagne une rubrique Logo : vignette sur le papier des badges, « Aucun logo. », ou « Logo introuvable » si le fichier manque ou ne se lit pas. « Logo » refuse en lecture ou sur un plan bloqué avant le dialogue, puis convertit dans le moteur de rendu : orientation EXIF appliquée, plus grand côté ramené à 1200 px, jamais agrandi pour une image matricielle ; un SVG se rastérise à 1200 px. HEIC, TIFF et fichier abîmé se refusent d'un texte qui dit d'exporter en JPEG ou PNG ; plus de 50 millions de pixels se refuse avant décodage. La vue grande s'ouvre dans la fiche, avec « Fermer » et Échap ; aucune fenêtre ne s'ajoute. Vérifié : node 6790/6792 (2 rouges d'audit connues) ; mutants tués. Assisted-by: Claude Opus 5.5
2026-10-23 00:55:59 -04:00
['participants.fiche.logo', 'Logo'],
['participants.fiche.aucunLogo', 'Aucun logo.'],
[ADD] participant card: Modifier form for name, organisation and notes The card showed a person's details but changing them meant finding the row in the grid and editing cell by cell. The card now reads name, first name, organisation, email, intended title and notes, and Modifier opens a prefilled form: Enregistrer sends one modifierParticipant with only the fields the form changed since opening, so a write from elsewhere is kept; an organisation differing from another's only by case takes the existing spelling with a signal, and conflict lists that follow are announced. Annuler, Escape or opening another person close it without writing. Checked: node 7013/7013, long 160/160, card browser mutants killed. --- FR --- [ADD] fiche du participant : formulaire Modifier de ses informations La fiche montrait les informations d'une personne, mais les changer obligeait à retrouver sa ligne dans la grille, cellule par cellule. La fiche lit nom, prénom, organisation, courriel, titre pressenti et notes, et « Modifier » ouvre un formulaire prérempli : « Enregistrer » pose un seul modifierParticipant des champs changés depuis l'ouverture, une écriture venue d'ailleurs gardée ; une organisation qui ne diffère d'une autre que par la casse prend l'orthographe existante, avec un signal, et les conflits qui suivent sont annoncés. Annuler, Échap ou une autre fiche ouverte referment sans écrire. Vérifié : node 7013/7013, longue 160/160, mutants de la fiche tués. Assisted-by: Claude Opus 5.5
2026-10-24 05:57:07 -04:00
// --- Les informations de la fiche et leur formulaire (§ 10.2) ------------
['participants.informations.modifier', 'Modifier'],
['participants.informations.modifierNomme', ({ nom }) => `Modifier les informations de ${nom}`],
['participants.informations.formulaire', ({ nom }) => `Informations de ${nom}`],
['participants.informations.enregistrer', 'Enregistrer'],
['participants.informations.annuler', 'Annuler'],
[
'participants.informations.conflitsSuivis',
({ renommee, retirees, propres }) => {
const parties = [];
if (renommee !== null) parties.push(`${cite(renommee.de)} devient ${cite(renommee.vers)}`);
if (retirees.length > 0) parties.push(`${enumeration(retirees.map(cite))} ${retirees.length === 1 ? 'les quitte' : 'les quittent'}`);
if (propres > 0) {
parties.push(compte(propres, 'conflit avec sa propre organisation retiré', 'conflits avec leur propre organisation retirés'));
}
return `Les conflits d'organisation suivent ce changement : ${parties.join(' ; ')}.`;
},
],
[
'participants.informations.inclusionsSuivies',
({ renommee, retirees, propres }) => {
const parties = [];
if (renommee !== null) parties.push(`${cite(renommee.de)} devient ${cite(renommee.vers)}`);
if (retirees.length > 0) parties.push(`${enumeration(retirees.map(cite))} ${retirees.length === 1 ? 'les quitte' : 'les quittent'}`);
if (propres > 0) {
parties.push(compte(propres, 'inclusion de sa propre organisation retirée', 'inclusions de leur propre organisation retirées'));
}
return `Les inclusions d'organisation suivent ce changement : ${parties.join(' ; ')}.`;
},
],
[ADD] participant card: Modifier form for name, organisation and notes The card showed a person's details but changing them meant finding the row in the grid and editing cell by cell. The card now reads name, first name, organisation, email, intended title and notes, and Modifier opens a prefilled form: Enregistrer sends one modifierParticipant with only the fields the form changed since opening, so a write from elsewhere is kept; an organisation differing from another's only by case takes the existing spelling with a signal, and conflict lists that follow are announced. Annuler, Escape or opening another person close it without writing. Checked: node 7013/7013, long 160/160, card browser mutants killed. --- FR --- [ADD] fiche du participant : formulaire Modifier de ses informations La fiche montrait les informations d'une personne, mais les changer obligeait à retrouver sa ligne dans la grille, cellule par cellule. La fiche lit nom, prénom, organisation, courriel, titre pressenti et notes, et « Modifier » ouvre un formulaire prérempli : « Enregistrer » pose un seul modifierParticipant des champs changés depuis l'ouverture, une écriture venue d'ailleurs gardée ; une organisation qui ne diffère d'une autre que par la casse prend l'orthographe existante, avec un signal, et les conflits qui suivent sont annoncés. Annuler, Échap ou une autre fiche ouverte referment sans écrire. Vérifié : node 7013/7013, longue 160/160, mutants de la fiche tués. Assisted-by: Claude Opus 5.5
2026-10-24 05:57:07 -04:00
[ADD] participant card: logo thumbnail, large view, picker and PNG The card gains a Logo section: thumbnail on badge paper, « Aucun logo. » or « Logo introuvable » when the file is missing or unreadable. « Logo » refuses in read mode or on a locked plan before the picker opens, then converts in the renderer: EXIF orientation applied, longest side cut to 1200 px, never enlarged for a raster image; SVG rasterised at 1200 px. HEIC, TIFF and broken files are refused with a text to export as JPEG or PNG; over 50 million pixels is refused before decoding. The large view opens inside the card, with « Fermer » and Escape; no window is added. Checked: node 6790/6792 (2 known audit reds); mutants caught. --- FR --- [ADD] fiche du participant : vignette du logo, vue grande, choix et PNG La fiche gagne une rubrique Logo : vignette sur le papier des badges, « Aucun logo. », ou « Logo introuvable » si le fichier manque ou ne se lit pas. « Logo » refuse en lecture ou sur un plan bloqué avant le dialogue, puis convertit dans le moteur de rendu : orientation EXIF appliquée, plus grand côté ramené à 1200 px, jamais agrandi pour une image matricielle ; un SVG se rastérise à 1200 px. HEIC, TIFF et fichier abîmé se refusent d'un texte qui dit d'exporter en JPEG ou PNG ; plus de 50 millions de pixels se refuse avant décodage. La vue grande s'ouvre dans la fiche, avec « Fermer » et Échap ; aucune fenêtre ne s'ajoute. Vérifié : node 6790/6792 (2 rouges d'audit connues) ; mutants tués. Assisted-by: Claude Opus 5.5
2026-10-23 00:55:59 -04:00
// --- Le logo de la fiche (§ 8.9, § 10.2) ----------------------------------
['participants.logo.choisir', 'Logo'],
['participants.logo.choisirNomme', ({ nom }) => `Logo de ${nom} : choisir une image`],
['participants.logo.retirer', 'Retirer le logo'],
['participants.logo.agrandir', ({ nom }) => `Agrandir le logo de ${nom}`],
['participants.logo.image', ({ nom }) => `Logo de ${nom}`],
['participants.logo.fermer', 'Fermer'],
['participants.logo.introuvable', 'Logo introuvable : son image manque au dossier de l\u{2019}événement ou ne se lit pas.'],
// --- La rubrique « Rencontres » de la fiche (§ 12.5, D33) -----------------
// La ligne de la personne dans le placement que le plan montre, celui que
// la page de qualité mesure, nommé sur la ligne de source.
['participants.fiche.rencontres.titre', 'Rencontres'],
['participants.fiche.rencontres.intitule', 'Placement mesuré :'],
['participants.fiche.rencontres.retenu', 'Placement retenu'],
['participants.fiche.rencontres.proposition', ({ proposition }) => `Proposition n° ${proposition}`],
['participants.fiche.rencontres.personne', 'Personne rencontrée'],
['participants.fiche.rencontres.fois', 'Fois'],
['participants.fiche.rencontres.tours', 'Tours'],
['participants.fiche.rencontres.tour', ({ tour, table }) => `tour ${tour}, table ${table}`],
// Les tours d'une rencontre, [{tour, table}] dans l'ordre reçu, chacun
// par participants.fiche.rencontres.tour, séparés par « ; ».
[
'participants.fiche.rencontres.toursListe',
({ tours }, texte) => tours.map((etape) => texte('participants.fiche.rencontres.tour', etape)).join(' ; '),
],
['participants.fiche.rencontres.aucune', 'Elle ne rencontre personne dans ce placement.'],
[
'participants.fiche.rencontres.nonMesurable',
'Ce placement ne se mesure pas : la page Qualité en donne les raisons.',
],
['participants.fiche.rencontres.exclue', 'Exclue : elle ne rencontre personne dans les mesures.'],
// --- La rubrique « Conflits du placement » de la fiche (§ 7.5, § 10.2) ---
// Les conflits de la personne dans le placement que le plan montre, sous
// la ligne de source de la rubrique « Rencontres ».
['participants.fiche.conflitsPlacement.titre', 'Conflits du placement'],
['participants.fiche.conflitsPlacement.aucun', 'Aucun conflit dans ce placement.'],
['participants.fiche.conflitsPlacement.sansPlacement', 'Aucun placement à mesurer.'],
[
'participants.fiche.conflitsPlacement.nonEvalue',
'Les conflits de ce placement ne se comptent pas : il ne décrit plus la soirée, ou la configuration est incohérente.',
],
// --- Les étiquettes de la fiche (§ 4.5, § 10.2) ---------------------------
['participants.etiquettes.champ', 'Ajouter des étiquettes, séparées par une virgule'],
['participants.etiquettes.ajouter', 'Ajouter'],
['participants.etiquettes.retirer', ({ motCle }) => `Retirer « ${motCle} »`],
// --- Les statuts calculés (§ 4.2) -----------------------------------------
['participants.statut.ancre', 'ancré'],
['participants.statut.partiel', 'partiellement fixé'],
['participants.statut.mobile', 'mobile'],
]);