Skip to content
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

WIP: Add yearly report #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

mxmehl
Copy link

@mxmehl mxmehl commented Feb 19, 2019

This is basically a copy from the monthly report. It might make sense to present the statistics more separatedly like 0.10.3 did but it should do the trick if you just want to see the numbers.

Tests are missing as I lack knowledge about extending these.

Documentation is also missing so far as I don't know whether this PR will be accepted,

This is basically a copy from the monthly report. It might make sense to present the statistics more separatedly like 0.10.3 did but it should do the trick if you just want to see the numbers.
@mxmehl mxmehl mentioned this pull request Feb 19, 2019
@mxmehl mxmehl changed the title Add yearly report WIP: Add yearly report Feb 19, 2019
Copy link
Member

@mgedmin mgedmin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me!

(Or, where it doesn't look good, it's because I messed up in the past and made this kind of repetitive coding necessary.)

I'm trying to keep the test coverage at 100% (which is a big lie, because the GUI code is exempt as I'm not sure how to unit-test it), so I won't merge this as-is, but I can work on the tests myself.

@mgedmin
Copy link
Member

mgedmin commented Feb 20, 2019

Checklist:

  • unit tests
  • translations
  • consider adding a shortcut key (currently Alt-4/5/6 toggle day/week/month, should Alt-7 switch to yearly view?)

@mxmehl
Copy link
Author

mxmehl commented Feb 20, 2019

Cool, thanks for picking up the work!

A great feature would still be custom reports but as mentioned in an earlier ticket, yearly reports already are a nice addition for many users I think

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants