diff --git a/TMP/DevLog.md b/TMP/DevLog.md index 6f1b523..c76cc88 100644 --- a/TMP/DevLog.md +++ b/TMP/DevLog.md @@ -11,6 +11,16 @@ tags: [devlog] ## What I did - +## Files touched today +```dataview +TABLE WITHOUT ID file.link AS "Note", file.mtime AS "Modified" +WHERE file.mtime >= date(this.file.name) AND file.mtime < date(this.file.name) + dur(1d) + AND file.path != this.file.path + AND file.folder != "TMP" +SORT file.mtime DESC +``` + + ## Code review notes Reviewer feedback and what I changed because of it. diff --git a/docs/workflows/english-workflow.md b/docs/workflows/english-workflow.md index 0aebe1b..273a196 100644 --- a/docs/workflows/english-workflow.md +++ b/docs/workflows/english-workflow.md @@ -8,6 +8,16 @@ Rust is learned through English, English through Rust. - **Commit messages in English** — Conventional Commits format forces short, structured sentences. - **DevLog entry** (10 min, last step of every session): 3–5 sentences about what you did, in English. Don't translate from Russian in your head — describe the code, not the feelings. + Obsidian **Daily notes** is wired to this habit: folder `docs/devlog`, filename `YYYY-MM-DD`, + template `TMP/DevLog.md` — open today's note via the ribbon calendar icon or the command + palette ("Daily notes: Open today's daily note"). The config lives in `.obsidian/` + (gitignored), so re-create it manually on a new machine. +- Each DevLog auto-renders a **"Files touched today" table** (Dataview community plugin, v0.5.70, + installed in `.obsidian/plugins/dataview/`). The query filters by `file.mtime` inside the day + taken from the note's own filename, so every past entry shows its own day, not "today". + Caveat: `mtime` shows the *last* touch — a note edited again later moves to the newer day's + table. For the true change history of code files (`.rs` is not indexed by Dataview) use git: + `git log --since="00:00" --name-only --pretty=format:`. - **Read error messages and docs in English only.** Never switch the compiler or Rust Book to Russian. ## Weekly habits