Fix status bar usage separator entity (#5053)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo Hong
2026-06-11 12:25:50 -07:00
committed by Jinwoo-H
co-authored by Orca
parent 571ee3614f
commit deb10db787
2 changed files with 6 additions and 18 deletions
@@ -1031,9 +1031,7 @@ function ProviderSegment({
return (
<span className="inline-flex items-center gap-1 text-muted-foreground">
<ProviderIcon provider={provider} />
<span className="animate-pulse">
{translate('auto.components.status.bar.StatusBar.2483c60695', '&middot;&middot;&middot;')}
</span>
<span className="animate-pulse">···</span>
</span>
)
}
@@ -1043,9 +1041,7 @@ function ProviderSegment({
return (
<span className="inline-flex items-center gap-1 text-muted-foreground">
<ProviderIcon provider={provider} />
<span className="animate-pulse">
{translate('auto.components.status.bar.StatusBar.2483c60695', '&middot;&middot;&middot;')}
</span>
<span className="animate-pulse">···</span>
</span>
)
}
@@ -1082,11 +1078,7 @@ function ProviderSegment({
const left = Math.max(0, Math.round(100 - bucket.usedPercent))
return (
<React.Fragment key={bucket.name}>
{i > 0 && (
<span className="text-muted-foreground">
{translate('auto.components.status.bar.StatusBar.4dff061aab', '&middot;')}
</span>
)}
{i > 0 && <span className="text-muted-foreground">·</span>}
<span className="tabular-nums">
{bucket.name} {left}%
</span>
@@ -1108,11 +1100,7 @@ function ProviderSegment({
{p.session && (
<WindowLabel w={p.session} label={formatWindowLabel(p.session.windowMinutes)} />
)}
{p.session && p.weekly && (
<span className="text-muted-foreground">
{translate('auto.components.status.bar.StatusBar.4dff061aab', '&middot;')}
</span>
)}
{p.session && p.weekly && <span className="text-muted-foreground">·</span>}
{p.weekly && <WindowLabel w={p.weekly} label={formatWindowLabel(p.weekly.windowMinutes)} />}
{isStale && <AlertTriangle size={11} className="text-muted-foreground/80" />}
</span>
+2 -2
View File
@@ -2485,8 +2485,8 @@
"7657e3db9c": "Codex Account",
"38b5647724": "Codex usage runtime",
"ba55303942": "Open Codex details and account switcher",
"4dff061aab": "&middot;",
"2483c60695": "&middot;&middot;&middot;",
"4dff061aab": "·",
"2483c60695": "···",
"c35af53b73": "Sign in",
"f19a63e7cd": "Sign in to see usage",
"5c938d39ac": "% wk",