@@ -311,7 +311,7 @@ module WorldDeviceIcon = {
311311 let ip = info .ipAddress
312312 let deviceX = x // Store device X position for proximity check
313313 Container .on (indicatorContainer , "pointertap" , e => {
314- Js . Console .log (` Power indicator clicked for ${ip}` )
314+ Console .log (` Power indicator clicked for ${ip}` )
315315 // Stop event from bubbling to device container
316316 Pixi .stopPropagation (e )
317317
@@ -325,21 +325,21 @@ module WorldDeviceIcon = {
325325 }
326326
327327 if ! isNearby {
328- Js . Console .log (` Too far from ${ip} - must be within ${Float.toString(interactionDistance)} units` )
328+ Console .log (` Too far from ${ip} - must be within ${Float.toString(interactionDistance)} units` )
329329 } else {
330330 let isShutdown = PowerManager .isDeviceShutdown (ip )
331331 if isShutdown {
332332 // Boot the device if it has power available
333333 if PowerManager .deviceHasPower (ip ) {
334334 PowerManager .bootDevice (ip )
335- Js . Console .log (` Booting device ${ip}` )
335+ Console .log (` Booting device ${ip}` )
336336 } else {
337- Js . Console .log (` Cannot boot ${ip} - no power available` )
337+ Console .log (` Cannot boot ${ip} - no power available` )
338338 }
339339 } else {
340340 // Manually shutdown the device (won't auto-boot)
341341 PowerManager .manualShutdownDevice (ip )
342- Js . Console .log (` Manually shutting down device ${ip}` )
342+ Console .log (` Manually shutting down device ${ip}` )
343343 }
344344 }
345345 })
@@ -630,15 +630,15 @@ let make = (): Navigation.appScreen => {
630630 // Debug button to open network view
631631 let debugButton = Button .make (~options = {text : "Network View (Debug)" , width : 180.0 , height : 40.0 }, ())
632632 Signal .connect (FancyButton .onPress (debugButton ), () => {
633- Js . Console .log ("Network View button pressed!" )
633+ Console .log ("Network View button pressed!" )
634634 switch GetEngine .get () {
635635 | Some (engine ) =>
636636 let _ = Navigation .presentPopup (engine .navigation , NetworkDesktop .constructor )
637637 | None => ()
638638 }
639639 })
640640 Signal .connect (FancyButton .onDown (debugButton ), () => {
641- Js . Console .log ("Network View button down!" )
641+ Console .log ("Network View button down!" )
642642 })
643643 let _ = Container .addChild (container , FancyButton .toContainer (debugButton ))
644644
@@ -752,7 +752,7 @@ let make = (): Navigation.appScreen => {
752752
753753 if ! canOpen {
754754 // Device is shutdown - don't open, just log
755- Js . Console .log (` Device ${wd.ipAddress} is shutdown - no power` )
755+ Console .log (` Device ${wd.ipAddress} is shutdown - no power` )
756756 } else {
757757 // Close existing window if any
758758 closeDeviceWindow ()
0 commit comments