diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-31 10:46:18 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-31 10:46:18 -0500 |
| commit | 27385697fbf60e3319a598bb509197f5579c9405 (patch) | |
| tree | bf09d7f0fc32701794cdc29ef91deecf5bc96f10 /README.org | |
| parent | 26cc4472dea261a1ad13fbee8fb6a91b019f77bb (diff) | |
| download | org-drill-27385697fbf60e3319a598bb509197f5579c9405.tar.gz org-drill-27385697fbf60e3319a598bb509197f5579c9405.zip | |
feat: add statistics dashboard CSV export and docs
org-drill-statistics-export-csv, bound to e in the dashboard and now implemented, writes three files into a chosen directory honoring the active scope and range: sessions.csv (one row per recorded session), cards.csv (one row per drill card in scope with its scheduling properties and computed status), and daily.csv (per-day reviews, passes, fails, pass percent, and duration). Fields are quoted per RFC 4180 by a small csv-quote helper, since csv-mode isn't a dependency. This is the dashboard's last piece, step 3 of the spec.
The row builders for the three views are pure and unit-tested with deterministic fixtures, and csv-quote covers the comma, quote, and newline cases. I documented the dashboard and the export in org-drill.org (a new section with the keymap, the CSV columns, and the settings table) and added a feature bullet to the README.
I also removed the now-redundant declare-function forward reference for export-csv. It named this file as the source, so once the real defun landed the byte-compiler counted the function twice and warned.
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -46,6 +46,7 @@ If you've been hitting any of those, this fork should help. - Cloze deletion with optional hints (=[hidden||hint]=) - Multi-file decks via Org's agenda-files mechanism, or per-directory scope - Session controls: maximum duration, maximum items per session, leech detection +- Statistics dashboard (=M-x org-drill-statistics=): overview, daily/weekly trends with sparklines, quality histogram, a needs-attention view (leeches, long-overdue, forgotten-new), and a 7-day forecast, with CSV export - LaTeX preview, inline images, and the rest of the Org rendering machinery just work inside drill sessions ** Installation |
