From 07ba815e8517ee2d3a5fa531361bbd09bdfcbaa7 Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Tue, 20 Jan 2026 11:17:19 -1000 Subject: Remove Obsidian integration for public server deployment Obsidian relied on local filesystem access which is incompatible with public server deployment. This removes all Obsidian-related code including: - API client and interface - Store layer methods (SaveNotes, GetNotes, SearchNotes) - Handler methods and routes - UI tab and templates - Configuration fields - Related tests Co-Authored-By: Claude Opus 4.5 --- internal/handlers/tab_state_test.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'internal/handlers/tab_state_test.go') diff --git a/internal/handlers/tab_state_test.go b/internal/handlers/tab_state_test.go index d3f0fce..a4f6d23 100644 --- a/internal/handlers/tab_state_test.go +++ b/internal/handlers/tab_state_test.go @@ -30,7 +30,7 @@ func TestHandleDashboard_TabState(t *testing.T) { } // Create handler - h := New(db, todoistClient, trelloClient, nil, nil, cfg) + h := New(db, todoistClient, trelloClient, nil, cfg) // Skip if templates are not loaded (test environment issue) if h.templates == nil { @@ -51,13 +51,6 @@ func TestHandleDashboard_TabState(t *testing.T) { expectedActive: `class="tab-button tab-button-active"`, expectedHxGet: `hx-get="/tabs/tasks"`, }, - { - name: "notes tab from query param", - url: "/?tab=notes", - expectedTab: "notes", - expectedActive: `class="tab-button tab-button-active"`, - expectedHxGet: `hx-get="/tabs/notes"`, - }, { name: "planning tab from query param", url: "/?tab=planning", -- cgit v1.2.3