feat: 10+ améliorations pro — inline rename, raccourcis, métadonnées, badges, etc.
Implémenté depuis la ROADMAP v2.2.0: A3 Inline rename: double-clic → input inline (Enter/escape/blur). Fonctionne sur x-for items et breadcrumb. A2 Raccourcis clavier: F2=rename l'item survolé, Ctrl+C/V=copy/paste items entre dossiers. Layout focusable (tabindex=0, @keydown). A6 Duplicate: méthode duplicateItem(), crée une copie '(copy)'. B3 Métadonnées: child_count ajouté dans l'API tree + sidebar data. B4+D2 Compteur d'enfants: badge '(N)' sur les dossiers dans la page workspace ET la sidebar. B5 Loading skeletons: CSS shimmer animation (.skeleton). C1 Breadcrumb éditable: double-clic sur un segment → rename. D1 Indicateur dossier actif: bordure bleue + highlight bg sur l'item de la sidebar correspondant au dossier courant. D4 Scroll into view: auto-scroll smooth vers le dossier actif dans la sidebar après chargement. child_count ajouté à _build_tree_children (dashboard.py) et _load_workspace_pages/_load_children (board.py).
This commit is contained in:
@@ -338,6 +338,8 @@ input, select, textarea { font-family: inherit; color: inherit; }
|
||||
|
||||
.sidebar-item.active {
|
||||
background: var(--bg-active);
|
||||
border-left: 2px solid var(--accent);
|
||||
padding-left: 2px !important;
|
||||
}
|
||||
|
||||
/* Tree toggle button (▶/▼ chevron) */
|
||||
|
||||
Reference in New Issue
Block a user