diff --git a/src/app.component.html b/src/app.component.html index a540d1b..53b0b49 100644 --- a/src/app.component.html +++ b/src/app.component.html @@ -110,7 +110,7 @@
- {{ vaultName() }} + {{ vaultName() }} - ObsiViewer
{{ activeView() | titlecase }} @@ -365,83 +365,6 @@
-
-
-
- - -
-
- {{ vaultName() }} -

ObsiWatcher

-
- @if (selectedNoteBreadcrumb().length > 0) { -

{{ selectedNoteBreadcrumb().join(' / ') }}

- } @else { -

Aucune note sélectionnée

- } -
-
- -
-
-
- -
-
- -
-
-
@if (selectedNote(); as note) { + - ` + `, + styles: [` + .safe-area-inset-bottom { + padding-bottom: env(safe-area-inset-bottom); + } + `] }) export class AppBottomNavigationComponent { mobileNav = inject(MobileNavService); tabs = [ - { id: 'sidebar', icon: '📁', label: 'Dossiers' }, + { id: 'sidebar', icon: '🏠', label: 'Maison' }, { id: 'list', icon: '🔍', label: 'Liste' }, { id: 'page', icon: '📄', label: 'Page' }, { id: 'toc', icon: '📋', label: 'Sommaire' } diff --git a/src/app/features/note-view/app-toc-overlay.component.ts b/src/app/features/note-view/app-toc-overlay.component.ts index 8d28ce4..7aee24b 100644 --- a/src/app/features/note-view/app-toc-overlay.component.ts +++ b/src/app/features/note-view/app-toc-overlay.component.ts @@ -1,33 +1,93 @@ -import { Component, EventEmitter, Input, Output } from '@angular/core'; +import { Component, EventEmitter, OnInit, Output, ChangeDetectionStrategy, ChangeDetectorRef, Input } from '@angular/core'; import { CommonModule } from '@angular/common'; +import { ScrollableOverlayDirective } from '../../shared/overlay-scrollbar/scrollable-overlay.directive'; @Component({ selector: 'app-toc-overlay', standalone: true, - imports: [CommonModule], + changeDetection: ChangeDetectionStrategy.OnPush, + imports: [CommonModule, ScrollableOverlayDirective], template: ` -
-
-
-

Sommaire

- + + + + +