Skip to content

Add get-todos --page-type - #119

Merged
muellerei merged 1 commit into
mainfrom
feat/page-type
Oct 6, 2026
Merged

muellerei merged 1 commit into
mainfrom
feat/page-type

Conversation

@muellerei

Copy link
Copy Markdown
Owner

Adds get-todos --page-type journal|page (#118).

  • Keeps the tasks whose block stands on a journal page (journal) or on any other page (page). The option only narrows: with --from/--to a task still counts as in the range through a journal it was carried into by a block ref.
  • --page-type journal --no-follow-refs --to DATE gives "journal tasks older than a date" by the block's own day; help, epilog, docs/commands.md, AGENTS.md and CHANGELOG.md show it.
  • The filter reads the public journal_day field.
  • 15 new tests in tests/test_get_todos_page_type.py; each check was confirmed to fail with the filter removed, with the values swapped, and with a default value set.

Closes #118

…ck is on

--page-type journal|page keeps the tasks whose block stands on a journal page,
or on any other page. It only narrows: with --from/--to a task still counts as
in the range through a journal it was carried into by a block ref, so
--no-follow-refs stays the way to date a task by its own block's day. The
filter reads the public journal_day field. Help, epilog, command reference,
AGENTS.md and CHANGELOG show the "journal tasks older than a date" recipe.

Closes #118
@muellerei
muellerei merged commit 13bd7d0 into main Oct 6, 2026
6 checks passed
@muellerei
muellerei deleted the feat/page-type branch October 6, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get-todos can select tasks by the kind of page their block stands on

1 participant