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/models/types.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'internal/models/types.go') diff --git a/internal/models/types.go b/internal/models/types.go index fab732f..d9e955b 100644 --- a/internal/models/types.go +++ b/internal/models/types.go @@ -17,16 +17,6 @@ type Task struct { CreatedAt time.Time `json:"created_at"` } -// Note represents a note from Obsidian -type Note struct { - Filename string `json:"filename"` - Title string `json:"title"` - Content string `json:"content"` // First 200 chars or full content - Modified time.Time `json:"modified"` - Path string `json:"path"` - Tags []string `json:"tags"` -} - // Meal represents a meal from PlanToEat type Meal struct { ID string `json:"id"` @@ -83,7 +73,6 @@ func (cm *CacheMetadata) IsCacheValid() bool { // DashboardData aggregates all data for the main view type DashboardData struct { Tasks []Task `json:"tasks"` - Notes []Note `json:"notes"` Meals []Meal `json:"meals"` Boards []Board `json:"boards,omitempty"` TrelloTasks []Card `json:"trello_tasks,omitempty"` -- cgit v1.2.3