New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Due and overdue tasks #23

Closed
cjohnsonuk opened this Issue Jun 7, 2014 · 6 comments

Comments

Projects
None yet
3 participants
@cjohnsonuk

cjohnsonuk commented Jun 7, 2014

At the moment the ~~ TODOLIST ~~ doesn't appear to filter on start and due dates.
For repeating weekly tasks I'd either have to show all the tasks for the year in a list (which will make the pages too long) or I'd have to set a script to add the new tasks each week...
Can the functionality of the ~~ TODOLIST ~~ listing code be added to to allow the list to show tasks based on relative or absolute date ranges: eg between startafter and startbefore or dueafter and duebefore.
EG
~~ TODOLIST startbefore:0~~ for tasks where the start date is today or has past
~~ TODOLIST startbefore:+7~~ for tasks that have started or are due to start in the next 7 days
~~ TODOLIST startbefore:-7~~ for tasks that started more than 7 days ago
~~ TODOLIST startafter:0 startbefore:+7~~ for tasks due to start in the next 7 days

~~ TODOLIST duebefore:0 ~~ for tasks where the due date is today or has past
~~ TODOLIST duebefore:+7~~ for tasks due date is before the end of the week
~~ TODOLIST duebefore:-7~~ for tasks where the due over a week ago
~~ TODOLIST dueafter:+7 duebefore:+14~~ for tasks due next week

Tasks that are overdue could be listed with a combination of parameters
~~ TODOLIST duebefore:0 checkbox:no~~

so my list for the coming week would be

~~ TODOLIST startbefore:+7 duebefore:+7 assigned:@@user checkbox:no~~

This would allow the creation all the tasks for each tech for the whole year but only display the ones that need doing at the moment on the page that shows their tasks.

Using absolute dates
~~ TODOLIST DueAfter:2014-07-01 DueBefore:2014-08-01~~ would show all the work for July allowing us to make sure we have enough techs for the work due that month.

Nice to have
Not sure how easy it would be to list the dates the jobs were CompletedAfter or CompletedBefore .

@runout-at

This comment has been minimized.

Show comment
Hide comment
@runout-at

runout-at Jun 9, 2014

Collaborator

i added date -functionality a month ago but there is a problem i don't know how to solve it. see: issue #16

options in a todo-definition might get lost. that's why i didn't go on to implement filters for dates.

Collaborator

runout-at commented Jun 9, 2014

i added date -functionality a month ago but there is a problem i don't know how to solve it. see: issue #16

options in a todo-definition might get lost. that's why i didn't go on to implement filters for dates.

@runout-at

This comment has been minimized.

Show comment
Hide comment
@runout-at

runout-at Jun 9, 2014

Collaborator

for the "start-due"-syntax have a look here: https://github.com/runout-at/dokuwiki-plugin-todo/commit/5a60355c394b30e4727304d2fa939a02512d75e4

but be warned again! there is the bug #16

Collaborator

runout-at commented Jun 9, 2014

for the "start-due"-syntax have a look here: https://github.com/runout-at/dokuwiki-plugin-todo/commit/5a60355c394b30e4727304d2fa939a02512d75e4

but be warned again! there is the bug #16

@runout-at

This comment has been minimized.

Show comment
Hide comment
@runout-at

runout-at Jun 13, 2014

Collaborator

bug #16 seems to be fixed by now.
i have started to do it, but i'm not sure how efficient it will be if there are lots of todos to parse.
have a look at the changes:
https://github.com/runout-at/dokuwiki-plugin-todo/compare/leibler:master...master

add option to TODOLIST
startbefore:
startafter:
duebefore:
dueafter:

can be:
Y-m-d like 2014-06-12
or a value like +10 or -10 or 0
invalid values will be substituted with todays date

Collaborator

runout-at commented Jun 13, 2014

bug #16 seems to be fixed by now.
i have started to do it, but i'm not sure how efficient it will be if there are lots of todos to parse.
have a look at the changes:
https://github.com/runout-at/dokuwiki-plugin-todo/compare/leibler:master...master

add option to TODOLIST
startbefore:
startafter:
duebefore:
dueafter:

can be:
Y-m-d like 2014-06-12
or a value like +10 or -10 or 0
invalid values will be substituted with todays date

@runout-at runout-at referenced this issue Jun 14, 2014

Closed

TODOLIST Table #27

@runout-at

This comment has been minimized.

Show comment
Hide comment
@runout-at

runout-at Oct 30, 2014

Collaborator

completedbefore, completedafter for TODOLIST added in master branch.
if anything fails, please reopen this again.

Collaborator

runout-at commented Oct 30, 2014

completedbefore, completedafter for TODOLIST added in master branch.
if anything fails, please reopen this again.

@runout-at runout-at closed this Oct 30, 2014

@einhirn

This comment has been minimized.

Show comment
Hide comment
@einhirn

einhirn Oct 31, 2014

Collaborator

please remember to commit to stable if you think it is so:

git push origin master:stable
Collaborator

einhirn commented Oct 31, 2014

please remember to commit to stable if you think it is so:

git push origin master:stable
@runout-at

This comment has been minimized.

Show comment
Hide comment
@runout-at

runout-at Oct 31, 2014

Collaborator

completeduser for TODOLIST added in master branch.
thx einhirn, i will test for some days before pushing.

Collaborator

runout-at commented Oct 31, 2014

completeduser for TODOLIST added in master branch.
thx einhirn, i will test for some days before pushing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment