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

Add statistics #26

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

Add statistics #26

wants to merge 1 commit into from

Conversation

gafl
Copy link

@gafl gafl commented Nov 19, 2023

Greetings Dmitry,

I've been enjoying your simple and very useful Pomodoro plugin for a while, so thanks for that :-)

In this pull request I'm submitting a proposal for some simple statistics for past day, week, month for issue #9. It displays a message like the following in the status bar when the Pomodoro timer is hovered:

"Pomodoros done: today 4 (1 incomplete), past week 18 (3 incomplete), past 28 days 70 (9 incomplete)"

It's my first Kotlin project, I've tried to follow the existing style, but I'd be glad of any suggestions to improve the design. If it looks interesting then I can tune it with your feedback. One thing I think it could use is some kind of cleanup of old statistics, e.g. automatically when older than one month or when the Pomodoros counter is reset.

Regards,
Gary

Add simple statistics for past day, week, month for issue dkandalov#9.
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.

1 participant