google / peoplemath

Web application for team planning
Apache License 2.0
125 stars 34 forks source link

Allow bucket allocation limits to be fixed in absolute terms #215

Closed amdw closed 1 year ago

amdw commented 1 year ago

Currently, bucket resource allocation limits are set in percentages. The user sets a percentage on each bucket in a period, and they go red if the bucket percentages add up to more than 100%.

There are situations where a user might want to fix the limit for a bucket in absolute terms: for example, if the team has promised to devote exactly n headcount to a particular area during the period. The user might then want the team's remaining resources to be spread among the other buckets.

I propose a toggle on the bucket allowing the user to specify whether the bucket's allocation limit is fixed in absolute or percentage terms (with the default being percentage, the current behaviour).

This would have a few implications:

amdw commented 1 year ago

A related idea to this is to have a button which allows the user to set the fixed limit for a bucket to the total resource estimate of all the objectives in the bucket.

amdw commented 1 year ago

It might be better to continue expecting that the percentages (on buckets which have them) add up to 100%, and then calculate the absolute limit by subtracting the total of all fixed-absolute buckets from the total resources available.

This would remove the need to change percentages when adding resources or changing fixed limits.

It would mean that for percentage buckets, the percentage of the total team resources would be different from the user-specified percentage. But this is easily calculated and displayed.

amdw commented 1 year ago

Another idea to bear in mind is we may want other types of allocation limit in the future, e.g. make the limit equal to the sum of all resource estimates in the bucket, or equal to all allocations in the bucket.