mirror of
https://github.com/sotashimozono/obsidian-remote-ssh.git
synced 2026-07-22 17:10:32 +00:00
Drives the metadataCache.getFileCache(file).listItems query shape that both Tasks (raw checkbox scan) and DataviewJS (arbitrary JS over the same cache) collapse to. Issue (#124 F14) calls for a 10-file fixture vault with mixed task states. Hot APIs exercised: - vault.getMarkdownFiles() — enumerate the indexable corpus - metadataCache.getFileCache(file).listItems — raw task records - metadataCache.getFileCache(file).frontmatter — for the DataviewJS "filter by tag" branch New: - plugin/tests/compat/fixtures/tasks/{01..10}-*.md — 10 fixtures spread across all-open, mixed, mostly-done, completed, large (10-task), single-task, empty, no-tasks, frontmatter-tagged, archived shapes. Total 18 open + 16 done across 8 files-with-tasks. - plugin/tests/compat/tasks.test.ts — 12 tests: - vault enumeration + per-file aggregate row count (10 each) - vault-wide totals (open=18, done=16, total=34, files-with=8) - per-file open/done counts match the fixture distribution - 100%-complete vs all-open file detection - DataviewJS-shape: filter by frontmatter tag, completion ratio, top-3 by open count docs/plugin-compatibility.md: added a new Tasks row in the main compat matrix marked "✅ verified-by-harness (#124 F14)" with a pointer to the test file. (Tasks was previously only listed in the basePath survey table — no main-matrix entry until now.) Counts: 52 test files / 734 pass / 1 Windows-skipped. This completes Phase E F11-F14. Only the nightly compat workflow (.github/workflows/compat.yml) remains as a follow-up in #124. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fixtures | ||
| CompatVault.ts | ||
| dataview.test.ts | ||
| excalidraw.test.ts | ||
| fixtures.ts | ||
| harness.test.ts | ||
| tasks.test.ts | ||
| templater.test.ts | ||