feat(viewer): #90 regroupement fonctionnel des boutons de la barre d'actions + spacers
CI / lint (push) Successful in 1m18s
CI / security (push) Successful in 55s
CI / test (push) Successful in 2m10s
CI / build (push) Successful in 48s
CI / e2e (push) Successful in 11m0s

Ordre: [TOC][pop-out][Bookmark] | [Editer][Source][.md][Forge] | [Copier][PDF][Export] | [Partager]
- viewer.js: construction par groupes nav/edit/export/share, spacer .action-sep
  entre groupes non vides; Pretty ancre au groupe edition
- popout.html: meme assemblage groupe, ordre aligne
- style.css: regle .file-actions .action-sep (1px, var(--border-md))
- tests: tests/frontend/toolbar-order.test.mjs (9) branche au CI
This commit is contained in:
2026-09-14 22:47:46 -04:00
parent 0201d963b7
commit 14b99826eb
8 changed files with 192 additions and 17 deletions
+2 -1
View File
@@ -135,6 +135,7 @@
| # | Domaine / fonctionnalité | Version | Détails |
|---|---|---|---|
| 90 | Barre d'actions du document — regroupement fonctionnel + spacers | 2.3.0 | [archive](./archive/COMPLETED_v1-v2.md) |
| 89 | Drag & drop complet de fichiers/dossiers & intégration Assistant IA | 2.3.0 | [features/drag-and-drop-ai.md](./features/drag-and-drop-ai.md) |
| 1–8 | Fondations (FastAPI, TF-IDF + stemming, watchdog, SPA, sécurité, path traversal, gzip, PWA) | 1.0.0→1.4.0 | [archive](./archive/COMPLETED_v1-v2.md) |
| 9–20 | UX & productivité (share, webhooks, dashboard, conflits, backlinks, redaction, backups, graphe, header, aperçu) | 1.5.0→1.6.0 | [archive](./archive/COMPLETED_v1-v2.md) |
@@ -177,7 +178,7 @@
| Priorité | Items | Effort total estimé |
|---|---|---|
| ✅ Complété | #1 → #59, #61–72, #74–76, #78–84, #88 | ~107 jours réalisés |
| ✅ Complété | #1 → #59, #61–72, #74–76, #78–84, #88–90 | ~107 jours réalisés |
| 🔵 P2 restant | #77 Desktop : signature de code (non retenue), 6 tests E2E **manuels** ([protocole](./DESKTOP_E2E_CHECKLIST.md)) | ~0,5-1 jour |
| ⚪ P4 restant | #73 Sync (6-8j) | 6-8 jours |
| ⚪ P0/P1 restant | #85-87 Refonte architecturale, performance, CI/CD (issues BUG-035 → BUG-040) | ~15-23 jours |
+18
View File
@@ -362,6 +362,24 @@ La barre de mise en forme flottante du mode édition mobile est remplacée par u
---
## #90 — Barre d'actions du document : regroupement fonctionnel ✅ TERMINÉ
Réordonnancement des boutons du haut du document en quatre groupes
séparés par des barres verticales (`span.action-sep`) :
`[TOC] [pop-out] [Bookmark] | [Editer] [Source] [.md] [Forge] | [Copier] [PDF] [Export] | [Partager]`
- **Viewer principal** (`frontend/js/viewer.js`, `renderFile`) : construction par
groupes `navBtns` / `editBtns` / `exportBtns` / `shareBtns` ; « Pretty »
(fichiers texte) ancré au groupe édition ; les spacers d'un groupe vide
(ex. fichier image ou binaire) ne sont pas rendus.
- **Pop-out** (`frontend/popout.html`) : même assemblage groupé, ordre aligné.
- **CSS** (`frontend/style.css`) : règle `.file-actions .action-sep`
(trait 1 px, `var(--border-md)`, `align-self: stretch`).
- **Tests** : `tests/frontend/toolbar-order.test.mjs` (9, statiques).
---
## Grosses fonctionnalités — fiches dédiées
| # | Feature | Version | Fiche |