isseii1020 downloadsLeave a trail of when each task was started, finished or dropped: click a checkbox to move it to its next state, and the time is stamped on the line.
An Obsidian plugin that leaves a trail of when each task was started, finished or dropped. Click a checkbox to move the task to its next state (by default [ ] → [~] → [x] → [-] → [ ]), and the time is stamped at the end of the line.
[~] appends 🛫 YYYY-MM-DD HH:mm, and switching to [x] appends ✅ YYYY-MM-DD HH:mm (the same emoji as the start and done dates of the Tasks plugin)[ ], turn on "Clear times when unchecked"This plugin has one purpose: a record of when, and how far, each task progressed. Cycling the checkbox and stamping the time are the two halves of that, and it does nothing beyond them.
[!] important, [*] star or [?] question, are left to themes and other plugins.Open Settings → Community plugins → Task Trail. The defaults give the behavior described above.
| Setting | Default | Description |
|---|---|---|
| States | [ ], [~] 🛫, [x] ✅, [-] |
The cycle, in order. Each state has a symbol (the character between the brackets) and a mark (see below), both chosen from a list. Reorder with the arrows, add with "Add state", remove with the trash icon. "Reset to default" restores the default cycle |
| Time format | YYYY-MM-DD HH:mm |
A moment.js format. Empty resets it to the default |
| Clear times when unchecked | Off | When a task goes back to [ ], remove every "mark time" added with the configured marks. A mark not followed by a time, and text such as other plugins' dates, is left alone |
| Checkbox styles | Off | Draws each state differently (see below). Leave off if your theme or a CSS snippet already styles these states, since these styles would override it |
| Checkbox clicks: Live Preview | On | When off, clicking a checkbox in Live Preview gets Obsidian's default behavior (or another plugin's, such as Tasks) |
| Checkbox clicks: Reading view | On | The same for Reading view |
[ ] to do, [x] done, [~] in progress, [/] in progress, [-] cancelled, [>] forwarded, [<] scheduled. Only states a task moves through are offered; markers such as [!] important or [*] star are left to themes and other pluginsdata.json is kept and shown as "(custom)"🛫 2026-01-0) still counts as a time, so no new time is added; fix it by hand. It cannot be told apart from a time in an earlier format, which must not be overwritten. "Clear times when unchecked" removes incomplete times as wellmousedown / click on document in the capture phase, so they conflict with other plugins that handle checkbox clicks, such as Tasks. Turn them off when using such a pluginObsidian draws the checkbox of every state other than [ ] like [x], and strikes through only [x] lines. Turn on "Checkbox styles" to use styles.css:
| State | Checkbox | Text |
|---|---|---|
[~] [/] |
Left half filled | Normal |
[-] |
Grey, minus sign | Struck through, faint |
[>] |
Cyan, right arrow | Normal |
[<] |
Blue, left arrow | Normal |
[x] and other symbols keep Obsidian's look.
Add isseii10/obsidian-task-trail in BRAT.
The plugin is main.js itself and needs no build. It is type-checked with TypeScript (// @ts-check and JSDoc, against the obsidian type definitions) without being compiled. The tests check the line editing (cycling, stamping, clearing) with Node's test runner. test/cases.json lists the cases as input and expected output.
Use the same Node as Obsidian (24, pinned in mise.toml).
npm install # dev tools only: moment, typescript and type definitions
npm run typecheck
npm test
npm run build only checks the syntax of main.js: there is no build, but the community plugin directory reproduces releases by running a build script, and with this one the released main.js is the committed file as is.
CI (.github/workflows/test.yml) runs the same checks on every push and pull request, and on a tag also checks that the tag matches manifest.json's version.
Bump version in manifest.json, commit, and push a tag of the same name.
git tag X.Y.Z && git push origin X.Y.Z
CI then runs the checks, attests main.js, manifest.json and styles.css (GitHub artifact attestations, recommended by the community plugin directory), and creates a draft release with them attached. Edit its notes and publish it. Anyone can verify a downloaded file with gh attestation verify main.js --repo isseii10/obsidian-task-trail.