Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

feat(update): a Check again row, so a release that lands while the panel is open is visible

Rahman4caf1fb4e6be
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index e18fb429..9c03982a 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -8,6 +8,7 @@ this is the *what*, and it is what Settings → About shows as “What's new”.
**Added**
+- `update` a Check again row, so a release that lands while the panel is open is visible
- `files` long-press opens the context menu, so Preview is reachable on a phone
- `update` tell the running build from the checkout, so a pending rebuild is visible
- `settings,preview` update MSO from the app, and preview the formats a real disk has
diff --git a/frontend/slices/os-settings/components/update-section.tsx b/frontend/slices/os-settings/components/update-section.tsx
index f1b329a7..99609ffa 100644
--- a/frontend/slices/os-settings/components/update-section.tsx
+++ b/frontend/slices/os-settings/components/update-section.tsx
@@ -1,7 +1,7 @@
"use client";
import { useCallback, useEffect, useState } from "react";
-import { ArrowDownToLine, BookOpen, CheckCircle2, RefreshCw } from "lucide-react";
+import { ArrowDownToLine, BookOpen, CheckCircle2, RefreshCw, Search } from "lucide-react";
import { Button } from "@/components/ui/button";
import { FormDrawer } from "@/features/os-shell";
import { SettingsSection, SettingsActionRow, SettingsBlock } from "@/features/shell-settings";
@@ -180,6 +180,19 @@ export function UpdateSection() {
trailing={behind > 0 ? <span className="text-[11px] text-muted-foreground">{behind} new</span> : undefined}
/>
)}
+ {info?.supported !== false && !running && (
+ // The check runs once, on open. A release that lands while the panel is
+ // sitting there would otherwise need the whole window closed and reopened.
+ <SettingsActionRow
+ label="Check again"
+ icon={<Search />}
+ busy={checking}
+ onClick={() => {
+ setChecking(true);
+ void refresh(true).finally(() => setChecking(false));
+ }}
+ />
+ )}
{info?.supported !== false && behind === 0 && (
<SettingsActionRow
label={pending ? `Build ${info?.current} and restart` : "Rebuild and restart"}