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): reuse existing loading and glass styles within the shell budget

rahmanefc4560d2a7ce5
diff --git a/app/boot-splash.tsx b/app/boot-splash.tsx
index 4fbf8aca..f83d50df 100644
--- a/app/boot-splash.tsx
+++ b/app/boot-splash.tsx
@@ -1,6 +1,7 @@
"use client";
import { useSyncExternalStore } from "react";
+import { Loader2 } from "lucide-react";
const subscribe = () => () => {};
export function BootSplash() {
@@ -12,7 +13,7 @@ export function BootSplash() {
placeItems: "center", pointerEvents: "none",
background: "var(--mso-boot-background, linear-gradient(145deg, #d3c5bd 0%, #d9dce7 56%, #b7c8dc 100%))",
}}>
- <div className="mso-boot-spinner" />
+ <Loader2 className="size-6 text-white" />
</div>
);
}
diff --git a/app/globals.css b/app/globals.css
index 59fcd53a..75c8ecb2 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -233,33 +233,12 @@ body {
touch-action: manipulation;
}
-.mso-boot-spinner {
- width: 24px; height: 24px;
- border: 2px solid rgba(255,255,255,.9); border-top-color: transparent;
- border-radius: 50%; animation: mso-boot-spin .8s linear infinite;
-}
-@keyframes mso-boot-spin { to { transform: rotate(360deg); } }
-@media (prefers-reduced-motion: reduce) { .mso-boot-spinner { animation: none; } }
-
/* glass helper — applied alongside theme tokens, never raw hex in components */
.glass {
-webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
backdrop-filter: blur(var(--blur)) saturate(180%);
}
-/* Spotlight panel (UX-03): blur PLUS an opaque-enough fill so light-theme text
- clears the wallpaper. Scoped — do not change global .glass (bars/menus). */
-.spotlight-panel {
- background: var(--glass-panel);
- -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
- backdrop-filter: blur(var(--blur)) saturate(180%);
-}
-[data-theme="light"] .spotlight-panel {
- /* Stronger mix toward solid surface so muted body text approaches ~4.5:1
- over aurora wallpaper (glass-panel alone still washes at 0.78 alpha). */
- background: color-mix(in srgb, var(--surface) 55%, var(--glass-panel) 45%);
-}
-
/* Wallpapers — per-shell native backdrops. Each key paints its delivered MSO
webp (public/wallpapers/<key>.webp) over a gradient fallback (shown while the
image loads or if it 404s). "auto" resolves to the active shell's pick via
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index c38d305f..67f58be5 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` reuse existing loading and glass styles within the shell budget
- `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
diff --git a/frontend/slices/appshell/features/search/components/spotlight.tsx b/frontend/slices/appshell/features/search/components/spotlight.tsx
index e2668281..2cfb6c7c 100644
--- a/frontend/slices/appshell/features/search/components/spotlight.tsx
+++ b/frontend/slices/appshell/features/search/components/spotlight.tsx
@@ -14,7 +14,6 @@ import { matches, type Command } from "../lib";
import { loadRecents, pushRecent } from "../history";
import { ResultList } from "./spotlight-results";
-// Mount per open so query and selection reset together.
export function Spotlight() {
const open = useSpotlightOpen();
return open ? <SpotlightPanel /> : null;
@@ -172,10 +171,11 @@ function SpotlightPanel() {
>
<div
className={cn(
- "spotlight-panel w-full overflow-hidden rounded-2xl border border-border text-foreground shadow-2xl",
+ "glass w-full overflow-hidden rounded-2xl border border-border text-foreground shadow-2xl",
ios ? "max-w-[calc(100%_-_1.5rem)]" : "max-w-xl",
)}
onClick={(e) => e.stopPropagation()}
+ style={{ background: "color-mix(in srgb, var(--surface) 55%, var(--glass-panel) 45%)" }}
>
{/* iOS: input becomes a systemFill pill with a leading search glyph. */}
<div className={cn("flex items-center", ios && "m-3 gap-2 rounded-xl bg-[var(--fill)] px-3")}>
@@ -193,7 +193,7 @@ function SpotlightPanel() {
onKeyDown={onKey}
placeholder="Search apps, folders, actions…"
className={cn(
- "w-full bg-transparent text-base text-foreground outline-none placeholder:text-foreground/55",
+ "w-full bg-transparent text-base text-foreground outline-none placeholder:text-muted-foreground",
ios ? "py-2.5" : "px-5 py-4",
)}
/>