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
..
2026-06-15 10:52:34 +08:00
2026-06-06 18:23:47 +08:00
2026-06-09 01:11:51 +08:00
2026-06-06 18:27:00 +08:00
2026-06-07 15:28:37 +08:00
2026-06-15 09:19:26 +08:00
2026-06-15 17:24:56 +08:00
2026-06-15 18:42:37 +08:00
2026-06-08 14:15:37 +08:00
2026-06-15 10:52:34 +08:00
2026-06-15 10:52:34 +08:00
2026-06-03 09:16:38 +08:00
2026-06-15 17:24:56 +08:00
2026-05-30 18:58:47 +08:00
2026-05-30 18:58:47 +08:00
2026-06-07 14:59:46 +08:00
2026-06-05 00:48:12 +08:00
2026-05-30 18:42:19 +08:00
2026-06-03 02:05:53 +08:00