From bfa5fe7fa099d96ca8fd3f128e08047f10c628e9 Mon Sep 17 00:00:00 2001 From: iamtoruk Date: Mon, 4 May 2026 19:46:20 -0700 Subject: [PATCH] fix(labels): update remaining 'all' period labels to '6 Months' PR #221 unified the period logic but missed the TUI hotkey bar, GNOME indicator popup, and macOS menubar app. All surfaces now consistently show '6 Months' instead of 'All' or 'all time'. --- gnome/indicator.js | 2 +- mac/Sources/CodeBurnMenubar/AppStore.swift | 2 +- mac/Sources/CodeBurnMenubar/Views/MenuBarContent.swift | 2 +- src/dashboard.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gnome/indicator.js b/gnome/indicator.js index 64199c1..c2f8266 100644 --- a/gnome/indicator.js +++ b/gnome/indicator.js @@ -18,7 +18,7 @@ const PERIODS = [ { id: 'week', label: '7 Days' }, { id: '30days', label: '30 Days' }, { id: 'month', label: 'Month' }, - { id: 'all', label: 'All' }, + { id: 'all', label: '6 Months' }, ]; const INSIGHTS = [ diff --git a/mac/Sources/CodeBurnMenubar/AppStore.swift b/mac/Sources/CodeBurnMenubar/AppStore.swift index 4374f4c..8dd40a1 100644 --- a/mac/Sources/CodeBurnMenubar/AppStore.swift +++ b/mac/Sources/CodeBurnMenubar/AppStore.swift @@ -321,7 +321,7 @@ enum Period: String, CaseIterable, Identifiable { case sevenDays = "7 Days" case thirtyDays = "30 Days" case month = "Month" - case all = "All" + case all = "6 Months" var id: String { rawValue } diff --git a/mac/Sources/CodeBurnMenubar/Views/MenuBarContent.swift b/mac/Sources/CodeBurnMenubar/Views/MenuBarContent.swift index 37befc3..892d0a1 100644 --- a/mac/Sources/CodeBurnMenubar/Views/MenuBarContent.swift +++ b/mac/Sources/CodeBurnMenubar/Views/MenuBarContent.swift @@ -109,7 +109,7 @@ private struct EmptyProviderState: View { case .sevenDays: "the last 7 days" case .thirtyDays: "the last 30 days" case .month: "this month" - case .all: "all time" + case .all: "the last 6 months" } } } diff --git a/src/dashboard.tsx b/src/dashboard.tsx index 3193b5a..b759e64 100644 --- a/src/dashboard.tsx +++ b/src/dashboard.tsx @@ -591,7 +591,7 @@ function StatusBar({ width, showProvider, view, findingCount, optimizeAvailable, 2 week 3 30 days 4 month - 5 all time + 5 6 months {!isOptimize && optimizeAvailable && findingCount != null && findingCount > 0 && ( <> o optimize ({findingCount}) )}