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

Improved statistical overview #35

Open
ponypower opened this issue Nov 18, 2023 · 8 comments
Open

Improved statistical overview #35

ponypower opened this issue Nov 18, 2023 · 8 comments

Comments

@ponypower
Copy link

ponypower commented Nov 18, 2023

Hey,

I would like to suggest some improvements especially for the statistical overview:

  • Changing the selected period ("2023") to the previous or the next by swiping right and left in the chart area
  • Direct drop-down list for selecting the period type ("Year") by tapping on it
  • Enlarged statistics panel up to the top item which should switch to the selected one ("Visited mom")
  • Statistical evaluations listed under the chart
  • Listed entry data (number, date, time). Option a): the entries of the selected period are automatically listed under the chart. Option b): "List" becomes an option in the previously mentioned drop-down list.
  • Being able to edit the entries - modify, add, delete.

Here is a simplified representation:
screenshot_modified2

I hope you find some of these points worthy to implement.

@albertvaka
Copy link
Owner

Thanks for the suggestions! This is what I think about them. Keep in mind that I don't want to add too many options to the app, I want it to stay super simple.

Changing the selected period ("2023") to the previous or the next by swiping right and left in the chart area

This is already the case :)

Direct drop-down list for selecting the period type ("Year") by tapping on it

This I should add. I do change the period quite often just to see a different chart, which this would avoid. I'm going to implement this.

Enlarged statistics panel up to the top item which should switch to the selected one ("Visited mom")

I prefer to keep most of the list visible, even if that means having less space for the statistics.

Statistical evaluations listed under the chart

We already have a couple averages, which are the most common statistic to care about IMO. If you want very advanced statistics you can export as a CSV and import into a spreadsheet.

Listed entry data (number, date, time). Option a): the entries of the selected period are automatically listed under the chart. Option b): "List" becomes an option in the previously mentioned drop-down list.
Being able to edit the entries - modify, add, delete.

This adds more complexity than I would like. If you really need to see all the values, you can export a CSV. Editing entries other than the last one would be nice, but I don't know how to add that option without adding a ton of complexity to the UI.

@ponypower
Copy link
Author

Your preferences are clear and understandable.
Thank you for taking the time to further improve the app!

@albertvaka
Copy link
Owner

I've just published v3.1 which allows changing the time window of a chart without having to modify the counter, by clicking on the chart header :)

@ponypower
Copy link
Author

Great! Thanks for making the effort!

@MikeStirner
Copy link

What about adding another export option that exports the data either from one of your counters, or all of them, as a text file, where instead of having epoch time, it has human readable date and time format. Useful if you on on your phone and want to see the list to make sure you didn't forget something or tap too many times. That way you don't need to give your data to Google when you use Google sheets and don't have to figure out the epoch time stuff. Although there is some complexity if you also want to do the local time. GMT would be easiest.

If you did a one tap to export all in this format (to keep the UI simpler), you'd probably do either:

  1. a giant text file, or
  2. a text file for each counter and then put them all in a zip folder. The filenames could be the counter name.

Here's what the text would look like:

All times are GMT
Counter name
2024-04-01 13:41:04.674
2024-04-01 13:41:06.734
2024-04-01 13:46:33.738
2024-04-01 13:47:09.525
...

@albertvaka
Copy link
Owner

Someone also requested the exports to be human readable. Maybe we could have two export options: one as a human-readable, column-based (spreadsheet friendly) and another meant for parsing with a program. Maybe only the second one needs to be importable again.

@MikeStirner
Copy link

I like the idea of human readable as a separate type of export.

Make sure that if you do a CSV or some kind of spreadsheet format that you know that some spreadsheet software, like LibreOffice, doesn't let you have more than 16,000 columns or something. And so it's better to do the counters In the columns, because you'll probably have fewer than that many counters, and then have each Row represent one of the presses of the counter, because it's possible that someone might have more than 16,000 times their pressed counter, which would be pretty wild.

Now you would have to put it into Google Sheets if you want to see it on your phone pretty much. Which some people don't like because they don't want to share data with that company.

So I think the best human readable export would just be a text file. But I'm pretty sure you can still copy paste that into a spreadsheet if you wanted to.

If you want to use a spreadsheet, I did make that spreadsheet that I uploaded on a different issue that you can just use with the current export. That will transform the data into a two column format and even sort it if you want it to.

@MikeStirner
Copy link

#8 (comment)

Here's the link to that spreadsheet for whoever is interested.

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

3 participants