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

Reporting of completed tasks #69

Open
kwurst opened this issue Dec 6, 2012 · 8 comments
Open

Reporting of completed tasks #69

kwurst opened this issue Dec 6, 2012 · 8 comments
Assignees

Comments

@kwurst
Copy link
Member

kwurst commented Dec 6, 2012

Allow the user to report on completed tasks by category and/or time range. This would be useful for someone who needs to produce an annual report of what they did on the job, or on particular projects.

@jamesC311
Copy link
Contributor

Would this also have to keep track of tasks that were explicitly deleted? Or would we just not count those?

@jhasenzahl
Copy link
Member

I think the best way to do this would be to write an entry to a database whenever something has been completed. Task name, category, date of completion.

Deleting the task later shouldn't change the completion report.

@jamesC311
Copy link
Contributor

Sounds reasonable, can probably add another field to account for if it is reoccurring or not so we don't need to add the completed task indefinitely, just update occurAmount or something along those lines.

@jhasenzahl
Copy link
Member

You would want to add a new entry every time it is completed

@djorgji
Copy link
Contributor

djorgji commented Dec 10, 2012

Google Tasks keeps tasks that have been completed and "deleted" already--they are simply kept with a "cleared" flag rather than actually deleted, I can query it by specifying in JSON for the "completed" tasks to include "cleared" (they don't send those by default). So give me next week after my finals this week, and I ll get to it; might have to figure out away to keep track of repeated tasks, also gtasks does have a "completion date" to keep track of when the task was marked complete, but I don't think that will be hard.

Once I have that list I can then just send it back to a google spreadsheet on google drive.

@ghost ghost assigned djorgji Dec 10, 2012
@kwurst
Copy link
Member Author

kwurst commented Dec 10, 2012

Can't you just have an active/completed state for the task, change the
state to completed, add the completion date, and leave it in the database?

On 12/9/12 7:19 PM, Jonathan Hasenzahl wrote:

I think the best way to do this would be to write an entry to a database
whenever something has been completed. Task name, category, date of
completion.

Deleting the task later shouldn't change the completion report.


Reply to this email directly or view it on GitHub
#69 (comment).

--- Karl


Karl R. Wurst Email: [email protected]

@jamesC311
Copy link
Contributor

@jhasenzahl

What I was thinking was...

task data in DB and has one more field for NumberOfTimesCompleted so as opposed to storing X amount of tasks that are identical it stores the task once and can increment each time it's completed.

I was thinking along the lines of saving space/access time considering it could reduce the number of tasks in the DB drastically if there are many reoccurring.

Did I not make that clear or am I just not right? haha

@djorgji
Copy link
Contributor

djorgji commented Dec 10, 2012

@kwurst That is how gtasks does it, they are just flagged with "cleared" when the user deletes them, my suggestion is to just get the list of "completed"and "completed+cleared" from gtasks.

@jamesC311 You wont know when they were actually completed, just that they were completed X amount of times, Which probably wont be enough in terms of a report.

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

No branches or pull requests

4 participants