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:
@@ -27,6 +27,8 @@ import '../about/external/initial/SessionLogRequest.dart';
|
||||
import '../about/external/initial/SickModeRequest.dart';
|
||||
import '../about/external/initial/ToneRequest.dart';
|
||||
import '../about/internal/application/CapacityProfile.dart';
|
||||
import '../about/internal/application/ProgressTargets.dart';
|
||||
import '../about/internal/application/RoutineRunRecord.dart';
|
||||
import '../about/internal/application/TodoItem.dart';
|
||||
import '../about/internal/application/MeDescription.dart';
|
||||
import '../about/internal/application/Token.dart';
|
||||
@@ -132,6 +134,21 @@ class AppDataManager implements DataManager {
|
||||
@override
|
||||
Future setTodos(List<TodoItem> todos) => memory.setTodos(todos);
|
||||
|
||||
@override
|
||||
Future<List<RoutineRunRecord>> getRunLog() => memory.getRunLog();
|
||||
|
||||
@override
|
||||
Future setRunLog(List<RoutineRunRecord> records) =>
|
||||
memory.setRunLog(records);
|
||||
|
||||
@override
|
||||
Future<ProgressTargets> getProgressTargets() =>
|
||||
memory.getProgressTargets();
|
||||
|
||||
@override
|
||||
Future setProgressTargets(ProgressTargets targets) =>
|
||||
memory.setProgressTargets(targets);
|
||||
|
||||
@override
|
||||
Future<bool> showOnboarding() => memory.showOnboarding();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user