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.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
fix(macos): unify shared menu typography with Figma reference
Abdurrahman Fakhruld55dd616029a
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.mdindex a18275fb..9583a2d4 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**+- `macos` unify shared menu typography with Figma reference- `fs` cap the complete enumeration response- `security` revalidate durable authority and bound follow-up scan paths- `heartbeat` preserve relative env paths in crondiff --git a/docs/PROGRESS.md b/docs/PROGRESS.mdindex 4ffd128e..74e3ebe1 100644--- a/docs/PROGRESS.md+++ b/docs/PROGRESS.md@@ -1,3 +1,7 @@+## 2026-10-08: Align shared macOS menu typography with the open Figma kit++Browser inspection of the user's macOS 27 kit showed SF Pro Medium 13px menu labels and shortcut symbols. MSO's menu-bar rows were Regular and its context rows inherited a larger size; all portaled macOS menus also overrode the existing Apple font stack with system-ui. The macOS menu rule now owns 13px Medium typography for all three menu surfaces, and menu-bar, context and submenu panels use the existing data-shell-id font authority. App actions, window state, pointer target sizes and other shells retain their existing contracts. The browser regression checks actual menu-bar/context typography in light, dark and after a Windows round trip, alongside the existing geometry, contrast, keyboard and touch checks. Figma MCP access was exhausted; the user explicitly authorized browser properties as the reference. SF Pro falls back through the existing platform font stack when unavailable.+## 2026-10-08: Close follow-up scan authority and resource gapsThe latest scan of main `40e30906` reported 14 remaining issues. Exact-loopback A2A now carries the current caller's exec authority across discovery, selected interfaces and credential materialization; reflected outbound secrets are removed from JSON, SSE and errors. Project skill ownership no longer promotes repository instructions into trusted guidance. Organization seat targets require exec changes and saved graphs pin their reviewed target digest. Durable standby retains live credential references and rechecks both request and worker grants, including per-capability constraints, after recovery.diff --git a/frontend/slices/appshell/components/menu-bar-menus.tsx b/frontend/slices/appshell/components/menu-bar-menus.tsxindex 4dbbc5ab..a4622650 100644--- a/frontend/slices/appshell/components/menu-bar-menus.tsx+++ b/frontend/slices/appshell/components/menu-bar-menus.tsx@@ -188,7 +188,7 @@ export function Menu(props: { label: string; bold?: boolean; children: React.Rea>{props.label}</DropdownMenuTrigger>- <DropdownMenuContent align="start" sideOffset={5} className="macos-menu rounded-xl">+ <DropdownMenuContent data-shell-id="macos" align="start" sideOffset={5} className="macos-menu rounded-xl">{props.children}</DropdownMenuContent></DropdownMenu>diff --git a/frontend/slices/appshell/components/shells/context-menu-parts.tsx b/frontend/slices/appshell/components/shells/context-menu-parts.tsxindex 78a268a7..7278a2b5 100644--- a/frontend/slices/appshell/components/shells/context-menu-parts.tsx+++ b/frontend/slices/appshell/components/shells/context-menu-parts.tsx@@ -94,6 +94,7 @@ export function SubPanel({ item, m, onClose, pos, panelRef, onEnter, onLeave }:id={SUBMENU_ID}role="menu"aria-label={item.label}+ data-shell-id={m.isMac ? "macos" : undefined}onMouseEnter={onEnter}onMouseLeave={onLeave}className={cn(PANEL, "z-[1202]", m.radius, m.chrome, m.motion)}diff --git a/frontend/slices/appshell/components/shells/context-menu.tsx b/frontend/slices/appshell/components/shells/context-menu.tsxindex 452971c1..29a2d6c7 100644--- a/frontend/slices/appshell/components/shells/context-menu.tsx+++ b/frontend/slices/appshell/components/shells/context-menu.tsx@@ -199,6 +199,7 @@ export function ContextMenu({ pos, items, onClose }: { pos: Pos; items: MenuItem<divref={menuRef}role="menu"+ data-shell-id={m.isMac ? "macos" : undefined}onMouseLeave={leaveSub}className={cn(PANEL, "z-[1201]", m.radius, m.chrome, m.motion)}style={{ left: x, top: y }}diff --git a/frontend/slices/appshell/components/shells/macos/macos-shell.css b/frontend/slices/appshell/components/shells/macos/macos-shell.cssindex 0cc2b28f..599e8228 100644--- a/frontend/slices/appshell/components/shells/macos/macos-shell.css+++ b/frontend/slices/appshell/components/shells/macos/macos-shell.css@@ -43,18 +43,21 @@color: #1a1a1a;background: rgba(255, 255, 255, .75);box-shadow: 0 8px 48px rgba(0, 0, 0, .25);- font-family: system-ui;+ font-size: 13px;+ font-weight: 500;}.macos-menu [role^="menuitem"] {padding: 3px 7px;border-radius: 8px;line-height: 18px;+ font-size: inherit;+ font-weight: inherit;}.macos-menu [role^="menuitem"]:is(:focus, :hover):not(:disabled, [data-disabled]) {color: #fff;background: #0062e6;}-.macos-menu [role^="menuitem"] > span:last-child { opacity: 1; }+.macos-menu [role^="menuitem"] > span:last-child { opacity: 1; font-size: inherit; }[data-theme="dark"] .macos-menu {color: #f5f5f5;background: rgba(44, 44, 48, .88);diff --git a/frontend/slices/appshell/design/macos/design.md b/frontend/slices/appshell/design/macos/design.mdindex 4ef884c7..e0014511 100644--- a/frontend/slices/appshell/design/macos/design.md+++ b/frontend/slices/appshell/design/macos/design.md@@ -5,7 +5,8 @@ Source: [macOS 27 Examples](https://www.figma.com/design/f3ivRnEohVvr87qszwuQiw/## Component selection- Reference nodes: menus 4440:8154/8155, windows 4440:8164/8165, unified titlebar 4440:8159.- Candidate A 5cdad278 supplies 34px bar geometry, solid 52px titlebar, 16px windows, 14px traffic lights inside 24px targets, and focus-dependent shadows.-- PR103 candidate B 5efbe7ea supplies the direction for semibold/heavy bar labels, focus-stable 12px menus, 24px fine-pointer context rows and translucent menu material.+- PR103 candidate B 5efbe7ea supplies the direction for semibold/heavy bar labels, 24px fine-pointer context rows and translucent menu material.+- Browser inspection of Examples/Menubar `4370:42756` confirms SF Pro Medium 13px labels and shortcut symbols. The shared `.macos-menu` rule owns size/weight for menu-bar, context and submenu rows; portaled panels use the existing `data-shell-id` font stack instead of a separate system-ui override. Platform font fallback remains intentional where SF Pro is unavailable.- Combined menus retain A's readable shortcut text and selection contrast. Coarse-pointer rows remain at least 44px; Windows and Dashboard metrics retain their existing values.- Existing Radix controls, shell store, app registry and docking interactions remain authoritative.- The Examples page has no dock specimen. Preserve existing artwork; reserve the full hover-growth pool so controls stay reachable.diff --git a/scripts/e2e/macos-menu-evidence.mjs b/scripts/e2e/macos-menu-evidence.mjsindex 21b06d26..245dbf04 100644--- a/scripts/e2e/macos-menu-evidence.mjs+++ b/scripts/e2e/macos-menu-evidence.mjs@@ -1,6 +1,20 @@import { expect } from "@playwright/test";import AxeBuilder from "@axe-core/playwright";+async function menuTypography(menu) {+ await expect(menu).toHaveAttribute("data-shell-id", "macos");+ const rows = await menu.locator('[role^="menuitem"]').evaluateAll(items => items.map(item => {+ const style = getComputedStyle(item);+ return { size: style.fontSize, weight: style.fontWeight, family: style.fontFamily };+ }));+ expect(rows.length).toBeGreaterThan(0);+ for (const row of rows) {+ expect(row.size).toBe("13px");+ expect(row.weight).toBe("500");+ expect(row.family).toContain("SF Pro Text");+ }+}+export async function menuEvidence({ page, check, shot }, theme) {await check(theme + " chrome WCAG A/AA", async () => {const axe = await new AxeBuilder({ page }).include(".macos-menubar").include(".macos-titlebar").include(".macos-dock").withTags(["wcag2a", "wcag2aa", "wcag21aa"]).analyze();@@ -10,6 +24,7 @@ export async function menuEvidence({ page, check, shot }, theme) {await page.mouse.click(1504, 160, { button: "right" });const menu = page.locator('.macos-menu[role="menu"]');await expect(menu).toBeVisible();+ await menuTypography(menu);await expect.poll(async () => (await menu.boundingBox()).width).toBe(244);const box = await menu.boundingBox();expect(box.width).toBe(244);@@ -31,6 +46,7 @@ export async function menuEvidence({ page, check, shot }, theme) {await page.locator(".macos-menubar").getByRole("button", { name: "View", exact: true }).click();const menu = page.locator(".macos-menu");await expect(menu).toBeVisible();+ await menuTypography(menu);expect(await menu.evaluate(el => getComputedStyle(el).borderRadius)).toBe("12px");const axe = await new AxeBuilder({ page }).include(".macos-menu").withTags(["wcag2a", "wcag2aa", "wcag21aa"]).analyze();await page.keyboard.press("Escape");