Coder Social home page Coder Social logo

obsidian-rollover-daily-todos's People

Contributors

adityavm avatar ianwaldrop avatar jasonho1308 avatar kjellconnelly avatar lumoe avatar mlkristiansen avatar narbulus avatar ovo-saxon-zerbino avatar samxsmith avatar shichongrui avatar tim-hilt avatar tobiasvl avatar ykrx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

obsidian-rollover-daily-todos's Issues

No rollover or settings after new vault for mobile

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.

[FR] Exclude todos below a certain header

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!

Blank Settings - Solution: remove spaces in template path

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?

image

Version 1.1.3 Stopped working

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

Support exclude some checkboxes

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.

What is the Trigger for this Plugin

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?

Duplicate Todos being rolled over when using multiple devices

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?

Sometimes daily todos will rollover twice

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.😭

Roll over command not working on android

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.

Plugin no longer working, only creates empty checkbox line

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.

Preserve indentation

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;

Incompatibility with Outliner plugin

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 doesn't occur with more complicated date-formats

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?

Configurable Daily Notes Path

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?

2.0 Release - Feedback wanted

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.

  1. @tim-hilt s work will be integrated in the release-2.0 branch
  2. New version will be developed in this branch
  3. We want to invite as many testers as possible to test out the new release and provide us feedback.

Reporting errors template

  1. Obsidian version:
  2. All settings from your Daily notes or Periodic Notes plugin :
  3. Commit Hash:

Installation instructions for new release:

  1. Download or clone the release-2.0 branch into your path/to/vault/.obsidian/plugins/ folder
  2. Run pnpm install
  3. pnpm build will build the project.

Also enable rollover for weekly notes

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?

not operating…

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?

Feature Request: Option to roll over todos with their children

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.

Maintaining of Formatting

I'm currently working on adding a setting which when enabled will

  • Get content only from the specified heading within yesterday's note - The one under the first setting
  • Filter out the marked check boxes
  • Paste all content underneath the header in the new daily note

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?

[github]: missing topics

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! 😊

Compatibility with Kanban plugin: keep TODOs in same sections if possible

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**

Incompatibility with Obsidian Callouts

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
>

Screenshot 2022-10-11 134358 Incorrect

Correct:

>[!ToDo] Tasks
>- [ ] ToDo1
>- [ ] ToDo2
>

Screenshot 2022-10-11 134429 Correct

For interest sake, I notice the same result happens here in github:

[!ToDo] Tasks

  • ToDo1 (correct)
  • ToDo2 (incorrect)

Todos roll over twice

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!

Daily todos will not rollover if format includes a dynamic folder

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)

  • 10-09-2021 (Fr)
  • 11-09-2021 (Sa)
  • 12-09-2021 (So)

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?

No "to do" items / check boxes are coming over with the next daily note

Hi there,

  • I've installed / activated your plugin
  • Added "## To do" to my daily note template
  • selected 'To do' from your plugin settings
  • yesterday, I had items on the list under the To Do header list, both directly under and under ### sublevel headings
  • delete today's note if it was there
  • clicked on today's note, creating a new one
  • checkboxes/ todos didn't come across

Let me know what other details you require.

Add command to manually run

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!

[FR] Compatibility with Tasks plugin 📅 date format, change date on rollover

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!

Ownership Request

@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 😄

Does not work well with the templater plugin

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

getISOFormattedDate doesn't work with custom Daily notes date format

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.

Suggestion on roll-over todos to existed daily notes

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.

Plugin settings turn blank

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.
image

The workaround I have done:

  • I have deleted the existed note and create a new one, the unchecked to-dos do not show up.
  • I re-installed the plugin, the plugin setting still remains blank.
  • I have restarted Obsidian many times, the plugin settings still remains blank.
  • I created a new vault. The plugin settings appear eventually.

Is this a bug with this plugin or with Obsidian?

[Feature Request] Preserve heading categories when rolling over

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:

  1. For every incompleted to-do in yesterday's note, get the heading name
  2. Check today's note for a matching heading name. If found, dump the to-do under that heading
  3. If no heading matches, dump to the bottom of the note

I'd greatly appreciate if something like this was implemented! Thanks!

Support night owls

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!

Rollover content blocks of todos

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

Rollover from PREVIOUS Daily note, not 'Yesterday' only.

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.

Use `obsidian-daily-note-interface` package

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!

[FR] Limit rollover to a specific heading

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
    Blabla

Big 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

Request: Preserve Indentation

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

Counter for rolled over todo's

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:

rolled over todo's

  • task 1 (1)
  • task 2 (5)
  • task 3 (🐸)
  • etc
  • etc

Couldn't see how to flag this as an enhancement.

Plugin doesn't seem to be working

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!! 😄

[FR] "Move" any todos that get rolled over

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?

Looking for maintainers

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.