cgwire / kitsu

Collaboration Platform for Animation and VFX Productions
https://kitsu.cg-wire.com
GNU Affero General Public License v3.0
402 stars 106 forks source link

Add setting to use hours instead of days for durations and estimations #1535

Closed MaximeGrosmaire closed 1 month ago

MaximeGrosmaire commented 2 months ago

Problem We have a mix of artist that can work more or less daily on a project so it's important for us to be able to estimate in hours.

Solution I've added an organization-wide setting to toggle duration and estimates in hours. This will require a zou commit as well to persist the setting.

I'm more of a TD than a proper dev so this PR might be a bit of a mess but I hope this is helpful in at least getting the ball rolling for that feature.

frankrousseau commented 2 months ago

Thank you very much @MaximeGrosmaire for this contribution! We will review and integrate this change soon.

Next time, please open an issue before submitting code to be sure we are ready to take the contribution.

frankrousseau commented 2 months ago

We figured out that the server part is missing. It will require more time to integrate your changes.

MaximeGrosmaire commented 2 months ago

I've submitted the zou change as well now for you guys to test now.

Production stats, asset list and task list should all show duration/estimations in hours once the setting is toggled.

With that setting enabled, we also don't get the start or due date from the estimate in days since that might end up setting unrealistic deadlines for anyone that is part-time / casual hours.