mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-17 03:56:45 +00:00
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'.
This commit is contained in:
parent
32dfa8e165
commit
bfa5fe7fa0
4 changed files with 4 additions and 4 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -591,7 +591,7 @@ function StatusBar({ width, showProvider, view, findingCount, optimizeAvailable,
|
|||
<Text color={ORANGE} bold>2</Text><Text dimColor> week </Text>
|
||||
<Text color={ORANGE} bold>3</Text><Text dimColor> 30 days </Text>
|
||||
<Text color={ORANGE} bold>4</Text><Text dimColor> month </Text>
|
||||
<Text color={ORANGE} bold>5</Text><Text dimColor> all time</Text>
|
||||
<Text color={ORANGE} bold>5</Text><Text dimColor> 6 months</Text>
|
||||
{!isOptimize && optimizeAvailable && findingCount != null && findingCount > 0 && (
|
||||
<><Text dimColor> </Text><Text color={ORANGE} bold>o</Text><Text dimColor> optimize</Text><Text color="#F55B5B"> ({findingCount})</Text></>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue