Files
GroundedHelper/frontend/lib/Grounded/see/home/ConnectHome.dart
alvocool fe268cb8aa Redesign the UI after the fitness reference and replace the logo
Light sage-to-cream ambient backdrop, frosted glass controls and painted
SceneArt landscapes in place of photography. Home becomes a dashboard with a
two-tone greeting, a frosted summary ring, category portraits, an up-next rail
of image-led cards and a floating glass tab bar. The routine library gets an
image header and painted cards; the player gets a scene stage, steps on an
arc, a dotted clock and a night pill with a lime spark. Goals become painted
cards in their own colour.

New logo: a lime sun resting on a ground line under two arcs. The splash
raises the sun and lights the arcs; launcher icons and native splash are
regenerated to match.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KhQh614DMeYoQEH9SoMRUw
2026-11-02 12:33:13 +03:00

36 lines
1.3 KiB
Dart

import '../../about/external/data/Commitment.dart';
import '../../about/external/data/ExcuseCluster.dart';
import '../../about/external/data/RoutineChain.dart';
import '../../about/internal/application/Standing.dart';
import '../../about/internal/application/UserDetails.dart';
abstract class ConnectHome {
void onUserLoaded(UserDetails details);
void onPlanLoaded(List<Commitment> plan);
void onOverdueLoaded(List<Commitment> overdue);
/// The routine library, for the up-next rail.
void onRoutinesLoaded(List<RoutineChain> routines);
/// Standing arrives derived, with the debt it was derived from.
void onStandingResolved(Standing standing, double debtScore);
/// The one excuse pattern worth confronting the user with today.
void onExcuseInsight(ExcuseCluster? cluster);
/// Distress detected — the strict persona drops entirely.
void onDistressDetected();
/// Creating a commitment is refused at this standing.
void onCreationBlocked(String reason);
/// A tick landed. [late] is true when the window had already closed, so the
/// row can show it was recorded as a late complete rather than a clean one.
void onTicked(Commitment item, bool late);
/// The tick failed and the row has to go back to unchecked.
void onTickFailed(Commitment item);
}