fix: arborescence workspace — parentFolder nullifié avant insertion + displayTree nouvelle référence
FlowDeck CI / test (push) Failing after 5s
FlowDeck CI / docker (push) Has been skipped

- doCreate(): sauvegarde parent dans var avant nullification (bug bloquant)
- displayTree = [...this.tree] au lieu de = this.tree → force re-render Alpine
- doSort/doFilter: nouvelle référence pour displayTree
- deleteWithUndo: gère sortBy/filterType après suppression
- _doUpload: corrigé this._reloadAfterAction → self._reloadAfterAction
This commit is contained in:
2026-07-12 10:27:24 -04:00
parent d8a2cebdd6
commit 56682cc576
3 changed files with 29 additions and 10 deletions
+9
View File
@@ -1,5 +1,14 @@
# Changelog — FlowDeck
## v2.1.1 (2026-07-12) — Fix Arborescence Workspace
### Fixed
- **Arborescence**: création fichier/dossier dans un sous-dossier met à jour l'arbre sans rechargement
- **parentFolder**: corrigé le bug où `parentFolder` était nullifié avant l'insertion dans l'arbre JS
- **displayTree**: nouvelle référence array après chaque mutation pour forcer le re-render Alpine.js
- **doSort/doFilter**: gèrent maintenant le cas où un filtre/tri est actif après création
- **_doUpload**: corrigé `this._reloadAfterAction` → `self._reloadAfterAction`
## v2.1.0 (2026-07-10) — Intégrations Avancées
### Added