Skip to content
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

completed task report #260

Closed
esquires opened this issue Dec 19, 2021 Discussed in #242 · 6 comments
Closed

completed task report #260

esquires opened this issue Dec 19, 2021 Discussed in #242 · 6 comments
Labels
feature Issues related to feature proposals. Please attach a module. on hold On Hold

Comments

@esquires
Copy link
Contributor

Discussed in #242

Originally posted by esquires December 14, 2021
I often would like to see a report of what has been done over the last n days. What do you think about adding a "#done.date" to the task tags so we can generate that type of report?

@danymat danymat added feature Issues related to feature proposals. Please attach a module. GTD module labels Dec 19, 2021
@danymat
Copy link
Member

danymat commented Dec 19, 2021

As said in #242:

  • We plan this feature for 0.2 release
  • I propose using #time.done instead, so that it feels coherent with others time related tags (time.start...)

@esquires
Copy link
Contributor Author

sorry. I should have updated the wording. github auto copies from the original post when creating an issue.

@danymat danymat added the on hold On Hold label Dec 23, 2021
@eddiebergman
Copy link

eddiebergman commented Jul 6, 2022

Something to help in the meantime, works on Linux at least using $date -Idate.

Navigate to your task, hover over it and use gtd as you normall would, except now it adds the #time.done ... above it.

["core.keybinds"] = {
    config = {
        ...,
        hook = function(keybinds)
            keybinds.remap(
                "norg",
                "n",
                "gtd",
                'k:r!echo "\\#time.done $(date -Idate)"<cr>j:execute "Neorg keybind norg core.norg.qol.todo_items.todo.task_done"<cr>'
            )
        end
    }
}

Note, doesn't do anything smart, if you undo the task or change it's state, you will manually have to remove it.

For an extensible solution for Neorg, I think having a time.status_update would be the most flexible. The status can be taken from the task itself and then use the time as needed for whatever views and filters :)

Edit: Snippet below doesn't account for tab and spacing of tasks, modify as you find best

@danymat
Copy link
Member

danymat commented Jul 8, 2022

For an extensible solution for Neorg, I think having a time.status_update would be the most flexible. The status can be taken from the task itself and then use the time as needed for whatever views and filters :)

What is your idea about time.status_update ? Adding a new tag status_update everytime we change task state ?

@eddiebergman
Copy link

Yup, essentially this means we have two pieces of information, the state of the task and then when that state occurred, giving a comprehensive current state of everything a long when those states occured.

Just a suggestion however, I'm sure a longer time user could have different ideas on what's an extensible enough solution

@danymat
Copy link
Member

danymat commented Jul 8, 2022

@danymat danymat closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues related to feature proposals. Please attach a module. on hold On Hold
Projects
None yet
Development

No branches or pull requests

3 participants