Sidebar: group nav into priority-ordered functional sections
Nightly Build / build (push) Successful in 6m27s

Turn the flat sidebar into a data-driven nav: each entry declares a
group (workspace/extensions/config/dev) and a numeric priority, and each
section renders by sorting on that key. Split axis is function, not
permission — adminOnly/debugOnly gate individual entries and an empty
section is hidden, so Configuration vanishes for non-admins without a
section-level role check.

- Shared folders moves into 'Your space' (still admin-gated per-entry).
- Plugin pages merge into the workspace group on the same priority line
  (>=100 by default); rebase the two in-repo plugins accordingly.
- Configuration and Development are collapsible, closed by default,
  state persisted in localStorage. Simple mode unchanged.
- Rename nav.catalog to 'Connectors Catalog' to disambiguate from the
  Plugin Catalog; add nav.section.* header keys (en/it/fr).
- Replace dead .sidebar-section-toggle CSS with real section classes.
This commit is contained in:
2026-07-20 16:31:17 +01:00
parent beeff61701
commit 6b25e7a2bf
7 changed files with 240 additions and 159 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
export default {
// ── Navigation ─────────────────────────────────────────────────────────────
'nav.section.workspace': 'Votre espace',
'nav.section.extensions': 'Extensions',
'nav.section.config': 'Configuration',
'nav.section.dev': 'Développement',
'nav.chat': 'Discussion',
'nav.inbox': 'Boîte de réception',
'nav.dashboard': 'Tableau de bord',
@@ -18,7 +22,7 @@ export default {
'nav.connectors': 'Connecteurs',
'nav.plugins': 'Plugins',
'nav.plugin_catalog': 'Catalogue des plugins',
'nav.catalog': 'Catalogue',
'nav.catalog': 'Catalogue des connecteurs',
'nav.config': 'Paramètres',
'nav.llm_requests': 'Requêtes LLM',
'nav.tic': 'Sessions TIC',