go-vikunja / vikunja

Mirror of vikunja from https://code.vikunja.io/api
GNU Affero General Public License v3.0
886 stars 63 forks source link

Add tasks with due date to gantt #21

Open Dedsd opened 2 years ago

Dedsd commented 2 years ago

Currently you can only see tasks in the gantt that have the start date and end date parameters, it would be great if tasks that have the due date parameters could also be seen. In case you think that not all users would like this it could be an additional checkbox like "Show tasks wich don't have a dates set" which is already present.

kolaente commented 2 years ago

I'm not quite sure about this one, but I think we could implement this with a flag.

There's a few things left to discuss though: How should tasks with only a due date show up in the gantt chart? What size should they have? Should the due date take the place of the start or end date? What happens with tasks that have a due date, but only either a start or end date?

Dedsd commented 2 years ago

With the day view the task could show up more easily since it's bigger. With the default view I would suggest small points with the numbers of the due tasks (this would also help differentiate between tasks that have a start and an end) in the days and when you click on these points it expands to a day view or a special one for due tasks. If the task has a start and end date it should prevail in the view(then it would be normal view, as it happens now with gantt) and would add to the task a "Due in x days" like the normal list in the title. Gantt doesn't show tasks with just one parameter set(star or end date) then the due date would prevail.

Dedsd commented 2 years ago

Or an interesting idea would be to put the due date as the end date and the start date as the current day and then view it normally.(Optionally)

kolaente commented 2 years ago

I think something like that could work.

We have a few things coming up for the gantt chart, I hope to include this issue with them.