Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Habit inheritance / aggregation #191

Closed
adamvoss opened this issue Oct 15, 2016 · 3 comments
Closed

Habit inheritance / aggregation #191

adamvoss opened this issue Oct 15, 2016 · 3 comments
Labels
duplicate A previous issue describing the same problem already exists

Comments

@adamvoss
Copy link

This proposes a habit that could be would be marked as done by the completion of another habit. In other words an aggregate habit, super-habit, or meta habit.

This may be somewhat related to #51 and may be relevant to some use cases proposed in #121.

I have two examples among my current habits:

Aggregating habits for detailed accounting

I have a "Exercise" habit. Now I want to get into the habit of running. As running is exercise, I would like to give myself credit for the "Exercise" habit" if I run.

What I did:

Check both habits every time I run."Exercise" when I do other exercise.

What I would like to do:

Create habits for all the common exercises I might do, or perhaps a workout program if I started one. Aggregate all of these under the "Exercise" habit. I mark the activity actually performed. If I engage in some Form of exercise not at all habitual, I mark "Exercise" directly. If there is an activity I no longer partake in (ex. completed workout program) I archive the habit.

Aggregating habits to reduce the number of habits

I have a "Morning Meditation" habit and an "Evening Meditation" habit. I have decided to switch to meditation once daily and thus want a "Meditate" habit. Both "Morning Meditation" and "Evening Meditation" are meditation so I would like to aggregate their data into the "Meditate" habit.

What I did:

Manually copied the history from the two previous habits into my new habit and archived the old habits.

What I would like to do:

Make the new habit that aggregates the two old ones to take on all of their history. I could archive the two old ones and just use the new habit. If I was unsure of the change or if I wanted to keep track of when I did the habit, I could continue to mark the old habits while paying attention to the completion/statistics on the new habit.

@adamvoss
Copy link
Author

@iSoron Would you mind triaging this item (adding tags/comment on appropriateness)?

I have not looked at the code yet but I am considering implementing this. I expect it would not be a small change and would want to make sure it isn't an inherently undesired feature before digging into it.

@iSoron
Copy link
Owner

iSoron commented Mar 19, 2017

Hi @vossad01, my main concern with this feature is implementing it in a way that is intuitive to use. If you want to go ahead and implement a proof of concept, I would be glad to have a look.

For the first feature, I believe #31 would provide something very similar to what you describe. The only difference is that you would not be able to put checkmarks on the tag itself.

@iSoron
Copy link
Owner

iSoron commented Aug 13, 2019

Moving this discussion to #495.

@iSoron iSoron closed this as completed Aug 13, 2019
@iSoron iSoron added the duplicate A previous issue describing the same problem already exists label Aug 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate A previous issue describing the same problem already exists
Projects
None yet
Development

No branches or pull requests

2 participants