ui: address PR comments and rename 'usage-limit' to 'quota'

This commit is contained in:
Keith Guerin
2026-02-28 23:55:24 -08:00
parent ea965bc149
commit 94272f3f24
7 changed files with 47 additions and 55 deletions
+4 -4
View File
@@ -33,7 +33,7 @@ export const ALL_ITEMS = [
description: 'Percentage of context window remaining',
},
{
id: 'usage-limit',
id: 'quota',
header: '/stats',
description: 'Remaining usage on daily limit (not shown when unavailable)',
},
@@ -67,7 +67,7 @@ export const DEFAULT_ORDER = [
'sandbox-status',
'model-name',
'context-remaining',
'usage-limit',
'quota',
'memory-usage',
'session-id',
'code-changes',
@@ -82,7 +82,7 @@ export function deriveItemsFromLegacySettings(
'git-branch',
'sandbox-status',
'model-name',
'usage-limit',
'quota',
];
const items = [...defaults];
@@ -96,7 +96,7 @@ export function deriveItemsFromLegacySettings(
if (settings.ui.footer.hideModelInfo) {
remove(items, 'model-name');
remove(items, 'context-remaining');
remove(items, 'usage-limit');
remove(items, 'quota');
}
if (
!settings.ui.footer.hideContextPercentage &&