From bc146457b6c45e1a7314101395de4e0e12f717a0 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Mon, 3 Nov 2025 17:49:55 +0530 Subject: [PATCH] feat(cli): always show the context percentage --- extensions/cli/src/ui/components/BottomStatusBar.tsx | 2 +- .../cli/src/ui/components/ContextPercentageDisplay.tsx | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/extensions/cli/src/ui/components/BottomStatusBar.tsx b/extensions/cli/src/ui/components/BottomStatusBar.tsx index d874dba11..c550cab03 100644 --- a/extensions/cli/src/ui/components/BottomStatusBar.tsx +++ b/extensions/cli/src/ui/components/BottomStatusBar.tsx @@ -64,7 +64,7 @@ export const BottomStatusBar: React.FC = ({ )} - {contextPercentage !== undefined && contextPercentage > 75 && ( + {contextPercentage !== undefined && ( {" "} diff --git a/extensions/cli/src/ui/components/ContextPercentageDisplay.tsx b/extensions/cli/src/ui/components/ContextPercentageDisplay.tsx index c1e53a6a0..6db3e85c1 100644 --- a/extensions/cli/src/ui/components/ContextPercentageDisplay.tsx +++ b/extensions/cli/src/ui/components/ContextPercentageDisplay.tsx @@ -8,15 +8,9 @@ interface ContextPercentageDisplayProps { /** * Component to display the current context usage percentage * Shows the percentage in gray color for consistency with other status indicators - * Only displays when percentage exceeds 75% threshold */ export const ContextPercentageDisplay: React.FC< ContextPercentageDisplayProps > = ({ percentage }) => { - // Only show if percentage is greater than 75% - if (percentage <= 75) { - return null; - } - return Context: {percentage}%; };