albertvaka / bettercounter

A daily counter to track habits
GNU General Public License v2.0
125 stars 17 forks source link

Feature request: display goal #37

Closed Dricc123 closed 8 months ago

Dricc123 commented 8 months ago

Thanks a lot for the app. Maybe you don't want to divert towards goal setting features, but I'm thinking maybe it's relevant to be able to set an end-count number that would be a goal to achieve. Showing it like 1/7 when the goal is 7 for example. I see from screenshots that Tally for iOS or Done for iOS have it, but I never used those apps, so don't know much about it.

albertvaka commented 8 months ago

This has been requested a few times, so it makes sense to implement it. Implementation idea: It could be a new type of "display interval" that is "Until goal" and when selected it asks you to specify a target number. The target would be stored and then the counter would display X/<goal>. Once the goal is reached I guess the simplest thing to do would be to disable the "increase" button.

Dricc123 commented 8 months ago

@albertvaka I want to make sure I go running 3 times a month. So I would put 3 as a goal. Rather than disabeling the "increase" button when I reach 3, can the counter be reseted automatically at every start of the month? note this request is somehow releated to #6

albertvaka commented 8 months ago

Mmm yes, that would make sense but it does make the UI to configure the counter a bit more complicated. I want to avoid the app having too many options, so it will require some thinking to add this while keeping things simple.

Dricc123 commented 8 months ago

I'm aware that I'm requesting a different function for the app here. From a simple tally counter it would become a habit tracker. If it's not where you want to go, I would understand. I also think that displaying a goal count only makes fully sense combined with a daily/weekly/monthly auto-reset, because we set a daily/weekly/monthly goal. However, we would want to keep the history. For example, although I want my counter to return to zero at the start of the month, I want to see the history of my counts of the previous months, just like it is displayed today (I really like how it is displayed).

albertvaka commented 8 months ago

I built it mainly as a habit tracker for myself, but I don't set goals for myself so I didn't put that in. However more people requested this feature so I think it makes sense. Maybe I could even start setting goals for myself 😝 But I want to make sure the app stays simple for people who don't want the goals.

Dricc123 commented 8 months ago

Maybe you can get inspiration from the Loop Habit Tracker app https://github.com/iSoron/uhabits also available on F-Droid but that app does not work as a tally counter and I much prefer the tally counter system for my use case.

albertvaka commented 8 months ago

I've added goals 😃 I'll now make a new release, let me know how it looks for you once you get it 😄

Dricc123 commented 8 months ago

Are there goals in version 3.2 that was added in F-droid on Dec 27th? I can't find where

albertvaka commented 8 months ago

It's in version 4.0. It might take a couple more days to show up.

Dricc123 commented 8 months ago

Version 4 is there and I love it! Just what I need. It's simple and it works for me. I like the checkmark icon but it seems to appear once the goal is exceeded instead of just achieved, for example it does not start at 3/3 but at 4/3. Can you check if you can reproduce that please.

albertvaka commented 8 months ago

Ooops, you are right... I made one last minute change and I didn't test it 😓 I'll make a new release with the fix soon.

Dricc123 commented 8 months ago

Still no update available on F-Droid store...

bttrx commented 8 months ago

@Dricc123 Must be a local problem on your phone, because I installed the update v4.0.1 two days ago via F-Droid.

Dricc123 commented 8 months ago

You're right. I didn't notice it had installed. Sorry about that.