frappe / gantt

Open Source Javascript Gantt
https://frappe.io/gantt
MIT License
4.6k stars 1.02k forks source link

feat: calculate start date based on dependencies #364

Closed lettuceDestroyer closed 4 months ago

lettuceDestroyer commented 10 months ago

If the start date of a task is not set it is calculated based on the dependencies. Meaning the start date will be the end date of the dependency. If a task has multiple dependencies the "bigger" end date will be taken as start date.

Please not that this feature does not work correctly if you do not have the duration of a task set. To enable duration please refer to either this or this pull request.

safwansamsudeen commented 4 months ago

This PR doesn't work (as start date is parsed before the required function is worked).