Add Progress over time and a targets and reminders setup
Progress gives a Day/Week/Month view of routines held against a weekly target, compared with the same point of the previous period, with active time and the daily streak. Targets & reminders sets routines and minutes per week and schedules a heads-up before each routine. The runner's summary now shows today's held count and streak. Finished runs are mirrored to a device run log that feeds both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KhQh614DMeYoQEH9SoMRUw
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import '../../about/internal/application/RoutineRunRecord.dart';
|
||||
|
||||
abstract class ConnectRoutineRunner {
|
||||
/// Earlier runs from the device log, for the summary's today and
|
||||
/// streak line.
|
||||
void onHistoryLoaded(List<RoutineRunRecord> records);
|
||||
|
||||
/// The run was recorded. [held] is false when the chain broke and the run
|
||||
/// went in as partial.
|
||||
void onLogged(bool held);
|
||||
|
||||
Reference in New Issue
Block a user