Closed (fixed)
Project:
Burndown
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Jul 2026 at 16:03 UTC
Updated:
23 Jul 2026 at 20:11 UTC
Jump to comment: Most recent
As a manager I would like to be able to see the hours per person in a report with a summation and the ability to edit entries.
As a user I would like to be able to see my own hours in a report with a summation and the ability to edit entries.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jeremylichtman commentedReporting is a feature set that is currently entirely absent from this module. I have a long list of potential reports in a todo list.
Any idea how best to accomplish with minimal external dependencies?
Ideally this would transparently operate between display (with edit links, as you mention above) and printable modes, and would be sufficiently high-level that we could reuse code to build new reports.
I'm sufficiently old school that I used to do this sort of thing with MS Access or Crystal Reports...
No idea how this is done today!
While we're at it, my preference would be a separate burndown-reports module, especially if there's external dependencies.
Comment #3
swirtI haven't given it much thought but my initial thought was to do it as a View with a contextual filter. The part I have no experience with (so far) is creating a sum footer on the rows that would give a total. A block that sits in the header is something I have more experience with so I may fall back on that.
Comment #4
swirtIf I could pull it off without external dependencies would you still prefer the timing and reporting be a sub module? I can go either way. I appreciate that you have been so supportive of accommodating all my user stories so far.
Comment #5
jeremylichtman commentedI think it makes sense that reporting is a sub module. It's somewhat self-contained, and will likely ultimately be a large and complex module. It may also have a variety of external deps. In any case, we can add messaging / link on this module to the new reporting one.
I don't know if the timing part can be done that way though. It may need to be part of the main module. I don't have a strong opinion on the matter, just not sure.
As far as sums in views, the Views Aggregation module used to be how I did that. Not sure if that's the current state of things. It can do subtotals as well (i.e. if reporting on multiple people, it can subtotal under each one, then have a total at the bottom).
I'm glad somebody is using this module, and think it is benefiting greatly from your attention to detail. I haven't had the energy to do much other than bug fixes for a few years, so this is a big positive.
Comment #6
swirtThinking about this a bit more, it seems like this should be part of the base module. It has the ability to track time in the work log, but there is nothing that comes from those entries currently. So it makes sense to make that reporting is the thing that gives it meaning.
Comment #7
jeremylichtman commentedWe can do it that way if you'd prefer.
Just thinking: we may need to add something to make the worklog entities properly accessible in Views. They're a custom field type, if I recall correctly. I probably should have just done entities for them...
Comment #8
swirtI think after I make the work logs editable, I will have a better understanding of how to move these other parts forward.. most of these things are just ideas right now.
Comment #9
swirtI was wrong, I got the worklogs editable and still have no solid ideas about how to approach this. LOL
There are currently two slightly adjacent ideas I am trying to work in. 1) reporting 2) hours tracking.
In my head at the moment I am thinking of a timetracking submodule and then it carries the hours reports.... though maybe relies on some underlying reporting structure in the base module. I probably won't work on this until the evening, so if have a better structure in mind, let me know.
Comment #10
swirtComment #11
jeremylichtman commentedMany years ago I built a time tracking system. The way it worked was that people entered their time into table 1. On a scheduled basis, a process ran that aggregated data into a separate set of tables. I'm not sure this is needed here (i.e. maybe views aggregation can do this), but it might be needed, particularly if the aggregated data needs to be stable (i.e. no changes after the weekly/monthly reports have run). Different companies have different requirements here, which likely adds some complexity.
Comment #12
swirt@jeremylichtman how devoted are you to people being able to select the time units on the worklog. I see that it is storing the unit with the value (ie. 1.25h, 2h, 3d, 2w). I can certainly convert these times on the fly for the report, but it seems odd to say if somebody spent 1day on something they really meant they spent 24 hours... and that gets even worse when they say 1 week... does that convert to 40 hrs for a work week or 168 hrs for a literal week?
I see a couple options.
1. If you turn on the new time tracking sub-module it automatically forces only hours.
2. the base module changes to only allow hours.
3. the base module lets you choose a default setting for time unit to use and both the base module and the time tracking submodule respect that.
For all my use cases it seems silly to track anything other than hours, but did you have a use case for allowing other time units?
Comment #13
jeremylichtman commentedDifferent companies track things differently. I've worked at companies that hire out devs or teams on a per-diem or per-week basis, and billing was tracked on those lines.
Wouldn't the time tracker go up in increments of 1 second though? And would it let the user round it up/down before saving?
I think overall the approach from your option #1 would make the most sense, since it would operate at a UI level (and hence respect any existing data), and would be logically associated with turning on the submodule.
Comment #14
swirtThe time tracker would track to the nearest second but would convert to hours with decimals for storage and summation. I can confidently convert seconds to hours and feel like the integrity is not lost. Converting weeks to hours I feel like the integrity is completely lost.
Comment #16
swirtComment #17
jeremylichtman commentedI've approved the MR.
Think eventually we'll need to change "Hours" to a more explanatory title, and possibly move into a Reporting submenu. It's fine for now.
Once things stabilize, I'll have to go back and update the documentation for the project as well.
Comment #18
jeremylichtman commentedMerge seems to be stuck.
Comment #20
swirtThank you.
Related to documentation, one thing that I use on all my modules is to have the readme actually become the source for the project page. There is a one click button in the project page to update to the latest readme. That way it makes it easy to keep the project page, readme and help all synced. If you are open to that idea, I'll create an issue.
Comment #21
jeremylichtman commentedThere's a substantial manual here: https://www.drupal.org/docs/contributed-modules/burndown
I think it's okay to have a README though.
Comment #22
jeremylichtman commentedReleased on 1.0.72.
Comment #24
swirt