Code Monkey home page Code Monkey logo

Comments (3)

linuxcaffe avatar linuxcaffe commented on May 22, 2024

There's probably an argument for including tasks scheduled on that day, if any, under another heading.

= tasks =
== added ==
== completed ==
== deleted ==
== due today ==

even if (especially if) they are not completed on that day.

from vimwiki-tasks.

teranex avatar teranex commented on May 22, 2024

I can see the use for this. But it is very specific to ones requirements. Which tasks should be included? How should the layout of the file look? etc. I guess everybody will have a different preference so just adding one report would not be very useful for 99% of users.
I do think however that the basic building-blocks to create such a report are already available. You
could for example add something like this to your .vimrc or ftplugin/vimwiki.vim (this is untested vimscript so it will probably create a tiny black hole if you run it):

function! GenerateReport()
  normal i= tasks =
  normal i== added ==
  InsertTasks entry.after:yesterday
  normal i== completed ==
  InsertTasks status:completed end.after:yesterday
  " and so on...
endfunction

command! InsertDairyTaskLog call GenerateReport()

And then you could open your dairy and run :InsertDairyTaskLog and you should get the entire
report (or see a tiny black hole grow, which is also ince :) )

from vimwiki-tasks.

linuxcaffe avatar linuxcaffe commented on May 22, 2024

Firstly, thanks for the above examples, I'll take them home and give them a whirl.

Secondly I must respectfully disagree that "it is very specific to ones requirements", as the feature was designed specifically for General Audiences. It logs all of the "actions" you take with tw that day: add, complete, delete, and it lists the things you were supposed to do that day. That's not an "edge case", and isn't that the very sort of things you would want to have recorded on that day?
As to the layout, I just went for the above elements in the simplest possible arrangement under headings, where on the page doesn't matter, it's foldable down to one line; "tasks", and my diary pages are presently under-used anyways.

Thirdly, as I can see that our ideas of what might make an "ideal" taskwiki are somhat divergent, maybe I should start up a fork, and you might help me do crazy things you would never do to your own branch, sound like a plan?

Thanks for all your help, past and future, and for all your other fine contributions!

from vimwiki-tasks.

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.