From 806b552d473bcdde24554e487ec31328a7abdd0e Mon Sep 17 00:00:00 2001 From: Test Date: Sun, 5 Apr 2026 13:44:18 +0200 Subject: [PATCH] fix: default sidebar section to Inbox on app launch and vault switch Changed DEFAULT_SELECTION from 'all' (All Notes) to 'inbox' so the app always opens on the Inbox section. During a session the user's navigation is preserved; on next launch or vault switch it resets to Inbox. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 56d2138c..23938861 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -70,7 +70,7 @@ declare global { } } -const DEFAULT_SELECTION: SidebarSelection = { kind: 'filter', filter: 'all' } +const DEFAULT_SELECTION: SidebarSelection = { kind: 'filter', filter: 'inbox' } /** Wraps useEditorSave to also keep outgoingLinks in sync on save and on content change. */ function App() {