@@ -136,17 +136,16 @@ export class DeepnoteBigNumberCellStatusBarProvider
136136 const items : NotebookCellStatusBarItem [ ] = [ ] ;
137137 const metadata = cell . metadata as Record < string , unknown > | undefined ;
138138
139- // 1. Block type indicator with title
140- const title = ( metadata ?. deepnote_big_number_title as string ) || '' ;
141- const blockTypeText = title ? `Big Number: ${ title } ` : 'Big Number' ;
139+ // 1. Block type indicator
142140 items . push ( {
143- text : blockTypeText ,
141+ text : 'Big Number' ,
144142 alignment : 1 , // NotebookCellStatusBarAlignment.Left
145143 priority : 100 ,
146144 tooltip : this . buildTooltip ( metadata )
147145 } ) ;
148146
149147 // 2. Title editor
148+ const title = ( metadata ?. deepnote_big_number_title as string ) || '' ;
150149 const titleText = title ? `$(edit) ${ title } ` : '$(edit) Set title' ;
151150 items . push ( {
152151 text : titleText ,
@@ -162,10 +161,9 @@ export class DeepnoteBigNumberCellStatusBarProvider
162161
163162 // 3. Format selector
164163 const format = ( metadata ?. deepnote_big_number_format as string ) || 'number' ;
165- const formatIcon = this . getFormatIcon ( format ) ;
166164 const formatLabel = this . getFormatLabel ( format ) ;
167165 items . push ( {
168- text : ` ${ formatIcon } ${ formatLabel } ` ,
166+ text : formatLabel ,
169167 alignment : 1 ,
170168 priority : 90 ,
171169 tooltip : l10n . t ( 'Click to change format' ) ,
@@ -184,9 +182,9 @@ export class DeepnoteBigNumberCellStatusBarProvider
184182 let comparisonText : string ;
185183 if ( comparisonEnabled && comparisonType && comparisonValue ) {
186184 const comparisonTypeLabel = comparisonType === 'percentage-change' ? '% change' : 'vs' ;
187- comparisonText = `$(graph) ${ comparisonTypeLabel } : ${ comparisonValue } ` ;
185+ comparisonText = `Comparison: ${ comparisonTypeLabel } ${ comparisonValue } ` ;
188186 } else {
189- comparisonText = '$(graph) Add comparison' ;
187+ comparisonText = 'Set up comparison' ;
190188 }
191189
192190 items . push ( {
@@ -201,6 +199,13 @@ export class DeepnoteBigNumberCellStatusBarProvider
201199 }
202200 } ) ;
203201
202+ // 5. Hint text on the right
203+ items . push ( {
204+ text : l10n . t ( 'Expression to show' ) ,
205+ alignment : 2 , // NotebookCellStatusBarAlignment.Right
206+ priority : 100
207+ } ) ;
208+
204209 return items ;
205210 }
206211
@@ -223,17 +228,6 @@ export class DeepnoteBigNumberCellStatusBarProvider
223228 return lines . join ( '\n' ) ;
224229 }
225230
226- private getFormatIcon ( format : string ) : string {
227- switch ( format ) {
228- case 'currency' :
229- return '$(symbol-currency)' ;
230- case 'percent' :
231- return '$(symbol-misc)' ;
232- default :
233- return '$(symbol-number)' ;
234- }
235- }
236-
237231 private getFormatLabel ( format : string ) : string {
238232 switch ( format ) {
239233 case 'currency' :
@@ -251,7 +245,7 @@ export class DeepnoteBigNumberCellStatusBarProvider
251245 const currentTitle = ( metadata ?. deepnote_big_number_title as string ) || '' ;
252246
253247 const newTitle = await window . showInputBox ( {
254- prompt : l10n . t ( 'Enter title for big number' ) ,
248+ prompt : l10n . t ( 'Enter title for big number. You can use {{var}} syntax to reference variables. ' ) ,
255249 value : currentTitle ,
256250 placeHolder : l10n . t ( 'e.g., Total Revenue' )
257251 } ) ;
@@ -315,4 +309,3 @@ export class DeepnoteBigNumberCellStatusBarProvider
315309 this . comparisonSettingsWebview . dispose ( ) ;
316310 }
317311}
318-
0 commit comments