From 904ef11456c90ba6923baf1912f364d7a30b5ef9 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 12 Jul 2026 22:26:04 -0700 Subject: [PATCH] Merge nucleic/sleek-opal-seal into dev --- NucleicRemote/NucleicRemote/Views/StatusAndQuota.swift | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/NucleicRemote/NucleicRemote/Views/StatusAndQuota.swift b/NucleicRemote/NucleicRemote/Views/StatusAndQuota.swift index 50a2c57..9a9b2d5 100644 --- a/NucleicRemote/NucleicRemote/Views/StatusAndQuota.swift +++ b/NucleicRemote/NucleicRemote/Views/StatusAndQuota.swift @@ -108,9 +108,9 @@ struct QuotaCard: View { // MARK: - Codex quota card (the Mac's CodexUsageCard, dashboard form) /// The Codex counterpart to `QuotaCard`, rendered from `DashboardSnapshot.codexUsage` — the -/// rolling windows the host's `codex` agent reported (`primary` ≈ 5-hour, `secondary` ≈ weekly). -/// Renders nothing until a Codex chat has reported usage, so Claude-only users never carry an -/// empty card. Same thresholds, icons, and copy as the Claude card. +/// rolling weekly window the host's `codex` agent reported (its short ~5-hour window has been +/// retired). Renders nothing until a Codex chat has reported usage, so Claude-only users never +/// carry an empty card. Same thresholds, icons, and copy as the Claude card. struct CodexQuotaCard: View { let usage: CodexUsage? @@ -122,9 +122,7 @@ struct CodexQuotaCard: View { Image(systemName: "gauge.with.dots.needle.67percent").foregroundStyle(.secondary) Text("Codex").font(.headline) } - windowRow(usage.primary, fallbackLabel: "5-hour limit", - icon: QuotaFormat.fiveHourIcon, now: context.date) - windowRow(usage.secondary, fallbackLabel: "Weekly limit", + windowRow(usage.weekly, fallbackLabel: "Weekly limit", icon: QuotaFormat.weeklyIcon, now: context.date) } .frame(maxWidth: .infinity, alignment: .leading)