GithubHelp home page GithubHelp logo

Comments (1)

KjellConnelly avatar KjellConnelly commented on August 16, 2024

Hi @Liquidmantis, I am thinking about implementing something like this. It looks like a lot of code though, so I probably won't get around to it soon. Feel free to reopen this if you or someone else wants to discuss implementation or making a pull request themself. But here's pretty much what I want, where input is the previous daily note, and output is today's daily note:

How it currently works:

Input

  • All unfinished Todos are grabbed, no matter what heading they are in.

Output

Situation 1: No Template Heading is set (from the Plugin's Settings Menu)
  • All todos are rolled over to the bottom of the file
Situation 2: Template Heading is set, and Heading is found
  • All todos are rolled over, just under the Heading selected
Situation 3: Template Heading is set, and Heading is not found
  • All todos are rolled over to the bottom of the file

How I'd like it to work:

Input

Situation 1: No Template Heading is set
  • All unfinished Todos are grabbed, no matter what heading they are in.
Situation 2: Template Heading is set, and Heading is found
  • All unfinished Todos are grabbed that are under this heading ONLY. Subheadings are taken into account (like if your Template Heading is a ##, and you have ### and #### under it, it'll grab those too, but not unfinished todos in the next ## or #.
Situation 3: Template Heading is set, and Heading is not found
  • All unfinished Todos are grabbed, no matter what heading they are in.

Output

Situation 1: No Template Heading is set
  • All todos are rolled over to the bottom of the file
Situation 2: Template Heading is set, and Heading is found
  • All subheadings are populated with the appropriate unfinished todos
  • If the main heading is found, but not all subheadings are, subheadings are created based on the input file
Situation 3: Template Heading is set, and Heading is not found
  • If the template heading was found in the input file, the Heading and Subheadings are created and populated based off of the input file
  • Otherwise, all todos are rolled over to the bottom of the file

from obsidian-rollover-daily-todos.

Related Issues (20)

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.