cgeo / cgeo

c:geo - The powerful Android geocaching app.
www.cgeo.org
Apache License 2.0
1.39k stars 565 forks source link

Streak Placeholder in Logging Template #15740

Open daleandacre opened 4 months ago

daleandacre commented 4 months ago

Tell us your idea!

I'm working on getting a geocaching streak of 366 days and like to include how many days I've been streaking in my logs (eg. day 128 of my 366 streak). Sometimes I have to check logs from the previous day to remember what day I'm at or correct the logs on the website later because I got the date wrong. I see that there are logging templates I can customize to include the day, time, or number of caches, but nothing related to longest streak or current streak.

What solution would you suggest?

Please consider adding a placeholder value of [STREAK] in the placeholder menu. I would love a template I could select while logging a cache that would insert "day [STREAK] of our 366 day streak" and have it automatically insert the number of days I've found caches.

I would prefer current streak, but longest streak would work for me as well as I am currently on my longest streak.

Is there an alternative?

No response

Additional Information

No response

SammysHP commented 4 months ago

That's not an information provided by geocaching.com, we would have to load all of your previous logs until the streak ends. Then the question is how long this information stays valid until it must be refreshed.

MagpieFourtyTwo commented 4 months ago

That's not an information provided by geocaching.com

Halfway correct, cause if you're up to date with your online logs, c:geo could just take it from the Current Streak counter on the statistics page.

But things get complicated, once you're behind with your online logs: Then gc.com's Current Streak is simply zero, no matter if you already have fieldnotes. In the statistics you then can only see the increasing number of Current Slump, which would only help if your Current Streak is in fact your Longest Streak yet, i. e. if the since-date of your Current Slump equals the to-date of your Longest Streak - then c:geo would be able to check if there are offline stored fieldnotes, covering the "missing" days ... but this is a pretty special use case and far from generally valid.

Thus, although I would really welcome such a macro too, I wouldn't recommend putting energy into it, because making the above bullet-proof doesn't seem to be possible.

Anyway, @daleandacre, maybe the following can be of some help anyway: I already have such a counter in my signature, which I maintain manually as follows: