githo icon indicating copy to clipboard operation
githo copied to clipboard

Different number of required actions per level

Open HeinrichZurHorstMeyer opened this issue 2 years ago • 3 comments

It would be nice to have a different number of required actions per level. For example: level 1: Do x once per day level 2: Do x twice per dax

HeinrichZurHorstMeyer avatar May 13 '22 13:05 HeinrichZurHorstMeyer

Thank you for your request.

At the moment I'm uncertain how well this feature aligns with Githo's thought of "gradually acquiring a habit". Do you have any real-world examples that illustrate how raising the number of required actions fits this "gradually acquiring a habit"-idea?

Glitchy-Tozier avatar May 20 '22 07:05 Glitchy-Tozier

To acquire the habit of keepinh track of my to-do list, it would be nice for level one to, at least daily, check my list. In level two I would like to check twice a day.

HeinrichZurHorstMeyer avatar May 20 '22 12:05 HeinrichZurHorstMeyer

  1. I'm very busy at the moment, unfortunately, so this will have to wait a little longer
  2. I think I understand your reasoning
  3. At the moment, I'm not sure how to to implement this elegantly, though. I would like to keep the Habit-creation-screen tidy, so I might need to create a whole new one & add a toggle somewhere.
  4. Additionally, think this would mean big changes to the database.
    • It would interfere with a lot of the current logic for how the main data-structure (ProgressData) is created when starting a habit.
    • Adding this feature would require a restructuring of HabitPlan, either forcing me to extend it or to split it into different versions (e.g. QualitativeHabitPlan (the current one) and QuantitativeHabitPlan (the new one))

Glitchy-Tozier avatar Jun 07 '22 09:06 Glitchy-Tozier