Qualité & Sécurité / Web (ESLint · angular-eslint + sonarjs) (push) Successful in 1m43s
Qualité & Sécurité / MegaLinter (PMD · Ruff · Bandit · gitleaks · hadolint) (push) Successful in 2m3s
Qualité & Sécurité / Trivy (CVE dépendances Maven / pip / npm) (push) Failing after 1m3s
Build & Push Images / build (brain) (push) Successful in 2m40s
Build & Push Images / build (core) (push) Successful in 4m24s
Build & Push Images / build (web) (push) Successful in 2m35s
Build & Push Images / build-switcher (push) Successful in 24s
- Barre haute mobile : pastille « Séance en cours » (mode compact du raccourci, 44 px) — un tap ramène à la séance, liste déroulante s'il y en a plusieurs (fermée par Échap ou un tap à côté). - Hub campagne : l'en-tête de section « Arcs narratifs » passe à la ligne au lieu de déborder (3 boutons depuis l'ajout de « Méthode guidée »). Vérifié : core clean verify (1206 tests), web build + 337 vitest, lint sans erreur, e2e Playwright 80/80 (desktop + mobile 375 px) sur la branche fusionnée. À redéployer : web.
73 lines
3.0 KiB
HTML
73 lines
3.0 KiB
HTML
<app-update-banner></app-update-banner>
|
|
|
|
<div class="app-container">
|
|
<!-- Barre haute (< 1024 px) : ouvre les tiroirs menu / arborescence. Masquée en CSS sur desktop. -->
|
|
<header class="mobile-topbar">
|
|
<button #mainToggle type="button" class="topbar-btn"
|
|
aria-controls="app-main-nav"
|
|
[attr.aria-expanded]="openDrawer() === 'main'"
|
|
[attr.aria-label]="(openDrawer() === 'main' ? 'mobileShell.closeMenu' : 'mobileShell.openMenu') | translate"
|
|
(click)="toggleDrawer('main')">
|
|
<lucide-icon [img]="openDrawer() === 'main' ? X : Menu" [size]="20"></lucide-icon>
|
|
</button>
|
|
@if (sidebarConfig$ | async; as config) {
|
|
<button #treeToggle type="button" class="topbar-btn topbar-tree"
|
|
aria-controls="app-tree-nav"
|
|
[attr.aria-expanded]="openDrawer() === 'tree'"
|
|
[attr.aria-label]="(openDrawer() === 'tree' ? 'mobileShell.closeTree' : 'mobileShell.openTree') | translate"
|
|
(click)="toggleDrawer('tree')">
|
|
<lucide-icon [img]="PanelLeft" [size]="18"></lucide-icon>
|
|
<span class="topbar-title">{{ config.title }}</span>
|
|
</button>
|
|
} @else {
|
|
<span class="topbar-brand">
|
|
<img src="assets/logo.png" alt="" />
|
|
<span>DM Loremind</span>
|
|
</span>
|
|
}
|
|
<!-- Séance en cours : un tap y ramène (visible seulement si une séance tourne). -->
|
|
<app-active-session-shortcut compact class="topbar-session"></app-active-session-shortcut>
|
|
<button type="button" class="topbar-btn topbar-search"
|
|
[attr.aria-label]="'mobileShell.search' | translate"
|
|
(click)="openSearch()">
|
|
<lucide-icon [img]="Search" [size]="18"></lucide-icon>
|
|
</button>
|
|
</header>
|
|
|
|
<app-sidebar id="app-main-nav"
|
|
[class.drawer-open]="openDrawer() === 'main'"
|
|
[attr.role]="isCompact() ? 'dialog' : null"
|
|
[attr.aria-modal]="isCompact() && openDrawer() === 'main' ? 'true' : null"
|
|
[attr.aria-label]="'mobileShell.mainNav' | translate"></app-sidebar>
|
|
|
|
@if (sidebarConfig$ | async; as config) {
|
|
<app-secondary-sidebar id="app-tree-nav"
|
|
[class.drawer-open]="openDrawer() === 'tree'"
|
|
[attr.role]="isCompact() ? 'dialog' : null"
|
|
[attr.aria-modal]="isCompact() && openDrawer() === 'tree' ? 'true' : null"
|
|
[attr.aria-label]="'mobileShell.treeNav' | translate"
|
|
[drawerMode]="isCompact()"
|
|
[title]="config.title"
|
|
[titleRoute]="config.titleRoute || null"
|
|
[items]="config.items"
|
|
[createActions]="config.createActions"
|
|
[bottomPanel]="config.bottomPanel || null"
|
|
[rootDropKinds]="config.rootDropKinds || null"
|
|
[rootDropParentId]="config.rootDropParentId ?? null"
|
|
[reorderContext]="config.reorderContext || null">
|
|
</app-secondary-sidebar>
|
|
}
|
|
|
|
@if (openDrawer()) {
|
|
<div class="drawer-backdrop" aria-hidden="true" (click)="closeDrawer()"></div>
|
|
}
|
|
|
|
<main #mainContent class="main-content" tabindex="-1">
|
|
<router-outlet></router-outlet>
|
|
</main>
|
|
</div>
|
|
|
|
<app-global-search></app-global-search>
|
|
<app-confirm-dialog-host></app-confirm-dialog-host>
|
|
<app-writing-coach-panel></app-writing-coach-panel>
|