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 18:42:37 +08:00
2026-06-15 18:42:37 +08:00
2026-06-04 00:37:14 +08:00
2026-06-07 14:59:46 +08:00
2026-06-07 14:59:46 +08:00
2026-06-06 18:58:39 +08:00
2026-06-05 12:29:19 +08:00
2026-06-05 12:29:19 +08:00
2026-06-08 11:45:35 +08:00
2026-06-08 12:34:14 +08:00
2026-06-15 18:42:37 +08:00
2026-06-05 16:17:22 +08:00
2026-06-15 10:52:34 +08:00
2026-06-15 17:24:56 +08:00
2026-06-15 17:24:56 +08:00
2026-06-08 12:26:43 +08:00
2026-06-15 10:52:34 +08:00
2026-06-05 12:37:25 +08:00
2026-06-04 00:37:14 +08:00
2026-06-15 09:19:26 +08:00
2026-06-07 00:15:34 +08:00
2026-06-05 12:37:25 +08:00
2026-06-05 12:29:19 +08:00
2026-06-04 19:44:28 +08:00
2026-06-05 07:33:10 +08:00
2026-06-04 00:37:14 +08:00
2026-06-03 05:27:20 +08:00
2026-06-08 00:14:49 +08:00
2026-06-04 03:28:32 +08:00
2026-06-04 00:37:14 +08:00
2026-06-15 17:24:56 +08:00
2026-06-05 00:48:12 +08:00
2026-06-15 17:24:56 +08:00
2026-06-04 00:37:14 +08:00
2026-06-15 18:42:37 +08:00
2026-06-15 17:24:56 +08:00
2026-06-04 00:37:14 +08:00
2026-06-03 01:48:12 +08:00