From d7c0d428e8fecf1587eb2a944654b99d21ff1149 Mon Sep 17 00:00:00 2001 From: bruno Date: Sun, 12 Jul 2026 12:53:46 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20sidebar=20=E2=80=94=20x-data=20vide=20ma?= =?UTF-8?q?squait=20appState()=20+=20header=20Notion-style=20+=20null-guar?= =?UTF-8?q?ds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Sidebar avait x-data vide qui créait un scope isolé → vars (workspaceMenuOpen, toggleWorkspaceMenu, sidebarCollapsed) introuvables → rien ne fonctionnait - Suppression x-data → héritage du scope appState() parent - Header restylé Notion: .sidebar-workspace-header avec border-radius + hover bg - Mouse hover (mouseenter/mouseleave) active wsHeaderHover → fond plus clair - Null-guards: folderStack[-1] sécurisé, ctxMenu.node && ctxMenu.node.is_folder --- app/templates/base.html | 48 ++++++++++++++---------------- app/templates/local_workspace.html | 4 +-- static/css/app.css | 18 ++++++++++- 3 files changed, 42 insertions(+), 28 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index d17bca5..43e85e9 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -58,33 +58,30 @@