From 6f8976817aea55c268ac6091ce7c581bcd7e0d1c Mon Sep 17 00:00:00 2001 From: bruno Date: Mon, 13 Jul 2026 08:10:03 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20148=20erreurs=20Alpine.js=20=E2=80=94=20?= =?UTF-8?q?IIFE=20avant=20le=20DOM=20x-data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cause: l'IIFE window._wsInitData était située APRÈS le
. Alpine évaluait x-data="window._wsInitData" AVANT que l'IIFE ne tourne → toutes les propriétés (flatTree, tree, online, ctxMenu, preview*, etc.) étaient undefined → 148 erreurs Alpine Expression Error. Fix: déplacement de l'IIFE (lignes 871-2405) avant le ws-split (ligne 339). Ordre corrigé: IIFE → _wsInitData prêt → ws-split x-data OK. Vérification: le diagnostic log « ws-split about to render, _wsInitData exists: » affichera maintenant true au lieu de false. --- app/templates/local_workspace.html | 1064 ++++++++++++++-------------- 1 file changed, 532 insertions(+), 532 deletions(-) diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index ec9e359..deee917 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -336,538 +336,6 @@ .preview-leave-end{transform:translateX(100%);opacity:0;} - - -
-
- - -
-
- 📥 -
Drop files here
-
- Into: -
-
-
- - -
-
- - - -
-
-
-
-
- - -
- - - -
- - - - - -
-
- -
- - - - - -
-
-
- 🔍 - - -
- - - - - -
- - -
- - - -
- - -
- - -
- - - - - - - ✕ clear -
- -
    - -
  • -
    - - 📂 - .. -
    -
  • - -
-
- - -
- Tags: - - -
- - - - - - - - - - - - - - - - - -
NamePathSizeModifiedTypeAuthorTags
- - - - - - - - - - - - - -
NameTypeSizeModified
- - - - - - - - - - - - - - - - -
NamePathSizeModifiedTypeAuthorTags
- - -
- -
- - -
- -
-
-
- - - - - - - -
-
📁
-

-

-
- - -
-
- - -
- ⚠️ You are offline. Changes will sync when connection is restored. -
- - - - - - - - - - -
- - -
-
📄 Open
-
📂 Open folder
-
✏️ Rename
-
📋 Duplicate
-
-
🏷️ Tags
- - -
No tags
-
- -
- 📋 Add existing tag - -
-
- -
- -
- ➕ New tag - -
-
-
- -
-
- - -
-
-
-
🗑 Delete
-
- - -
-
-
-
- - - - - - + + +
+
+ + +
+
+ 📥 +
Drop files here
+
+ Into: +
+
+
+ + +
+
+ + + +
+
+
+
+
+ + +
+ + + +
+ + + + + +
+
+ +
+ + + + + +
+
+
+ 🔍 + + +
+ + + + + +
+ + +
+ + + +
+ + +
+ + +
+ + + + + + + ✕ clear +
+ +
    + +
  • +
    + + 📂 + .. +
    +
  • + +
+
+ + +
+ Tags: + + +
+ + + + + + + + + + + + + + + + + +
NamePathSizeModifiedTypeAuthorTags
+ + + + + + + + + + + + + +
NameTypeSizeModified
+ + + + + + + + + + + + + + + + +
NamePathSizeModifiedTypeAuthorTags
+ + +
+ +
+ + +
+ +
+
+
+ + + + + + + +
+
📁
+

+

+
+ + +
+
+ + +
+ ⚠️ You are offline. Changes will sync when connection is restored. +
+ + + + + + + + + + + + + +
+
📄 Open
+
📂 Open folder
+
✏️ Rename
+
📋 Duplicate
+
+
🏷️ Tags
+ + +
No tags
+
+ +
+ 📋 Add existing tag + +
+
+ +
+ +
+ ➕ New tag + +
+
+
+ +
+
+ + +
+
+
+
🗑 Delete
+
+ + +
+
+
+
+ + + + + + {% endblock %}