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

Add due dates for projects #686

Open
dnrce opened this issue Jun 25, 2014 · 5 comments
Open

Add due dates for projects #686

dnrce opened this issue Jun 25, 2014 · 5 comments
Labels
Enhancement ⚡️ New features, big or small.
Milestone

Comments

@dnrce
Copy link
Member

dnrce commented Jun 25, 2014

Migrated from the original issue at https://www.assembla.com/spaces/tracks-tickets/tickets/686

I'd like for projects to have due dates and for these due dates to be used for their associated actions if the action doesn't have a due date explicitly set.

Originally reported by Anonymous on April 4, 2008 at 07:25:37 (+0000)

@dnrce
Copy link
Member Author

dnrce commented Jun 25, 2014

On April 4, 2008 at 07:33:32 (+0000), Anonymous commented:

My email is kraai@ftbfs.org.

@dnrce
Copy link
Member Author

dnrce commented Jun 25, 2014

On July 7, 2008 at 18:48:53 (+0000), Anonymous commented:

I started implementing the enhancement and I wonder wether it would be OK to just add another attribute of a todo - invididual due date (boolean) - if it is true the todo has its own deadline, otherwise the deadline is taken from the project.

I thought of such solution because if the only enhancement would be that the deadline of the todo is adjusted to the project deadline only if it is not set, the next time we set the project's due date the deadline of a todo would be already set and would remain unaffected. What is more, checking the equality of due dates of the project and the todo won't do the job because the fact that they are equal may be a coincidence.

Of course, it is possible to store how the deadline of the todo was changed ("by the project" or explicitly by the user) but in my opinion there is to much logic.

What do you think ?

@dnrce dnrce added this to the Someday/Maybe milestone Jun 25, 2014
@dnrce
Copy link
Member Author

dnrce commented Jun 25, 2014

On July 7, 2008 at 09:16:19 (+0000), Anonymous commented:

Did you consider to implement it completely in the model? It would not affect the controllers and views.

I.e. when you ask the todo model for the due_date it first checks to see if the user has set a due_date on the todo. If not, the model looks to the due_date set on the corresponding project. This way, you can easily change the project due_date and automatically change the due_dates of all todos in the project, since it does not rely anymore solely on the stored due_date of the todo

@dnrce
Copy link
Member Author

dnrce commented Jun 25, 2014

On July 7, 2008 at 12:55:11 (+0000), Anonymous commented:

686.patch: #686 patch

@dnrce
Copy link
Member Author

dnrce commented Jun 25, 2014

On September 9, 2009 at 01:34:20 (+0000), epall commented:

Duplicated association with ticket #942 was added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement ⚡️ New features, big or small.
Projects
None yet
Development

No branches or pull requests

2 participants