Skip to content

Commit 4cf9bc5

Browse files
committed
fix(tui): rename and reorder sidebar summary rows
1 parent 463add9 commit 4cf9bc5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tui/slots/sidebar-top.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -337,18 +337,18 @@ const SidebarContext = (props: {
337337

338338
<SummaryRow
339339
palette={props.palette}
340-
label="Saved Tokens"
341-
value={`~${compactTokenCount(snapshot().breakdown.prunedTokens)}`}
340+
label="Current Messages"
341+
value={`~${compactTokenCount(snapshot().breakdown.total)}`}
342342
tone="accent"
343-
swatch={props.palette.muted}
343+
swatch={props.palette.accent}
344344
marginTop={1}
345345
/>
346346
<SummaryRow
347347
palette={props.palette}
348-
label="Current Context"
349-
value={`~${compactTokenCount(snapshot().breakdown.total)}`}
348+
label="Compressed Messages"
349+
value={`~${compactTokenCount(snapshot().breakdown.prunedTokens)}`}
350350
tone="accent"
351-
swatch={props.palette.accent}
351+
swatch={props.palette.muted}
352352
/>
353353

354354
{snapshot().messageStatuses.length > 0 && (

0 commit comments

Comments
 (0)