Commit Graph

9 Commits

Author SHA1 Message Date
lucaronin
2ca8f1b2a6 fix: remove legacy title section fallback 2026-04-11 23:51:58 +02:00
lucaronin
db4359981f fix: update rename filename wikilinks 2026-04-10 20:20:08 +02:00
lucaronin
e7fe938b03 test: keep the smoke gate on stable app flows 2026-04-08 10:45:08 +02:00
lucaronin
616952bdaa test: stabilize smoke lane and timer-heavy tests 2026-04-08 10:22:47 +02:00
lucaronin
e3eb774757 test: stabilize the pre-push smoke lane 2026-04-08 10:01:34 +02:00
lucaronin
be57656d75 test: stabilize the smoke lane 2026-04-08 09:50:14 +02:00
lucaronin
c68c0a6c10 test: slim the pre-push smoke lane 2026-04-07 19:22:11 +02:00
lucaronin
cd39070569 fix: remove H1 heading from new note editor body
Title is already shown as a separate UI element above the editor,
so the H1 in the body was a visual duplicate. New notes now have
an empty editor body. Daily notes and type entries also no longer
get an H1 inserted.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 18:29:02 +02:00
lucaronin
5107cd13f4 test: add real filesystem vault integration tests
Replace mock vault approach with real filesystem I/O for integration
tests. Each test copies tests/fixtures/test-vault/ to a temp directory,
overrides mock handlers to point at it, and verifies actual file
operations through the vite dev server middleware.

Tests cover: vault loading, archive/trash filtering, note creation,
rename with filesystem update, wikilink cascade on rename, relationship
display, and real file content loading.

Also extends vite.config.ts vault API middleware with write endpoints
(save, rename, delete, search, entry) and fixes getBool to handle
YAML 1.2 string values like "Yes"/"yes" (js-yaml 4.x compatibility).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 21:24:44 +01:00