From 224e51cc81a8a231f6bb11fa42c5402b262e1344 Mon Sep 17 00:00:00 2001 From: Allison Date: Wed, 29 Apr 2026 13:31:30 -0400 Subject: [PATCH] =?UTF-8?q?feat(marketing):=20refonte=20narrative=20'Comme?= =?UTF-8?q?nt=20=C3=A7a=20marche'=20=E2=80=94=20processus=204=20=C3=A9tape?= =?UTF-8?q?s=20step-by-step=20(capture=20=E2=86=92=20IA=20=E2=86=92=20dist?= =?UTF-8?q?ribution=20=E2=86=92=20gouvernance)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Au lieu d'un cycle générique 1→12, l'animation suit maintenant un FLOW PROCESSUS canonique qui raconte l'histoire produit du début à la fin : ÉTAPE 1 · CAPTURE → Recording (7) + Transcription (1) ÉTAPE 2 · TRANSFORMATION IA → Diarisation (2) + Langues (3) + Résumé (9) + Chat IA (0) ÉTAPE 3 · DISTRIBUTION → Exports (4) + Partage (6) + Users (5) + Intégrations (10) ÉTAPE 4 · GOUVERNANCE → Recherche IA (8) + Audit (11) + Conformité (12) PROCESS_ORDER = [7, 1, 2, 3, 9, 0, 4, 6, 5, 10, 8, 11, 12] — 13 sub-modes, mode 0 IA inclus dans le cycle (au lieu d'être skippé), 1100ms × 13 ≈ 14.3s tour complet. Composants ajoutés / refondus : - PROCESS BREADCRUMB visible au-dessus du phone (4 pilules · flèches · past/active/future) - PROGRESS BAR sous breadcrumb (gradient brand-b1 → b2 → b3, role=progressbar) - BOTTOM TAB BAR : 4 boutons étapes (au lieu de 6 features individuelles) - RIGHT PANEL : 4 mini-sections par étape (12 boutons regroupés selon flow) - FEATURE INFO CARD : préfixe 'Étape X/4 · TITRE' pour contexte processus - CONNECTING LINE : flèche directionnelle + dot animé qui se déplace selon processIdx - Mobile pills : suivent PROCESS_ORDER (13 sub-modes au lieu de 1-12) Alpine refactor : - selectedFeature devient un getter computed sur PROCESS_ORDER[processIdx] - nouveau STEPS array avec subModes mapping + activeStep / progressPercent getters - goToStep(id) helper jump au 1er sub-mode d'une étape - handleManualSelect(i) résout l'index dans PROCESS_ORDER Préservé : palette brand stricte (b1/b2/b3/navy), V3 radii, Inter+JetBrains Mono, phone shell statique, 13 templates de modes, IA Mistral premium card, eyebrow 'COMMENT ÇA MARCHE' brand-navy, WCAG (aria-current, aria-label, role=navigation, role=progressbar, role=tablist), prefers-reduced-motion guards. Tests : 9/9 fonctionnalites passent (test how_it_works_reactor étendu de +37 assertions narratives : PROCESS_ORDER, STEPS, processIdx, activeStep, goToStep, breadcrumb, progressbar, step-bottom, step-section, contexte processus dans card). Co-Authored-By: Claude Opus 4.7 (1M context) --- templates/marketing/fonctionnalites.html | 265 +++++++++++++++++------ tests/test_marketing_secondary_pages.py | 36 +++ 2 files changed, 238 insertions(+), 63 deletions(-) diff --git a/templates/marketing/fonctionnalites.html b/templates/marketing/fonctionnalites.html index 73d04ff..35031e0 100644 --- a/templates/marketing/fonctionnalites.html +++ b/templates/marketing/fonctionnalites.html @@ -408,6 +408,20 @@ .dictia-feat-btn { transition: transform 0.18s ease, background-color 0.2s ease, opacity 0.2s ease; will-change: transform; } .dictia-feat-btn:hover { transform: scale(1.08); opacity: 1 !important; } + /* Process breadcrumb step buttons (top of section, light bg) */ + .dictia-step-btn { transition: transform 0.2s ease, background-color 0.25s ease, border-color 0.25s ease; will-change: transform; } + .dictia-step-btn:hover { transform: translateY(-1px); } + .dictia-step-btn.is-past { opacity: 0.55; } + .dictia-step-btn.is-future { opacity: 0.40; } + .dictia-step-btn.is-active { transform: scale(1.03); } + + /* Step navigator bottom (dark bg, inside phone) */ + .dictia-step-bottom:hover { transform: translateY(-1px); } + + /* Step section right panel (mini groups by stage) */ + .dictia-step-section { transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; } + .dictia-step-section.is-active { box-shadow: 0 0 24px rgba(0,0,0,0.25), inset 0 0 16px rgba(255,255,255,0.02); } + /* Hide scrollbar mobile pills */ .dictia-hide-scrollbar::-webkit-scrollbar { display: none; } @@ -452,6 +466,7 @@ .dictia-phone-glow-ring, .dictia-rec-dot, .dictia-wave-bar, .dictia-typing-dot, .dictia-lang-highlight, .dictia-connecting-line, .dictia-auto-pulse, .dictia-countdown-fill { animation: none !important; } + .dictia-step-btn, .dictia-step-bottom, .dictia-step-section { transition: none !important; } } @@ -496,23 +511,93 @@ - {# ── DASHBOARD HOLOGRAPHIQUE — 2 colonnes (phone center + IA right) ── #} -
+ {# ── DASHBOARD HOLOGRAPHIQUE — wrapper outer column (process breadcrumb + progress + 2-col layout) ── #} +
- {# Connecting line SVG (phone -> IA panel, desktop only) #} + {# ─────────────── PROCESS BREADCRUMB — 4 étapes du flow utilisateur (refonte narrative 2026-04-29 v3) ─────────────── #} + + + {# ── 2 colonnes (phone center + IA right) ── #} +
+ + {# Connecting line SVG (phone -> IA panel, desktop only) — directional arrow with travelling dot #} @@ -1200,27 +1285,28 @@
- {# BOTTOM : 6 boutons feature originaux (Trans / Diari / Lang / Exp / Users / Part) + Auto pill — hauteur fixe 90px #} + {# BOTTOM : Step navigator — 4 boutons étapes (au lieu de 6 features individuelles) + Auto pill — refonte narrative 2026-04-29 v3 #}
- {# 6 boutons features originaux (FEATURES indexes 1-6) — visible bottom tab bar #} -
-