quicksc0p3r / simplecounter

Apache License 2.0
52 stars 11 forks source link

[Feature] Counter limits #3

Open VasilisKos opened 9 months ago

VasilisKos commented 9 months ago

Add an option to set a limit on counters ("Value limit"), and get a popup message when this limit is reached. This could be set during the creation of counters or editing.

quicksc0p3r commented 9 months ago

We would need to redesign the counter create/edit dialog first (perhaps using a ModalBottomSheet?) as the current AlertDialog-based one would get too cluttered.

Can you give examples of use cases for this feature? Global thresholds are already in place to prevent users from making values too high or too low.

VasilisKos commented 9 months ago

We would need to redesign the counter create/edit dialog first (perhaps using a ModalBottomSheet?) as the current AlertDialog-based one would get too cluttered.

Can you give examples of use cases for this feature? Global thresholds are already in place to prevent users from making values too high or too low.

It's not a top priority feature, but might be useful e.g. when you count something for a long period of time and want to be alerted when reaching a certain value. For example, how many packs of cigarettes you've smoked throughout the year, and you want to be alerted when you reach 1000!😋 Of course that has no meaning if you already have that limit in your mind. But in case you don't remember it after a long time, a reminder might be useful. It's up to you my friend. I don't bother if you don't implement it. You can then close this issue as not planned. P. S. Modal Bottom Sheet is not a bad idea.