Files
GroundedHelper/frontend/lib/Grounded/about/internal/application/CoachContext.dart
alvocool 4cd3f6c038 Add Coach, take the reference's colours and copy its nav and motion
Coach is the centre tab: questions about routines, slips, streak, today,
active time and debt, answered on the device from the user's own data,
with a target bar chart and buttons that start routines or open the right
screen. The palette moves to neutral grey, near-black and one orange
accent, and Home's header becomes a light panel. The nav is now
overlapping frosted circles whose active disc pops forward, and tabs fade
and rise in on switch. Goals leaves the nav for Coach and stays one tap
away in Home's category row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KhQh614DMeYoQEH9SoMRUw
2026-11-09 07:22:35 +03:00

30 lines
660 B
Dart

import '../../external/data/Commitment.dart';
import '../../external/data/RoutineChain.dart';
import 'ProgressTargets.dart';
import 'RoutineRunRecord.dart';
/// Everything the coach may answer from. Nothing outside this is used, so
/// every answer is traceable to the user's own data.
class CoachContext {
List<RoutineRunRecord> runs;
List<RoutineChain> routines;
ProgressTargets targets;
List<Commitment> plan;
List<Commitment> overdue;
double debtScore;
CoachContext({
required this.runs,
required this.routines,
required this.targets,
required this.plan,
required this.overdue,
required this.debtScore,
});
}