summaryrefslogtreecommitdiff
path: root/internal/handlers/tab_state_test.go
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-20 11:17:19 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-20 11:17:19 -1000
commit07ba815e8517ee2d3a5fa531361bbd09bdfcbaa7 (patch)
treeca9d9be0f02d5a724a3646f87d4a9f50203249cc /internal/handlers/tab_state_test.go
parent6a59098c3096f5ebd3a61ef5268cbd480b0f1519 (diff)
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 <noreply@anthropic.com>
Diffstat (limited to 'internal/handlers/tab_state_test.go')
-rw-r--r--internal/handlers/tab_state_test.go9
1 files changed, 1 insertions, 8 deletions
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 {
@@ -52,13 +52,6 @@ func TestHandleDashboard_TabState(t *testing.T) {
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",
expectedTab: "planning",