From 7d9681907cf543d5a4320ebc91abe290738f83dd Mon Sep 17 00:00:00 2001 From: jon Date: Fri, 24 Jul 2026 19:44:20 -0500 Subject: [PATCH] fix(ui,install): Models page couldn't scroll to installed models; report install result in original window MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Models.jsx clipped the whole card with overflow:hidden while only the "Available Models" section (never visible when the hardware-recommended list alone filled the card) had its own scroll — the installed-models list was unreachable with no scrollbar. The whole card now scrolls as one region instead. install-windows.ps1's original (non-elevated) window printed "Requesting administrator privileges..." and exited immediately, so all real progress and the "installed!" banner only ever appeared in the separate elevated window — making the original window look like it silently quit. It now waits (-Wait -PassThru) and reports success/failure itself. Co-Authored-By: Claude Sonnet 5 --- install-windows.ps1 | 16 ++++++++++++++-- interface/web/src/Models.jsx | 5 +++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/install-windows.ps1 b/install-windows.ps1 index 89e4b5f..6679ee7 100644 --- a/install-windows.ps1 +++ b/install-windows.ps1 @@ -82,8 +82,20 @@ $IsAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIden [Security.Principal.WindowsBuiltInRole]::Administrator) if (-not $IsAdmin) { Write-Host "Requesting administrator privileges..." -ForegroundColor Yellow - Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`" -OwnsWindow" -Verb RunAs - exit + # -Wait -PassThru so this window blocks until the elevated install finishes + # and can report success/failure itself - without it, this window just says + # "Requesting..." and exits immediately, while all real progress (and the + # "installed!" banner) happens in the separate elevated window, making the + # original window look like it silently quit. + $proc = Start-Process powershell -ArgumentList "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`" -OwnsWindow" -Verb RunAs -Wait -PassThru + Write-Host "" + if ($proc.ExitCode -eq 0) { + Write-Host " NexusOS installed successfully." -ForegroundColor Green + Write-Host " Open a NEW terminal and run 'ncp help', or double-click the NexusOS desktop shortcut." -ForegroundColor White + } else { + Write-Host " Install did not finish (exit code $($proc.ExitCode)). Check the elevated window for errors." -ForegroundColor Red + } + exit $proc.ExitCode } Write-Host "" diff --git a/interface/web/src/Models.jsx b/interface/web/src/Models.jsx index 7e4e9d1..e1fba5e 100644 --- a/interface/web/src/Models.jsx +++ b/interface/web/src/Models.jsx @@ -161,7 +161,8 @@ export function Models({ onPullStateChange }) { padding: "1rem", display: "flex", flexDirection: "column", - overflow: "hidden" + overflowY: "auto", + overflowX: "hidden" }}> {/* Pull Model Section */}
@@ -260,7 +261,7 @@ export function Models({ onPullStateChange }) { )} {/* Local Models List */} -
+

Available Models ({models.length})