-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new csv type of report - per-task #101
Conversation
Thanks for this PR! The CI jobs failed because it was trying to use ubuntu-18.04 which is no longer supported by GitHub. I've updated it to ubuntu-22.04 in #102, but I also had to update all python dependencies because some of them were old and weren't compatible with python 3.8+. Could you rebase your PR on master? I'll aim to review your PR within the upcoming week. |
e3f751a
to
b2ccc6b
Compare
@larose done. Indeed I have started implementing this by using Python 3.10 but it was not working well as far as development is concerned. Great to get it updated :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I've left one comment but otherwise it looks good to me!
utt/report/details/view.py
Outdated
print(" -- No activities for this time range --", file=output) | ||
return | ||
|
||
fieldnames = ["task", "project", "date", "duration", "type", "comment"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In
utt/utt/report/per_day/csv_view.py
Line 17 in e4143d6
fieldnames = ["date", "hours", "duration", "projects", "tasks"] |
per_day/csv_view.py
.
Also, let's arrange the columns in a more logical order, moving from general to specific. For instance, let's reorder the first three columns to be "date" "project" and "task" in that sequence.
Thanks! Feel free to open a PR to put your real name here if you want. |
This PR adds new CSV type of report -
per-task
- which displays a CSV document where each task has its details displayed in a row.Details:
per-task
orper_task
per_day
report