mtierltd / timetracker

GNU Affero General Public License v3.0
81 stars 27 forks source link

Feature Request: Custom time period Goals #99

Open semiligneous opened 3 years ago

semiligneous commented 3 years ago

The Goals feature currently only allows to set hour based targets on a recurring Weekly or Monthly basis. Eg allocating 100 hours per Month (every month) to a Project.

It would be beneficial to be able to have a Goal which was not recurring, but instead limited to a specific custom absolute time period.

Eg Project X for Client Y has 200 hours assigned to the Goal, and these are to be used between 1st March 2021 and 31st July 2021.

Another goal may later be created for the same Project/Client, eg the client purchases/books another 100 hours to be used in the 2nd half of 2021, with an expiry of 31st December.

Hours/time logged against the Project should automatically be allocated to the Goal which covers the time period in question. As such you would therefore need a start and end date/time and some logic to prevent two goals for a Project overlapping.

If this feature existed, I'd be moving to Time Tracker from a 3rd party paid service!

Happy to help flesh out the logic if this is a feature you or someone in the community wanted to look at further.

Cheers

manfredu commented 3 years ago

Am 10.03.2021 12:23, schrieb semiligneous:

The Goals feature currently only allows to set hour based targets on a recurring Weekly or Monthly basis. Eg allocating 100 hours per Month (every month) to a Project.

It would be beneficial to be able to have a Goal which was not recurring, but instead limited to a specific custom absolute time period.

A total of hours as goal would be very useful for me as well. Time period wouldn't be that important.

Eg Project X for Client Y has 200 hours assigned to the Goal, and these are to be used between 1st March 2021 and 31st July 2021.

Another goal may later be created for the same Project/Client, eg the client purchases/books another 100 hours to be used in the 2nd half of 2021, with an expiry of 31st December.

In this case I would create another (sub)project. Or increase the number of hours of the original project.

Manfred

Hours/time logged against the Project should automatically be allocated to the Goal which covers the time period in question. As such you would therefore need a start and end date/time and some logic to prevent two goals for a Project overlapping.

If this feature existed, I'd be moving to Time Tracker from a 3rd party paid service!

Happy to help flesh out the logic if this is a feature you or someone in the community wanted to look at further.

Cheers