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

Tick should be able to aggregate time from a given delta #9

Open
rogeruiz opened this issue Jul 2, 2017 · 0 comments
Open

Tick should be able to aggregate time from a given delta #9

rogeruiz opened this issue Jul 2, 2017 · 0 comments

Comments

@rogeruiz
Copy link
Owner

rogeruiz commented Jul 2, 2017

Detailed Description

Tick should be able to aggregate time from a given delta, defaulting to 8 days, and have that output categorized by name with a summary of all the messages matching each category. It's important to get this right visually first, and then worry about how to best present the data later. I'm thinking there would be three outputs:

  • Summary chart (default)
  • CSV
  • JSON

Context

This would help me be able to fill out my timesheet at work without having to add the numbers myself.

Possible Implementation

The summary chart would look something like this. I'll probably want to use ncurses-rs and design a better UI than what I can whip up in Vim. 😁

 ---------------------------------------------------------------
| Summary for the last {d} days                total hours: 40h |
 ---------------------------------------------------------------
| timer: {n}                                                    |
| durations: {d1}, {d2}, {d3}, {d4}, {d5}, {d6}, {d7}, {d8},    |
|            {d9}, {d0}                                         |
| total time: {h} hours and {m} minutes                         |
| messages: {m1}, {m2}, {m3}, {m4}, {m5}, {m6}, {m7}, {m8},     |
|           {m9}, {m0}                                          |
 ---------------------------------------------------------------
| timer: {n}                                                    |
| durations: {d1}, {d2}, {d3}, {d4}, {d5}, {d6}, {d7}, {d8},    |
|            {d9}, {d0}                                         |
| total time: {h} hours and {m} minutes                         |
| messages: {m1}, {m2}, {m3}, {m4}, {m5}, {m6}, {m7}, {m8},     |
|           {m9}, {m0}                                          |
 ---------------------------------------------------------------
| timer: {n}                                                    |
| durations: {d1}, {d2}, {d3}, {d4}, {d5}, {d6}, {d7}, {d8},    |
|            {d9}, {d0}                                         |
| total time: {h} hours and {m} minutes                         |
| messages: {m1}, {m2}, {m3}, {m4}, {m5}, {m6}, {m7}, {m8},     |
|           {m9}, {m0}                                          |
 ---------------------------------------------------------------
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

No branches or pull requests

1 participant