frappe / gantt

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

feat: expected progress bars #365

Closed GursheenK closed 5 months ago

GursheenK commented 9 months ago

Description Introduces a new option show_expected_progress to be passed to the Gantt constructor in order to enable expected progress bars for each task depending upon the current date.


Screen Recording

https://github.com/frappe/gantt/assets/40693548/683f9868-adce-411f-9766-01b1b158d50e


Closes https://github.com/frappe/gantt/issues/281

GursheenK commented 8 months ago

@cfontes In the changes made, I have interpreted that the estimate progress is supposed to be a projection of the task's unit progress with respect to the current date.

Can you please elaborate on whether there are other parameters the estimate should consider and / or a simple example of such an estimate for any task?

cfontes commented 8 months ago

Hello @GursheenK so one this one is being worked on...

What I wanted is a bit different though, I wanted to have the original estimation, forever imprintedf on the back of the chart as a shadow ( maybe with some bubble for info on start and end date, and option to change them id needed )

That way when you drag the current work it stays behing so you know you did a bad job estimating the start and duration of it and can come back later, to improve