lumoe / obsidian-rollover-daily-todos

An obsidian plugin that rolls over todo items from the previous daily note
MIT License
247 stars 60 forks source link

Add various optional functionality #134

Open wallstop opened 5 months ago

wallstop commented 5 months ago

✓ Add toggle to include headings (defaults to off) in rollover- this is useful for my personal workflow. Right now items under heads are carried over, but the headings themselves are not. ✓ Add toggle to include bulleted items in rollover. Current behavior is that bulleted items (and sub items) of a TODO are carried over, but not top-level bullets. ✓ Add toggle to not roll over completed sub-todos ✓ Add toggle to filter child items of todos. Right now all are included. Respects above settings to check for headers and bullets. ✓ Added some tests around these scenarios ✓ Fixed existing broken tests. Two tests were expecting array of empty string when it should have been empty array, and another test wasn't expecting a completed child TODO, when it should actually be expecting it AFAICT. These tests are broken in latest master, prior to my changes.

Please let me know if this is something you'd consider merging, or if there's additional testing / other strategies for approaching these additions.