From a14bcb9a1ae41c0f1141868bc982587abfe1365c Mon Sep 17 00:00:00 2001 From: Allison Date: Wed, 29 Apr 2026 13:17:09 -0400 Subject: [PATCH] =?UTF-8?q?fix(marketing):=20restaurer=20visibilit=C3=A9?= =?UTF-8?q?=2012=20fonctions=20dans=20'Comment=20=C3=A7a=20marche'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit L'abstraction en 4 catégories (commit 8a7650f) cachait les 13 modes derrière des regroupements ; l'utilisateur ne VOYAIT plus les 6 boutons features originaux et percevait que des fonctions avaient disparu. Refonte v2 : - Bottom tab bar : 6 boutons FEATURES originaux 1-6 (Trans/Diari/Lang/Exp/Users/Part) — visibles, cliquables - Right panel : grid 3×4 = 12 boutons FEATURES 1-12 (IA mode 0 reste accessible via Brain card) - Mobile pills : 12 features scrollables horizontalement - Auto-cycle : 1→12 skip 0, 1100ms each (~13s cycle complet) - Manual click : isManual 4500ms reset puis reprend auto - SUPPRESSION : CATEGORIES array + activeCategory state + handleCategorySelect + sub-mode dots indicator - AJOUT : featureGridLabel() pour labels compacts (Recording/Recherche IA/Résumés/Intégrations/Audit trail/Conformité) Préservé : phone shell statique, palette brand stricte b1/b2/b3, IA Mistral card inchangée, 13 templates de modes (0-12) intacts, eyebrow brand-navy noir, WCAG aria-labels + aria-pressed, prefers-reduced-motion guard. Test adapté : assert featureGridLabel + 12 fonctions + labels grid. --- templates/marketing/fonctionnalites.html | 201 ++++++++--------------- tests/test_marketing_secondary_pages.py | 17 +- 2 files changed, 78 insertions(+), 140 deletions(-) diff --git a/templates/marketing/fonctionnalites.html b/templates/marketing/fonctionnalites.html index 118bcc8..73d04ff 100644 --- a/templates/marketing/fonctionnalites.html +++ b/templates/marketing/fonctionnalites.html @@ -480,8 +480,8 @@ {# Stats row #}
- 4 - catégories · 6 modules + 12 + fonctions · modules
@@ -1200,34 +1200,27 @@
- {# BOTTOM : 4 catégories tabs (Capture / IA / Distribution / Gouvernance) + sub-mode dots + Auto pill — hauteur fixe 90px #} -
- {# Sub-mode dots indicator (shows position within active category) #} - - {# 4 catégories tabs #} -
-