feat: enhance navigation and filtering behavior

- Added clickable app title links in header and sidebar that reset view to all markdown files
- Fixed quicklink filtering to use correct frontmatter boolean keys (favoris, publish, draft, etc.)
- Updated sidebar behavior to auto-open Quick Links section when viewing markdown files
- Added filter clearing when switching between views to prevent conflicting filters
- Modified URL state handling to preserve kind parameter when navigating
- Enforced markdown-only
This commit is contained in:
2025-10-30 16:15:45 -04:00
parent 58b22a47c9
commit 1545dbb20a
7 changed files with 109 additions and 27 deletions
+3 -1
View File
@@ -318,7 +318,9 @@
<div class="min-w-0 flex flex-col gap-1">
<div class="flex items-center gap-2 min-w-0">
<span class="inline-flex items-center rounded-lg border border-border bg-bg-muted/70 px-2.5 py-1 text-xs font-semibold uppercase tracking-wide text-text-muted">{{ vaultName() }}</span>
<h1 class="text-lg font-semibold leading-tight text-text-main">ObsiWatcher</h1>
<h1 class="text-lg font-semibold leading-tight text-text-main">
<a href="/" (click)="onAppTitleClick($event)" class="hover:underline">ObsiWatcher</a>
</h1>
</div>
@if (selectedNoteBreadcrumb().length > 0) {
<p class="truncate text-xs text-text-muted">{{ selectedNoteBreadcrumb().join(' / ') }}</p>