From cd8fe9e258f2392c4a973704d9bf8e2dac691d8f Mon Sep 17 00:00:00 2001 From: Jules Neny Date: Fri, 22 May 2026 15:50:22 +0200 Subject: [PATCH] =?UTF-8?q?fix(media):=20toolbar=20remise=20entre=20carte?= =?UTF-8?q?=20et=20chatbot=20+=20nav=20renomm=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix: layout-toggle-bar à l'intérieur du layout-container (entre carte D3 et chatbot) - fix: chatbot de nouveau visible en mode split - feat: nav "Écosystème Entraide Architecture" → "Écosystème Entraide" Co-Authored-By: Claude Sonnet 4.6 --- app.vue | 2 +- components/MediaTabVisuel.vue | 414 +++++++++++++++++----------------- 2 files changed, 204 insertions(+), 212 deletions(-) diff --git a/app.vue b/app.vue index 098f14f..797a879 100644 --- a/app.vue +++ b/app.vue @@ -34,7 +34,7 @@ class="nav-tab" :class="{ 'nav-tab--active': route.path === '/' }" > - Écosystème Entraide Architecture + Écosystème Entraide
- -
- - - - - -
- - - - - - - -
- - -
- - - -
-
- - +
- - + +
+ + + +
@@ -231,7 +228,7 @@
@@ -351,9 +348,7 @@ function showCarte() { localStorage.setItem(CONTENT_KEY, 'carte') localStorage.setItem(LAYOUT_KEY, 'split') } - nextTick(() => { - cartePenseesRef.value?.triggerResize() - }) + nextTick(() => cartePenseesRef.value?.triggerResize()) } function onHandleMousedown(e: MouseEvent) { @@ -374,9 +369,7 @@ function onHandleMousemove(e: MouseEvent) { function onHandleMouseup() { window.removeEventListener('mousemove', onHandleMousemove) window.removeEventListener('mouseup', onHandleMouseup) - if (typeof window !== 'undefined') { - localStorage.setItem(SPLIT_RATIO_KEY, String(splitRatio.value)) - } + if (typeof window !== 'undefined') localStorage.setItem(SPLIT_RATIO_KEY, String(splitRatio.value)) cartePenseesRef.value?.triggerResize() } @@ -459,7 +452,49 @@ function onInterrogerRag(auteurId: string) { min-height: 0; } -/* --- Barre de toggle --- */ +.layout-container { + flex: 1; + display: flex; + flex-direction: column; + overflow: hidden; + min-height: 0; +} + +/* --- Slot carte --- */ +.carte-slot { + overflow: hidden; + position: relative; + transition: opacity 0.2s ease; +} + +.carte-split { + flex: 0 0 66%; + min-height: 0; + opacity: 1; +} + +.carte-full { + flex: 1 1 100%; + min-height: 0; + opacity: 1; +} + +.carte-hidden { + flex: 0 0 0; + height: 0; + opacity: 0; + overflow: hidden; +} + +/* --- Overlay PDF FRACAS --- */ +.fracas-overlay { + position: absolute; + inset: 0; + z-index: 50; + pointer-events: none; +} + +/* --- Barre de toggle (entre carte et chatbot) --- */ .layout-toggle-bar { flex-shrink: 0; display: flex; @@ -526,49 +561,6 @@ function onInterrogerRag(auteurId: string) { accent-color: var(--nav-primary, #3b6ea5); } -/* --- Conteneur principal --- */ -.layout-container { - flex: 1; - display: flex; - flex-direction: column; - overflow: hidden; - min-height: 0; -} - -/* --- Slot carte --- */ -.carte-slot { - overflow: hidden; - position: relative; - transition: opacity 0.2s ease; -} - -.carte-split { - flex: 0 0 66%; - min-height: 0; - opacity: 1; -} - -.carte-full { - flex: 1 1 100%; - min-height: 0; - opacity: 1; -} - -.carte-hidden { - flex: 0 0 0; - height: 0; - opacity: 0; - overflow: hidden; -} - -/* --- Overlay PDF FRACAS --- */ -.fracas-overlay { - position: absolute; - inset: 0; - z-index: 50; - pointer-events: none; -} - /* --- Poignee draggable --- */ .split-handle { flex-shrink: 0;