File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
extensions/cli/src/ui/components Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export const BottomStatusBar: React.FC<BottomStatusBarProps> = ({
6464 </ React . Fragment >
6565 ) }
6666 < ModeIndicator />
67- { contextPercentage !== undefined && contextPercentage > 75 && (
67+ { contextPercentage !== undefined && contextPercentage > 0 && (
6868 < React . Fragment >
6969 < Text key = "context-separator" color = "dim" >
7070 { " " }
Original file line number Diff line number Diff line change @@ -7,14 +7,12 @@ interface ContextPercentageDisplayProps {
77
88/**
99 * Component to display the current context usage percentage
10- * Shows the percentage in gray color for consistency with other status indicators
11- * Only displays when percentage exceeds 75% threshold
10+ * Shows the non-zero percentage in gray color for consistency with other status indicators
1211 */
1312export const ContextPercentageDisplay : React . FC <
1413 ContextPercentageDisplayProps
1514> = ( { percentage } ) => {
16- // Only show if percentage is greater than 75%
17- if ( percentage <= 75 ) {
15+ if ( percentage === 0 ) {
1816 return null ;
1917 }
2018
You can’t perform that action at this time.
0 commit comments