Modify

Opened 4 years ago

Last modified 3 years ago

#8302 new enhancement

TracHoursPlugin integration

Reported by: rjollos Owned by: ChrisNelson
Priority: normal Component: TracJsGanttPlugin
Severity: normal Keywords: trachoursplugin, integration
Cc: Trac Release: 0.11

Description

I'm currently maintaining the TracHoursPlugin, and plan to do a bunch of improvements. I'd really like to have integration with a Gantt chart.

I'm not sure what would be involved here, but I'd be willing to do some work on it down the road if you'd support the integration.

Attachments (0)

Change History (6)

comment:1 follow-up: Changed 4 years ago by ChrisNelson

If TracHoursPlugin stores estimated and actual hours as hours (that is, a real number, not hh:mm) in custom fields, it may just work. If it stores hh:mm or something, we could add some configurable parsing.

I would definitely be interested in your feedback on making Trac-jsGantt work with TracHoursPlugin.

comment:2 in reply to: ↑ 1 ; follow-up: Changed 4 years ago by rjollos

Replying to ChrisNelson:

If TracHoursPlugin stores estimated and actual hours as hours ...

Yeah, the value is stored in the database as number of seconds.

I would definitely be interested in your feedback on making Trac-jsGantt work with TracHoursPlugin.

Excellent! I'm currently fixing some bugs and improving the layout of TracHoursPlugin. In a few weeks I'll have time to review all of the source code and can get back to you with some thoughts about how we can make them work together.

Thanks for your interest in making this work!

comment:3 in reply to: ↑ 2 Changed 4 years ago by ChrisNelson

Replying to rjollos:

Replying to ChrisNelson:

If TracHoursPlugin stores estimated and actual hours as hours ...

Yeah, the value is stored in the database as number of seconds.

It may be that all you have to do is configure days_per_estimate. We store hours and assume an 8-hour day so we have:

# Each unit in estimate is 1/8 of a day
days_per_estimate = 0.125

For seconds, an 8-hour day would be 28,800 seconds so 1/28800 is:

# Each unit in estimate is 1/28000 of a day
days_per_estimate = 0.00003472

Then again, since we're both storing fractions that get kind of unwieldy, maybe I need to have estimate_per_day configured so we'd set 8 and 28800, respectively.

comment:4 Changed 4 years ago by rjollos

  • Keywords trachoursplugin integration added

comment:5 Changed 3 years ago by ChrisNelson

You've been working in TracJsGanttPlugin lately but nothing you did related to TracHoursPlugin. Are we good? Can we close this ticket?

comment:6 Changed 3 years ago by rjollos

I'm not using the TracHoursPlugin at the moment, but slowly working to get it to the point that it is more usable by my team. I should do some quick testing to make sure it works okay with the TracJsGanttPlugin ... I can't think of any reason that it won't though. I can do the testing next weekend and get back to you.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.