Modify

Opened 14 years ago

Last modified 13 years ago

#8302 new enhancement

TracHoursPlugin integration

Reported by: Ryan J Ollos Owned by: Chris Nelson
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 Changed 14 years ago by Chris Nelson

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 ; Changed 14 years ago by Ryan J Ollos

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 14 years ago by Chris Nelson

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 14 years ago by Ryan J Ollos

Keywords: trachoursplugin integration added

comment:5 Changed 13 years ago by Chris Nelson

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 13 years ago by Ryan J Ollos

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Chris Nelson.

Add Comment


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

 
Note: See TracTickets for help on using tickets.