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.

fix(ux): stack install notice above the update badge without overlap

rahmanef0b273c7c4a71
diff --git a/app/install-prompt.tsx b/app/install-prompt.tsx
index 947b820d..e503fe94 100644
--- a/app/install-prompt.tsx
+++ b/app/install-prompt.tsx
@@ -40,7 +40,7 @@ export function InstallPrompt() {
};
return (
- <div className="pointer-events-none fixed inset-x-0 z-[var(--z-spotlight)] flex justify-center px-4" style={{ bottom: "calc(5.5rem + var(--sai-bottom, 0px))" }}>
+ <div data-slot="pwa-install-prompt" className="pointer-events-none fixed inset-x-0 z-[var(--z-spotlight)] flex justify-center px-4" style={{ bottom: "calc(8.5rem + var(--sai-bottom, 0px))" }}>
<div className="glass pointer-events-auto flex items-center gap-2 rounded-2xl border border-border bg-card/90 px-3 py-2 shadow-[var(--shadow-win)]">
<Download className="size-4 shrink-0 text-primary" />
<span className="text-sm">Install Manef Shell OS as an app</span>
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index 669f0489..d0b1f85c 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -8,6 +8,7 @@ this is the *what*, and it is what Settings → Account → About shows as “Wh
**Fixed**
+- `ux` stack install notice above the update badge without overlap
- `build` keep guarded host runtime paths out of asset tracing
- `security` close resource and launcher gaps and repair gates
- `security` inspect ZIP output through pinned descriptor
diff --git a/docs/PROGRESS.md b/docs/PROGRESS.md
index 8c9a7de8..14b91055 100644
--- a/docs/PROGRESS.md
+++ b/docs/PROGRESS.md
@@ -1,6 +1,6 @@
## 2026-10-08: Make shell startup and Spotlight feedback reliable
-The boot splash now removes itself on hydration on every route, including the standalone Integrations and OAuth pages, and uses the saved theme before hydration. Spotlight reports pending folder searches and retries focus after its deferred mount while retaining first-open lazy loading. Its foreground and placeholder colors remain readable over the desktop wallpaper. The update badge uses the Settings public entry point and sits above the separate install prompt. The release journey checks that the standalone Integrations page has no remaining boot overlay.
+The boot splash now removes itself on hydration on every route, including the standalone Integrations and OAuth pages, and uses the saved theme before hydration. Spotlight reports pending folder searches and retries focus after its deferred mount while retaining first-open lazy loading. Its foreground and placeholder colors remain readable over the desktop wallpaper. The update badge uses the Settings public entry point and sits below the separate install prompt. The release journey checks that the standalone Integrations page has no remaining boot overlay and that install/update notices do not overlap at desktop and 320px mobile widths.
## 2026-10-08: Complete the scan hardening audit and repair verification
diff --git a/frontend/slices/appshell/features/search/components/spotlight.tsx b/frontend/slices/appshell/features/search/components/spotlight.tsx
index 9f455306..e2668281 100644
--- a/frontend/slices/appshell/features/search/components/spotlight.tsx
+++ b/frontend/slices/appshell/features/search/components/spotlight.tsx
@@ -1,5 +1,4 @@
"use client";
-
import { useEffect, useMemo, useRef, useState } from "react";
import { Search } from "lucide-react";
import { cn } from "@/lib/utils";
diff --git a/frontend/slices/os-settings/components/update-shell-badge.tsx b/frontend/slices/os-settings/components/update-shell-badge.tsx
index e9df693a..5f0bcecc 100644
--- a/frontend/slices/os-settings/components/update-shell-badge.tsx
+++ b/frontend/slices/os-settings/components/update-shell-badge.tsx
@@ -36,7 +36,7 @@ function UpdateShellBadge() {
return (
<div
className="pointer-events-none fixed inset-x-0 z-[var(--z-spotlight)] flex justify-center px-4"
- style={{ bottom: "calc(8.5rem + var(--sai-bottom, 0px))" }}
+ style={{ bottom: "calc(5.5rem + var(--sai-bottom, 0px))" }}
data-slot="shell-update-badge"
>
<Button
diff --git a/scripts/e2e/release.mjs b/scripts/e2e/release.mjs
index 701f753a..946063e3 100644
--- a/scripts/e2e/release.mjs
+++ b/scripts/e2e/release.mjs
@@ -12,6 +12,7 @@ import { releaseFixture } from "./release-fixture.mjs";
import { camoufoxConnectionJourney } from "./camoufox-connection.mjs";
import { memoryBackupHistoryJourney } from "./memory-backup-history.mjs";
import { aiProviderSwitchJourney } from "./ai-provider-switch.mjs";
+import { shellNoticesJourney } from "./shell-notices.mjs";
execFileSync(process.execPath, ["scripts/e2e/shell-apps.mjs"], { stdio: "inherit" });
execFileSync(process.execPath, ["scripts/e2e/mcp-page.mjs"], { stdio: "inherit" });
@@ -91,6 +92,7 @@ try {
await page.locator('input[type="password"]').fill(fixture.password);
await page.getByRole("button", { name: "Unlock", exact: true }).click();
await expect(page).toHaveURL(fixture.base + "/integrations");
+ await shellNoticesJourney(page, fixture);
await expect(page.getByRole("group", { name: "Credential owner" }).getByRole("button")).toContainText("fixture");
await page.getByRole("navigation", { name: "Integrations sections", exact: true }).getByRole("button", { name: "AI Providers", exact: true }).click();
await expect(page.getByRole("heading", { name: "AI Providers", exact: true })).toBeVisible();
diff --git a/scripts/e2e/shell-notices.mjs b/scripts/e2e/shell-notices.mjs
new file mode 100644
index 00000000..b52fc05e
--- /dev/null
+++ b/scripts/e2e/shell-notices.mjs
@@ -0,0 +1,23 @@
+import { expect } from "@playwright/test";
+
+export async function shellNoticesJourney(page, fixture) {
+ const status = "**/api/v1/sys/update*";
+ await page.route(status, route => route.fulfill({ json: { behind: 1, remoteChecked: true, pendingBuild: false } }));
+ for (const viewport of [{ width: 1280, height: 900 }, { width: 320, height: 844 }]) {
+ await page.setViewportSize(viewport);
+ await page.goto(fixture.base);
+ await expect(page.locator('[data-slot="shell-update-badge"]')).toBeVisible();
+ await page.evaluate(() => window.dispatchEvent(new Event("beforeinstallprompt", { cancelable: true })));
+ const install = page.locator('[data-slot="pwa-install-prompt"]');
+ await expect(install).toBeVisible();
+ const promptBox = await install.boundingBox();
+ const updateBox = await page.locator('[data-slot="shell-update-badge"]').boundingBox();
+ expect(promptBox.y + promptBox.height).toBeLessThanOrEqual(updateBox.y);
+ await install.getByRole("button", { name: "Dismiss", exact: true }).click();
+ await expect(install).toHaveCount(0);
+ }
+ await page.unroute(status);
+ await page.setViewportSize({ width: 1280, height: 900 });
+ await page.goto(fixture.base + "/integrations");
+ console.log("PASS install and update notices stay separate at desktop and narrow mobile widths");
+}