Ayagikei / LifeUp

Pure and highly customizable gamified to-do and habit-forming app.
209 stars 4 forks source link

[Feature] Achievement Milestone with API / Add/Copy Achievements API Calls #83

Open Khotul opened 1 year ago

Khotul commented 1 year ago

I'm aware a similar issue already exists and that milestones aren't possible due to the way the achievement architecture is structured, however I come here with a possible workaround.

Is your feature request related to a problem? Please describe. I wanted to make milestone achievements for levels, tasks I'm doing etc. For example, if I reach level 5 STR, I want the same achievement to be re-created but with "II/2" at the end of the name, that requires me to reach level 10 STR, and increases my rewards.

Describe the solution you'd like API Call to clone an achievement, and an API Call to edit an achievement, it's conditions and rewards. In that system it wouldn't be hard to, upon completion clone the previous achievement, edit it's rewards to be relative = 1.2 (or any number user wants), edit it's condition to be relative = 2 (or any number user wants).

Describe alternatives you've considered At the moment I'm doing it manually, but that's kind of a labor.

Additional context Just wanted to say, I love your app. I've used countless motivational apps over the years, and I never fell in love with one as much as I did with yours. I do hope API support will be more expanded in the future, cause this app's level of customization is incomparable to others.

Ayagikei commented 1 year ago

thanks for your advice! Also glad to see you like our high customization design :D.

We will evaluate adding such APIs. It does work.