Merge nucleic/sleek-opal-seal into dev
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user