Two defects in the cloud console's chrome, both fixed in the SHARED control (@hanzo/ui 8.0.11) so every surface inherits them, not just this one. The top-left mark showed the house H whenever an org had set no logo — a customer's console showing OUR brand. It now renders `OrgMark` unconditionally: the org's own logo when IAM carries one, else the org's MONOGRAM, the treatment the account widget already gives a person. Never the house glyph, never the org name as running text. The org switcher was a caption beside a control. Its trigger is now the peer of the account row — 44px tall, a 30px mark, the same type, the same hit area — and `SidebarWorkspace` is a COLUMN so it stretches the sidebar's width the way the account row does (a row container had shrunk it to its text). One org-identity source: `useOrgLogo` (a URL) becomes `useOrgIdentity` (name, display name, logo — one cached read), fed to BOTH the mark and the switcher's new `current` prop, so the two slots can never disagree and a user with no cross-tenant list still gets their own logo. The dead `BrandLogo` component, a second copy of the same logo-else-mark decision, is gone. `e2e/org-identity.spec.ts` measures it off the rendered boxes: without the change the mark paints an SVG with no monogram and the switcher has no trigger to find.
69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"name": "@hanzo/console",
|
|
"version": "8.5.29",
|
|
"private": true,
|
|
"license": "BSD-3-Clause",
|
|
"author": "Hanzo AI <dev@hanzo.ai>",
|
|
"description": "Hanzo Cloud Console — unified admin console for Hanzo Cloud and all cloud products.",
|
|
"scripts": {
|
|
"dev": "next dev -p 4000",
|
|
"build": "next build",
|
|
"build:embed": "node scripts/build-embed.mjs",
|
|
"start": "next start -p 4000",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"e2e": "playwright test",
|
|
"e2e:headed": "playwright test --headed",
|
|
"postinstall": "patch-package"
|
|
},
|
|
"dependencies": {
|
|
"@hanzo/brand": "^1.4.0",
|
|
"@hanzo/canvas": "^0.1.0",
|
|
"@hanzo/dash": "0.3.0",
|
|
"@hanzo/data": "^1.2.0",
|
|
"@hanzo/event": "^0.3.1",
|
|
"@hanzo/finance-ui": "0.1.1",
|
|
"@hanzo/gui": "7.3.0",
|
|
"@hanzo/iam": "^0.13.6",
|
|
"@hanzo/logo": "^1.0.13",
|
|
"@hanzo/ui": "^8.0.11",
|
|
"@hanzo/usage": "^0.1.6",
|
|
"@hanzogui/config": "7.3.0",
|
|
"@hanzogui/core": "7.3.0",
|
|
"@hanzogui/lucide-icons-2": "7.3.0",
|
|
"@hanzogui/next-theme": "7.3.0",
|
|
"@lexical/html": "0.46.0",
|
|
"@lexical/link": "0.46.0",
|
|
"@lexical/list": "0.46.0",
|
|
"@lexical/react": "0.46.0",
|
|
"@lexical/rich-text": "0.46.0",
|
|
"@lexical/selection": "0.46.0",
|
|
"@lexical/utils": "0.46.0",
|
|
"@luxfi/logo": "^1.0.1",
|
|
"@xyflow/react": "12.11.1",
|
|
"@zap-proto/web": "1.0.0",
|
|
"@zap-proto/zap": "1.6.0",
|
|
"@zooai/logo": "^1.0.2",
|
|
"axe-core": "4.12.1",
|
|
"ethers": "6.17.0",
|
|
"lexical": "0.46.0",
|
|
"next": "15.5.19",
|
|
"qrcode.react": "4.2.0",
|
|
"react": "19.2.7",
|
|
"react-dom": "19.2.7",
|
|
"react-native-web": "0.21.2",
|
|
"superjson": "2.2.2",
|
|
"@hanzogui/shell": "^7.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.61.1",
|
|
"@types/node": "22.20.0",
|
|
"@types/react": "19.2.17",
|
|
"@types/react-dom": "19.2.3",
|
|
"react-native": "0.83.9",
|
|
"typescript": "5.9.3",
|
|
"vitest": "3.2.4",
|
|
"patch-package": "^8.0.0"
|
|
}
|
|
}
|