Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: update cost dashboard panel

Steven Enamakel884000e28a91
diff --git a/app/src/components/dashboard/CostDashboardPanel.tsx b/app/src/components/dashboard/CostDashboardPanel.tsx
index 0a504a63c7..d232764abb 100644
--- a/app/src/components/dashboard/CostDashboardPanel.tsx
+++ b/app/src/components/dashboard/CostDashboardPanel.tsx
@@ -135,19 +135,19 @@ const CostDashboardPanel = ({ embedded = false }: CostDashboardPanelProps) => {
alertThreshold={data.alert_threshold}
/>
</Card>
- <section
+ <Card
data-testid="cost-dashboard-token-chart"
- className="rounded-2xl border border-line p-4 bg-surface/40">
- <header className="mb-2 flex items-baseline justify-between">
- <h2 className="text-sm font-semibold text-content">
- {t('settings.costDashboard.sevenDayTokens')}
- </h2>
+ padded
+ divided={false}
+ className="bg-surface/40"
+ title={t('settings.costDashboard.sevenDayTokens')}
+ headerRight={
<span className="text-[11px] text-content-muted">
{t('settings.costDashboard.stackedNote')}
</span>
- </header>
+ }>
<TokenUsageChart days={data.days} />
- </section>
+ </Card>
<section
data-testid="cost-dashboard-model-table"
className="rounded-2xl border border-line p-4 bg-surface/40">