← Back to team overview

gtg team mailing list archive

[Bug 502111] Re: Allow change of closing date

 

** Changed in: gtg
       Status: Triaged => Fix Committed

-- 
Allow change of closing date
https://bugs.launchpad.net/bugs/502111
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Fix Committed

Bug description:
This bug has been marked as a "Love" bug, meaning it's a relatively easy bug which would be a perfect starting point for anybody willing to contribute. GTG dev will provide supports to anybody interested in doing this work (previous python experience is mandatory).

The proposed solution is to modify the bottom of closed tasks editor to display
"due date |     |V|  closing date |     |V|  the task was completed X days late|".

This involve moving the duedate calendar to the place of the startdate calendar and to make a way to modify the closingdate.
Also, the "XXX days left" string will be replaced by "closed on time" or "closed X days late".

The work takes place in TaskEditor/editor.py. There's no need to touch the glade file. In fact, as you can discover in the code, the same calendar widget is used but send a different signal depending on how it was open. You will have to had a new "closed date modified" signal and of course catch it.

This is a good introduction to the TaskEditor. It might be required to touch core/task.py to modify the closing date, which is a good way of learning GTG guts.

********** Original report :

The user should have the possibility to specify a different done/closed date.
The actual version 0.2 assumes always a closing date for today.

Change closing date will be useful for tasks completed on previous date which have not yet been marked as done.