verstak/internal/core/notes
mirivlad bfe57ac0ac Files tab: .md → note editor via CheckFileAction + frontend
Backend:
- FindByFileID: notes+files JOIN query
- LinkFile: INSERT OR IGNORE notes record
- CheckFileAction binding: note/preview/external/auto-link

Frontend (App.svelte):
- Import isMarkdownFile from fileUtils
- openPreview now calls CheckFileAction for .md files
- .md+note → switch to Notes tab + note editor
- .md outside Notes/ → inline preview
- non-.md → unchanged

Tests: 7 new (FindByFileID×3, CheckFileAction×4), all PASS
2026-06-15 18:42:37 +08:00
..
note.go Files tab: .md → note editor via CheckFileAction + frontend 2026-06-15 18:42:37 +08:00
note_path_test.go fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00
note_rename_test.go fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00
note_repair_test.go Files tab: .md → note editor via CheckFileAction + frontend 2026-06-15 18:42:37 +08:00
note_test.go fix: stabilize markdown notes — internal link modal, rename UI, trash integration 2026-06-15 09:19:26 +08:00