mirror of
https://github.com/stablyai/orca.git
synced 2026-10-29 08:07:18 +00:00
Fix status bar usage separator entity (#5053)
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
committed by
Jinwoo-H
co-authored by
Orca
parent
571ee3614f
commit
deb10db787
@@ -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', '···')}
|
||||
</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', '···')}
|
||||
</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', '·')}
|
||||
</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', '·')}
|
||||
</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>
|
||||
|
||||
@@ -2485,8 +2485,8 @@
|
||||
"7657e3db9c": "Codex Account",
|
||||
"38b5647724": "Codex usage runtime",
|
||||
"ba55303942": "Open Codex details and account switcher",
|
||||
"4dff061aab": "·",
|
||||
"2483c60695": "···",
|
||||
"4dff061aab": "·",
|
||||
"2483c60695": "···",
|
||||
"c35af53b73": "Sign in",
|
||||
"f19a63e7cd": "Sign in to see usage",
|
||||
"5c938d39ac": "% wk",
|
||||
|
||||
Reference in New Issue
Block a user