Habits

Usage

  • Define routines with daily, weekly, or custom cadences.
  • Track completions with counters, timers, or boolean check-ins.
  • Visualise streaks and compare current versus target performance.
  • Annotate streak breaks with notes for future reflection.

Data model

  • Tables: habit_definitions, habit_entries, and habit_targets.
  • Entries store date, value, optional duration, and note.
  • Aggregated streak metrics are derived and cached for dashboards.

Synchronisation

  • Habit data is available offline with automatic Drift persistence.
  • Membership sync will merge entries by timestamp while preserving streaks.
  • Conflicts keep the higher completion value and log the merge.

Roadmap

  • Shared habit templates and recommendations.
  • Calendar heatmaps for quick monthly overview.
  • Automation hooks to trigger habits from tasks or time tracking.
  • Export streak summaries for accountability partners.