@@ -68,7 +68,6 @@ const ListBlueprintsUI: React.FC<{
6868 } ,
6969 ] ;
7070
71-
7271 // Clear console when transitioning to detail view
7372 const prevShowDetailsRef = React . useRef ( showDetails ) ;
7473 React . useEffect ( ( ) => {
@@ -123,7 +122,7 @@ const ListBlueprintsUI: React.FC<{
123122 useInput ( ( input , key ) => {
124123 // Handle operation input mode
125124 if ( executingOperation && ! operationResult && ! operationError ) {
126- const currentOp = allOperations . find ( ( op ) => op . key === executingOperation ) ;
125+ const currentOp = allOperations . find ( op => op . key === executingOperation ) ;
127126 if ( currentOp ?. needsInput ) {
128127 if ( key . return ) {
129128 executeOperation ( ) ;
@@ -188,7 +187,7 @@ const ListBlueprintsUI: React.FC<{
188187
189188 // Filter operations based on blueprint status
190189 const operations = selectedBlueprint
191- ? allOperations . filter ( ( op ) => {
190+ ? allOperations . filter ( op => {
192191 const status = selectedBlueprint . status ;
193192
194193 // Only allow creating devbox if build is complete
@@ -203,8 +202,7 @@ const ListBlueprintsUI: React.FC<{
203202
204203 // Operation result display
205204 if ( operationResult || operationError ) {
206- const operationLabel =
207- operations . find ( ( o ) => o . key === executingOperation ) ?. label || 'Operation' ;
205+ const operationLabel = operations . find ( o => o . key === executingOperation ) ?. label || 'Operation' ;
208206 return (
209207 < >
210208 < Breadcrumb
@@ -230,7 +228,7 @@ const ListBlueprintsUI: React.FC<{
230228
231229 // Operation input mode
232230 if ( executingOperation && selectedBlueprint ) {
233- const currentOp = allOperations . find ( ( op ) => op . key === executingOperation ) ;
231+ const currentOp = allOperations . find ( op => op . key === executingOperation ) ;
234232 const needsInput = currentOp ?. needsInput ;
235233 const operationLabel = currentOp ?. label || 'Operation' ;
236234
@@ -377,21 +375,13 @@ const ListBlueprintsUI: React.FC<{
377375 < Text color = { colors . warning } bold >
378376 { figures . squareSmallFilled } Dockerfile Setup
379377 </ Text >
380- { ds . base_image && (
381- < Text dimColor > Base Image: { ds . base_image } </ Text >
382- ) }
383- { ds . entrypoint && (
384- < Text dimColor > Entrypoint: { ds . entrypoint } </ Text >
385- ) }
378+ { ds . base_image && < Text dimColor > Base Image: { ds . base_image } </ Text > }
379+ { ds . entrypoint && < Text dimColor > Entrypoint: { ds . entrypoint } </ Text > }
386380 { ds . system_packages && ds . system_packages . length > 0 && (
387- < Text dimColor >
388- System Packages: { ds . system_packages . join ( ', ' ) }
389- </ Text >
381+ < Text dimColor > System Packages: { ds . system_packages . join ( ', ' ) } </ Text >
390382 ) }
391383 { ds . python_packages && ds . python_packages . length > 0 && (
392- < Text dimColor >
393- Python Packages: { ds . python_packages . join ( ', ' ) }
394- </ Text >
384+ < Text dimColor > Python Packages: { ds . python_packages . join ( ', ' ) } </ Text >
395385 ) }
396386 </ Box >
397387 ) }
@@ -419,14 +409,14 @@ const ListBlueprintsUI: React.FC<{
419409 < OperationsMenu
420410 operations = { operations }
421411 selectedIndex = { selectedOperation }
422- onNavigate = { ( direction ) => {
412+ onNavigate = { direction => {
423413 if ( direction === 'up' && selectedOperation > 0 ) {
424414 setSelectedOperation ( selectedOperation - 1 ) ;
425415 } else if ( direction === 'down' && selectedOperation < operations . length - 1 ) {
426416 setSelectedOperation ( selectedOperation + 1 ) ;
427417 }
428418 } }
429- onSelect = { ( op ) => {
419+ onSelect = { op => {
430420 console . clear ( ) ;
431421 setExecutingOperation ( op . key as OperationType ) ;
432422 } }
@@ -466,11 +456,16 @@ const ListBlueprintsUI: React.FC<{
466456 render : ( blueprint : any , index : number , isSelected : boolean ) => {
467457 const statusDisplay = getStatusDisplay ( blueprint . status ) ;
468458 return (
469- < Text color = { isSelected ? 'white' : statusDisplay . color } bold = { true } inverse = { isSelected } wrap = "truncate" >
459+ < Text
460+ color = { isSelected ? 'white' : statusDisplay . color }
461+ bold = { true }
462+ inverse = { isSelected }
463+ wrap = "truncate"
464+ >
470465 { statusDisplay . icon } { ' ' }
471466 </ Text >
472467 ) ;
473- }
468+ } ,
474469 } ,
475470 {
476471 key : 'id' ,
@@ -482,11 +477,17 @@ const ListBlueprintsUI: React.FC<{
482477 const truncated = value . slice ( 0 , width - 1 ) ;
483478 const padded = truncated . padEnd ( width , ' ' ) ;
484479 return (
485- < Text color = { isSelected ? 'white' : colors . textDim } bold = { false } dimColor = { ! isSelected } inverse = { isSelected } wrap = "truncate" >
480+ < Text
481+ color = { isSelected ? 'white' : colors . textDim }
482+ bold = { false }
483+ dimColor = { ! isSelected }
484+ inverse = { isSelected }
485+ wrap = "truncate"
486+ >
486487 { padded }
487488 </ Text >
488489 ) ;
489- }
490+ } ,
490491 } ,
491492 {
492493 key : 'statusText' ,
@@ -497,18 +498,20 @@ const ListBlueprintsUI: React.FC<{
497498 const truncated = statusDisplay . text . slice ( 0 , statusTextWidth ) ;
498499 const padded = truncated . padEnd ( statusTextWidth , ' ' ) ;
499500 return (
500- < Text color = { isSelected ? 'white' : statusDisplay . color } bold = { true } inverse = { isSelected } wrap = "truncate" >
501+ < Text
502+ color = { isSelected ? 'white' : statusDisplay . color }
503+ bold = { true }
504+ inverse = { isSelected }
505+ wrap = "truncate"
506+ >
501507 { padded }
502508 </ Text >
503509 ) ;
504- }
510+ } ,
505511 } ,
506- createTextColumn (
507- 'name' ,
508- 'Name' ,
509- ( blueprint : any ) => blueprint . name || '(unnamed)' ,
510- { width : nameWidth }
511- ) ,
512+ createTextColumn ( 'name' , 'Name' , ( blueprint : any ) => blueprint . name || '(unnamed)' , {
513+ width : nameWidth ,
514+ } ) ,
512515 createTextColumn (
513516 'description' ,
514517 'Description' ,
0 commit comments