Skip to content

Allow tasks to mark off multiple habits #2

@thehale

Description

@thehale

One happy user has a unique system with several tasks that each correspond 1-1 with a habit. But this user also has an extra "All Habits" counter that should increment whenever any task is completed.

If a task's completion could be configured to send multiple signals to Loop Habit tracker, then this user could map each task to both its dedicated habit and the special "All Habits" counter.


Technically that should be very doable, including in a backwards compatible way. Essentially each task will need to map to an array of habit actions. We can either write a migration to add that all at one, or update the schema to support single/multiple mappings.

The UI will be a bit trickier, since each task entry's height is no longer guaranteed to be the same. I may even move the setup to a separate screen to hold the many different options that will be available (add new habit, test each habit in isolation, test all together, etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions