diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index f00e426..c76669e 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -128,10 +128,14 @@ final class RemoteStore: ObservableObject { let cal = Calendar.current let today = cal.startOfDay(for: Date()) let activity = (0..<40).map { i -> ActivityDay in - ActivityDay(day: cal.date(byAdding: .day, value: -i, to: today)!, count: (i * 7) % 6) + let count = (i * 7) % 6 + // Sample tokens roughly track messages so the preview grid shades by usage. + ActivityDay(day: cal.date(byAdding: .day, value: -i, to: today)!, + count: count, tokens: count * 8_500 + (i * 137) % 4_000) } dashboard = DashboardSnapshot( - counts: DashboardCounts(projects: 2, chats: 5, activeChats: 2, messages: 142, activeDays: 9), + counts: DashboardCounts( + projects: 2, chats: 5, activeChats: 2, messages: 142, activeDays: 9, tokens: 1_284_000), activity: activity, projects: [ WireProject(id: p1, name: "nucleic", defaultBranch: "main", sessionCount: 3, activeCount: 2),