diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-20 11:17:19 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-20 11:17:19 -1000 |
| commit | 07ba815e8517ee2d3a5fa531361bbd09bdfcbaa7 (patch) | |
| tree | ca9d9be0f02d5a724a3646f87d4a9f50203249cc /web/templates/partials/notes-tab.html | |
| parent | 6a59098c3096f5ebd3a61ef5268cbd480b0f1519 (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 'web/templates/partials/notes-tab.html')
| -rw-r--r-- | web/templates/partials/notes-tab.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/web/templates/partials/notes-tab.html b/web/templates/partials/notes-tab.html deleted file mode 100644 index df844cf..0000000 --- a/web/templates/partials/notes-tab.html +++ /dev/null @@ -1,36 +0,0 @@ -{{define "notes-tab"}} -<div class="space-y-10"> - <!-- Error Messages --> - {{template "error-banner" .}} - - <!-- Search Bar --> - <div class="mb-6"> - <input type="text" - name="q" - placeholder="Search notes..." - class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-obsidian focus:border-transparent" - hx-get="/tabs/notes" - hx-trigger="keyup changed delay:300ms" - hx-target="#notes-results" - hx-indicator="#search-indicator"> - </div> - - <!-- Notes Results --> - <div id="notes-results"> - {{if .Notes}} - {{template "obsidian-notes" .}} - {{else}} - <div class="text-center py-20"> - <svg class="mx-auto h-16 w-16 text-gray-400" fill="none" stroke="currentColor" viewBox="0 0 24 24"> - <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" - d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z" /> - </svg> - <h3 class="mt-6 text-xl font-medium text-gray-900">No notes found</h3> - <p class="mt-2 text-sm text-gray-500 max-w-md mx-auto"> - Configure your Obsidian vault path in the settings to see your recent notes displayed here. - </p> - </div> - {{end}} - </div> -</div> -{{end}} |
