Skip to content

fix(commands.create_todo_today): support rollover for multiple headings with configuration#57

Merged
y3owk1n merged 2 commits intomainfrom
support-multiple-headings
Apr 13, 2025
Merged

fix(commands.create_todo_today): support rollover for multiple headings with configuration#57
y3owk1n merged 2 commits intomainfrom
support-multiple-headings

Conversation

@y3owk1n
Copy link
Owner

@y3owk1n y3owk1n commented Apr 13, 2025

This change enables user to configure not just one heading but multiple
headings that to be rolled over if any. Note that it only supports h2
for now.

Rolled over todos will follow the previous todo's headings and group
them properly.

If the previous has some heading specified but doesn't exist in the
target, it will get appended at the bottom of the target with rollover
details if any.

If the config has some headers configured that doesn't exist in the
previous, it will get ignored.

y3owk1n and others added 2 commits April 13, 2025 15:25
…gs with configuration

This change enables user to configure not just one heading but multiple
headings that to be rolled over if any. Note that it only supports `h2`
for now.

Rolled over todos will follow the previous todo's headings and group
them properly.

If the previous has some heading specified but doesn't exist in the
target, it will get appended at the bottom of the target with rollover
details if any.

If the config has some headers configured that doesn't exist in the
previous, it will get ignored.
@y3owk1n y3owk1n merged commit dee260d into main Apr 13, 2025
3 checks passed
@y3owk1n y3owk1n deleted the support-multiple-headings branch April 13, 2025 07:26
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.

1 participant