lumoe / obsidian-rollover-daily-todos Goto Github PK
View Code? Open in Web Editor NEWAn obsidian plugin that rolls over todo items from the previous daily note
License: MIT License
An obsidian plugin that rolls over todo items from the previous daily note
License: MIT License
The plugin was working fine (on MacOs Desktop)
Set up new Desktop vault per iCloud sync instructions for iOS Mobile App.
Copied old files to new vault. (Path change)
Re-added plugins and now no rollover function (Desktop and iOS) and settings not visible.
Hi! I want to start using your plugin, I think it might be really useful.
I have one problem though. I also put my habits and trackers in my daily note, and I don't check all of them. But I don't want them to rollover into the new daily note. Thanks!
Just like cut instead of copy.
I'd like to use the "Delete todos from previous day" feature, and if i understood correctly it should be accessible from the settings screen from Obsidian preferences Plugin Options, however that screen is totally blank for me when I select the plugin. There are no plugin settings loading for me for this plugin it seems. Is this normal?
I tried to change my settings, but it appears as a blank menu.
Suddenly my ""Rollover Daily Todo" stopped rolling over anything from the previous day on my Mac .
Using Obsidian v1.0.3 with Rollover 1.1.3 .
I also have Teamplater 1.16.0 installed .
Is this a known issue
It would be great if there was a way to set RDT to either only look at items under the select heading, or to ignore a/some headings. In my use case, I have a Todos heading where I add items, but I also have a Daily Tasks heading that is defined in my template with a set of things that I'd ideally get done every day.
I might not actually get them all done though, and right now RDT will add them to my Todos list on a new day, which is redundant with the new day's Daily Tasks that the template adds. Ideally I could configure RDT to ignore the Daily Tasks heading, or to only look at items in the Todos heading, where it currently adds the rollover items.
I installed this plugin and attempted to use it, however, I cannot get it to 'trigger' the roll over.
I create a daily note for 'tomorrow' at the end of the day and would like to be able to 'trigger' the roll over to happen either when I create 'tomorrow' note or in the morning.
Is this something this can do?
I use Obsidian on 3 different devices (Ubuntu Desktop, Ubuntu Laptop, Android Phone), and I synchronize my vault between those devices via Syncthing.
Consider the laptop/desktop devices for now, just to remove Android from the equation: When I create a new daily note on my desktop, the Todos from the previous day correctly roll over. However, if I wait for the files to sync and I open the same file in Obsidian on my laptop, the rollover is triggered again. If I don't happen to notice this right away, it results in the entire set of Todos being duplicated in the current daily note.
I've experimented with this on my mobile device too and observed the same thing. It seems odd to me that the rollover is triggered when opening the existing note, rather than just when the note is first created on a given device.
I've observed some other quirks like my creation dates not properly by synchronized by Syncthing, but I is this metadata used by this plugin when doing an automatic rollover? If so, should there not be some sort of indicator that a sync already took place anyway?
describe:
When I use the "Periodic Notes" plug-in to create a journal based on the template, rollover occurs , but it will be automatically deleted.
shortcuts:
OS:Mac
I name the first rollover, normal rollover. And the second rollover, shadow rollover.
If I delete the daily note and renew another one, the bug will appear. Shadow rollover always comes after normal rollover about a few seconds.
And I tried disabling the safe mode without disabling the plugin first, strangely the shadow rollover comes. I am sure that is the plugin operations because the todos appear at the header level which I specified.
If I tried disabling the safe mode after disabling the plugin first, the shadow rollover will disappear.
It nearly drives me mad.😭
I'm on Mac and iOS. Newest update to this plugin breaks functionality
I know there are issues with plug-in support on android am not sure what the cause is. Seems like either obsidian doesnt want to preform some action or the plugin needs to be forked for android.
Hello, I am testing your plugin, and I do not think it works anymore.
I have two files, both named in YYYY-MM-DD format. I am using Periodic notes and it is configured properly. I have some todo/checkbox lines in the old-date file which are unchecked. I trigger your command to rollover the todos, but all that happens is that a line is created into the new-date file as an unchecked checkbox with no text. The old-date file does not look changed at all. There are also no blank checkbox lines in the old-date file, so it could not be copying them as-is.
Obsidian v1.1.12.
No other plugins installed, besides Rollover Daily Todos and Periodic Notes.
If needed, I can provide a screen capture.
I typically have several nested tasks, and when they're rolled over the hierarchy gets flattened, leading to a bit of manual effort.
On my end I just updated the regex used to find them, preserving whitespace:
const unfinishedTodosRegex = /\t*- \[ \].*/g;
My tasks from my daily note were not rolling over into the new daily note and I suspected it was due to the Outliner plugin installed and enabled.
I deleted the current day's daily note, disabled the Outliner plugin, recreated the Daily Note and saw that the previous day's tasks successfully rolled over.
This is on a Windows 11 PC.
Rollover works fine when used with a simple date-format in the core plugin Daily Notes, e.g. YYYY-MM-DD
However, Daily Notes allows the user to apply more complicated formats like YYYY/MM/YYYY-MM-DD, which automatically places the daily note in a folder of the current year, and a subfolder of the current month. In this case the plugin doesn't work.
So the choice is between copying the non-finished tasks manually or changing the subfolder manually each month.
Is there a way to have both?
This plugin is fantastic! Problem is that on mobile it doesn't work (only when I create a new daily note from windows).
I use android with obsidian 0.1.1
I use Periodic Notes and not the core Daily Notes plugin. I don't want to have the Daily Notes plugin enabled. Can you allow the path to the Daily Notes folder to be manually configured?
In order to increase maintenance and future development of the plugin, it will undergo a complete rewrite. The improvements include (1) modularization of the codebase, (2) switch to TypeScript, (3) use pnpm as the main package manager and (4) add unit testing. @tim-hilt has already implemented most of the things in his fork and we will start the integration in the following procedure.
release-2.0
branchReporting errors template
Installation instructions for new release:
release-2.0
branch into your path/to/vault/.obsidian/plugins/
folderpnpm install
pnpm build
will build the project.I believe rollover only works for daily notes, whether through the core plugin or the periodic notes plugin. Would it be possible to also enable rollover for weekly or monthly notes?
using latest insider ObsidianMD, the plugin does not place still-open daily note to-dos (from the note created by that other plugin) into the new, next day’s, daily note (again using that same plugin) at any place in the new note, including the new note's template section as specified in the rollover plugin settings…
any suggestion?
Current behavior
If I roll over something like this
# 2022-11-29
- [x] Something not as important
- [ ] Something important
- A note for the solution strategy
only the open todo-item get's rolled over:
# 2022-11-30
- [ ] Something important
even worse: If Delete todos from previous day
is enabled, the previous daily note looks like this:
# 2022-11-29
- [x] Something not as important
- A note for the solution strategy
which is alters the meaning of the completed todo-item.
Suggested behavior
It would be a sensible default (in my opinion), if the plugin only watches the root-level of the markdown-file and rolls over all the todo-items that it finds there along with their children:
# 2022-11-29
- [x] Something not as important
- [ ] Something important
- A note for the solution strategy
will result in:
# 2022-11-30
- [ ] Something important
- A note for the solution strategy
If the user doesn't want this behavior, they could still head to the settings and deactivate roll over todos including children
(which is enabled by default) to get back the previous behavior.
I'm currently working on adding a setting which when enabled will
I have made the filter, but need to set up the rest of the feature. I also don't know how well it will work with the other settings and will need to test.
I was planning to use this for personal use, but would be willing to make a pull request to make it an option once I have it finalized. Would anyone use this feature?
This repository doesn't have topics set such as obsidian
, obsidian-md
, obsidian-plugin
which leads to less reach. Please add these topics, so Obsidian users can easily find the repository for this great plugin! 😊
For compatibility with https://github.com/mgmeyers/obsidian-kanban , could TODO items be kept in the same H2 section if possible?
Right now, this is what happens:
## #todo
- [ ] Pre-existing todo
## #todo in progress
- [ ] Pre-existing todo in progress
## Done
**Complete**
- [ ] Todo from yesterday
- [ ] Todo in progress from yesterday
Ideally, this is what should result:
## #todo
- [ ] Pre-existing todo
- [ ] Todo from yesterday
## #todo in progress
- [ ] Pre-existing todo in progress
- [ ] Todo in progress from yesterday
## Done
**Complete**
A suggestion to make the rollover of tasks more clear: an option to mark the item as complete and strike out the text to show it was not done, but is no longer valid.
There seems to be somewhat inconsistent behavior around when previous todos are picked up or not, but I only mention that in case it is linked...
The main concern on this issue is that when check boxes where previously in an Obsidian callout (detailed here: https://help.obsidian.md/How+to/Use+callouts) and placed inside another callout, they do not keep the leading '>' which results in a broken callout view. The solution is to manually add the > line by line.
A better solution would be that when a todo is rolled over, it potentially keep the entire line? Maybe this could be an optional toggle in so that it can be enabled only when required.
Incorrect:
>[!ToDo] Tasks
- [ ] ToDo1
- [ ] ToDo2
>
Correct:
>[!ToDo] Tasks
>- [ ] ToDo1
>- [ ] ToDo2
>
For interest sake, I notice the same result happens here in github:
[!ToDo] Tasks
- ToDo1 (correct)
Hi! Thanks for creating an awesome plugin. It usually works great, but lately I've noticed an issue where when I open a new daily note, todos roll over twice, i.e. create duplicates. So the previous day's list will end up looking like this on the current note:
- todo1
- todo2
- todo3
- todo1
- todo2
- todo3
I'm using Obsidian on three devices and wondering if maybe I'm encouraging some weird syncing problems by doing so. Any thoughts would be appreciated!
Hi,
From the documentation of the periodic notes plugin i grabbed the idea to put all my daily notes in folders which represent the calendar week. In order to do this i use this format pattern for daily notes
/[KW]ww/DD-MM-YYYY (dd)
This produces files like this
KW39 (Folder)
But when I do this the rollover plugin does not seem to find the previous daily note. As soon as I use the default format pattern it works again. Any idea?
Hi there,
Let me know what other details you require.
Thanks for this great plugin! I'm requesting an augmentation that allows me to manually run the plugin. Sometimes, I'll create a daily note for a future day using the calendar plugin. When the day comes up, it will not inherit the todos from the previous day. A simple command that, when run from the current daily note, will pick off the unchecked todos from the previous day would help immensely!
Thanks for your consideration!
I'm using this in conjunction with the Tasks plugin. I always make sure to set a date on any task in a daily note, so that any task that hasn't been rolled over can be surfaced as overdue, but also to list upcoming tasks etc.
When rolling over tasks in a daily note that is formatted with date, the date isn't changed and as such will appear wrong if queried. In my case I pull in tasks using Tasks plugin from other notes with this date, and a such a rolled over task with date formatting will still appear in the daily note, even if it now lives in the daily note it rolled over to.
My request is therefore if it would be possible to look for 📅 YYYY-MM-DD in a task when rolling over, and if found, change it to the date that the daily note has which it is rolling over into.
Thanks for a great plugin!
@shichongrui I can see you've recently updated the README to indicate this is no longer supported, I was hoping you'd be willing to transfer ownership to myself.
I was looking to fork the repo anyway as I'd like to attempt to solve rolling todos over under subheadings & supporting directories in the file path for my own use case. While I've not owned an OS project like this before I believe I'd be able to support reasonably well and as someone that uses it daily it's in my best interest to try and keep this up to date 😄
I had some trouble using this plugin in combination with Templater. I tried using it with "trigger templater on new file creation". Templater wants to only work on empty files, and this seems to interfere with "rollover daily todos".
As a workaround, I recreated some of the functionality of "rollover daily todos" by copying a bit of code and making it available as a templater "user script", pasting the gist to make it possible for others to find a workaround in case they stumble upon this :-)
https://gist.github.com/lenalebt/8e58aa21392c388d8c7d65bad3206e35
The core Daily notes plugin supports setting a custom date format, in my case that would be YYYY-MM-DD dddd
(it includes the day of the week).
This plugin however checks the filename by using the getISOFormattedDate which would always return YYYY-MM-DD
:
https://github.com/shichongrui/obsidian-rollover-daily-todos/blob/master/index.js#L54
The solution can be to read the Daily notes plugin setting and using momentjs (which is what Obsidian uses) to render the date instead of doing it manually.
This is a great plugin and has made the beginning of a new day much easier.
I am currently using it with the Calendar plugin.
It could be better if the unchecked TODO's can be carried to an existing daily note because I will pre-create a daily note to set scheduled events.
When I start Obsidian (I have created daily notes for today yesterday), the unchecked to-do's does not append to the heading, which is expected. When I open the settings to check the plugin settings, I find that ONLY this page turns totally blank.
The workaround I have done:
Is this a bug with this plugin or with Obsidian?
This is kind of a big ask, and I don't really expect this to be implemented anytime soon, but it would be really nice if to-dos could be rolled under the same heading they were under previously.
Here's one implementation that I thought of:
I'd greatly appreciate if something like this was implemented! Thanks!
I always find it amusing that people assume the end of the workday is midnight for everyone. Developers especially should know better 😄
Would it be possible to configure the automatic rollover time to something other than midnight? (I would set mine to 11am, actually)
Or at least, give an option to disable automatic rollover so that I can just invoke it manually every day.
Thanks!
I usually have some additional information on open todos in content blocks below a todo, which are left dangling in the old file now, e.g.
- [ ] call support for the state of the networking issue <-- should be rolled over
- ticket number is 1785 <-- should be rolled over, because it's additional information
- staffer was named Max Pain <-- should be rolled over, because it's additional information
- [ ] try to get his phone extension for direct calls? <-- should be rolled over, because it's additional information
- some unrelated information that should NOT be rolled over, because it's on the same level as the todo
I work Mon - Fri, and I love making Daily ToDo lists. During the week, my incomplete notes from (for e.g.) Tuesday to Wednesday roll over just fine, but any incomplete ToDo's from a Friday, will not roll over to a Monday (of the following week) as technically... Friday was not "yesterday".
Would be nice if this plugin had an option to allow you to rollover incomplete notes from the 'previous daily note'... instead of strictly "yesterday" only.
Hi, I think you might benefit from using the obsidian-daily-note-interface
npm package that I author. It reads the entire daily note config and sanitizes it so it might simplify your code a bit.
It also uses the configured Daily Note format which seems to be missing from your code.
Let me know if you have any questions!
Amazing plugin!
Just one thing that could be really helpful: I have tasks under a heading that I have specified in the settings. I would like that only the tasks under that particular heading be rolled over to the next day and not those of the whole note.
For instance, if my template looks like this:
Big header
Something Something
- Task 1
- Task 2
ToDo
- Task 3
- Task 4
Something Else
- Task 5
BlablaBig header 2
- Task 6
- Task 7
Would it be possible to only rollover what is under the ToDo heading (e.g. Tasks 3 & 4) and nothing else?
Cheers
Probably related to #54
I often split my to-dos (especially my work ones) into sub items.
e.g.
- [ ] Implement new code feature
- [ ] Do the code
- [ ] Write the documentation
- [ ] Get Approval in the PR
When they roll over, they are all flattened - which means i end up going back to the previous day's notes and copy-pasting instead.
Would be great if indentation was preserved
Would be cool if there was an option to include a counter next to any todo items that rollover, so I can see how many days I've been putting a task off. For a bit of fun, an option where the counter is replaced by a frog emoji if a number of days (user configurable) is reached to remind me to 'eat that frog'.
For example:
Couldn't see how to flag this as an enhancement.
Hey there,
This plugin looks great! I installed it earlier and I've spent a fair while fiddling with the settings, text layouts, etc. but to no avail. I can't seem to get it to work at all... The settings are definitely correct, the naming of daily notes is correct, and even the structure of tasks is correct (I checked each for matches to the stated RegEx query, and all of the incomplete ones matched perfectly). So I'm not sure what the issue could be, if it's my side or something with the plugin.
If it means anything, I've recently begun using the Live Preview mode for Obsidian, which I've noticed has caused some other plugins to break, so that could be a potential?
Let me know if there's any more specifics or information you need!! 😄
I find myself using this plugin to move todos from any page I am on, into my current daily note. In the process, I can see a lot of value in "no extra steps" being done right then, because the todo is moved out of the original location (it no longer exists there), once the rollover command has been triggered.
This would help the plugin to live beyond the confines of rolling over just "yesterday", and allow the user to move todos from anywhere else into their daily note at will.
Would this be possible?
I just don't have enough time to keep up with the rapid changes in obsidian and obviously, this is negatively affecting many users of the plugin so if there is someone who would like to contribute. I will make them a contributor.
Hi
Just wondering if this plugin is still supported ?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.