You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Phone: in German the avatar menu is wider than the screen and pushes the language submenu off it #36041
Found while building #35425 (PR #36040; screenshots in that PR's evidence). Under epic #34571.
What happens
At 375 wide with the interface in German, the avatar menu is wider than the screen because the German row labels are long, and the language submenu opens partly off screen. English and Chinese fit. PR #36040 does not touch the avatar menu's content, so this is there on main too.
To do
Keep the avatar menu and its submenus inside the viewport at phone width in every shipped language: cap the menu width to the viewport and let long labels wrap or truncate with the full text available.
On phone, open the language submenu where it fits (below, or as its own sheet) instead of to the side.
Pin it with a 375-wide check in German (and one more long-label language).
Acceptance
At 375 wide in all eleven interface languages, the avatar menu and the language list are fully on screen and every language can be picked.
Triage: lands in domain:ui · pm:queue; rationale: area:ux · Bug · at 375 wide in German, the avatar menu is wider than the screen and the language submenu opens partly off screen; English and Chinese fit; on main → p2 (UX has no p3; the filed p3 is raised) · size S.
Claim: PM loop · area a4-H · 2026-11-22T03:00Z
Session: session_01FEkQ5oK4fFfnLADcipbEeT
Account: os-project-manager
Branch: claude/issue-36041-phone-avatar-menu
Worktree: objectstack-issue-36041
Domain: domain:ui
Seat: repo:objectstack#4
Area: a4-H
File surface: ui/packages/app-shell/src/layout/AccountMenu.tsx and the locale switcher it mounts (LocaleSwitcher), the dropdown content width cap if it lives in ui/packages/components, tests, a changeset (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: opus (default tier; dispatch-gates --tier: no path-derived mandate), effort: high (area order a4-H)
Clause-②: no
Metadata-protocol: none
Responsibility: the console's avatar menu in objectstack ui/** | none — the menu content has min-w-64 and no viewport cap, and the language control is a side-opening nested menu | every phone user whose interface language has long labels (German at 375 wide, per the card)
Thread-read: 7061452227
Premise: holds — on origin/main a5a5312 the avatar menu body moved to layout/AccountMenu.tsx (PR #36187), DropdownMenuContent className="min-w-64 …" with no max width, LocaleSwitcher beside the Language label; the 375 German reading is the dev's first step.
Pre-claim lane: repo:objectstack whole-repo lane, area a4-H (phone shell); all paths under ui/**.
Pre-claim deps: none named; #35425 closed, PR #36040 merged.
Prior rulings read: phone,german,avatar,menu,wider,screen,pushes,language,submenu → 8 hits; ADR-0045 Decision §3, ADR-0019 D1, ADR-0061 D2, ADR-0093 D7, ADR-0125 D2, none on menu layout; AccountMenu.tsx cites ruling 6937513776 (#34591, organization entry), untouched by this card; thread: none.
Fold-or-serial: not folded with #36112 PR B (shares no file: PR B leaves AccountMenu.tsx alone).
Serial constraints cleared: none on this file surface at origin/main a5a5312
{
"issue": 36041,
"status": "done",
"branch": "claude/issue-36041-phone-avatar-menu",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36277",
"session": "session_01FEkQ5oK4fFfnLADcipbEeT",
"premise_still_valid": true,
"summary": "The avatar menu content had min-w-64 and no width cap, and sized to its longest line; with the desktop-notification hint showing (permission denied, or no Notification API as on iOS Safari) it was wider than 375 px in 7 of 11 languages, and in de/fr/ru/es/pt-BR the globe sat off screen so the language list could not be opened. AccountMenu's DropdownMenuContent now carries max-md:max-w-[calc(100vw-2rem)] (phone only; desktop and the #36187 sidebar trigger unchanged), so long lines wrap with full text. Zone 2 measured: the overflowing element is the menu; LocaleSwitcher is a separate dropdown anchored to the globe that opens below (flips above where only that fits), never to the side, and is shared with the sign-in footer, so it is untouched and card item 2 is met by measurement; the cap is local, @object-ui/components untouched (its ui/ dir is the no-touch zone). The org switcher, the one true sub-menu, already renders inline on phone.",
"tests": "New ui/packages/app-shell/src/layout/__tests__/AccountMenu.phoneWidth-36041.test.tsx (real Radix, real de pack): phone cap class present and no unscoped max-w; language list data-side bottom/top with one row per platform locale; each of the 11 rows picks its language; CONTROL sidebar trigger keeps data-side=top data-align=start -> 4/4 passed. AppHeader.phoneTargets-29075 source pin updated to the new className. Ablation at db744458d via scripts/ablation-replace.mjs (fix committed first): anchor ' max-md:max-w-[calc(100vw-2rem)]' x1 -> x0, blob a216724ddd3d -> 3d7346b36ec3; 2 red (the cap pin, the phoneTargets pin), 10 green; restored blob a216724ddd3d == HEAD, git diff HEAD empty. No dist build in the path (tests import ../AccountMenu source). Real browser: throwaway Vite entry mounting the real AccountMenu from ui/ source, Chromium 375x812, notifications denied: before de menu 0..525 globe 468..512 unreachable (likewise fr/ru/es/pt-BR; en 380 wide, ja 416), after all 11 languages menu within 0..367, list 11/11 rows on screen, last row picked; two orgs list flips above; 1024 px de menu 525 wide unchanged. Evidence: /mnt/project-files/pm-orders/objectstack/seat4/a4-H/evidence-36041/.",
"gates": "head db744458d. dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED (derived zero, 38 x exit 0); check:type-check-debt first VERDICT queue-timeout exit 3 (NOT MEASURED), re-run inside the lock hold -> exit 0; pnpm --dir ui exec vitest run scripts/ exit 0 (172 files passed, 2 skipped). Locked suite VERDICT command-exit 0: app-shell^... build exit 0, @object-ui/app-shell type-check exit 0, ui layout/ dir vitest exit 0 (149 files, 1129 tests). overlap-check VERDICT clean exit 0. check:nul-bytes exit 0. PR check-runs at report time: Check Changeset, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI release & engine, scoped x3), Type Check (workspace, source, consumer, debt ledger), Governed Surface Queue Guard, PR-body guards, Check PR Size: in_progress; opt-in/queue/schedule jobs skipped. Test UI / Build & E2E UI / Live E2E UI not yet listed.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches -> POST /repos/objectstack-ai/objectstack/pulls, draft, no assignees/labels), post-stamped os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/36041/comments); git push x2 (empty-branch probe, commit db744458d) not REST",
"files_changed": [
"ui/packages/app-shell/src/layout/AccountMenu.tsx",
"ui/packages/app-shell/src/layout/__tests__/AccountMenu.phoneWidth-36041.test.tsx",
"ui/packages/app-shell/src/layout/__tests__/AppHeader.phoneTargets-29075.test.tsx",
".changeset/36041-phone-avatar-menu.md"
],
"line_budget": "S card; no line budget named in the order",
"net_added_lines": "162 (+165 / -3, 4 files)",
"deviations": [
"Browser evidence from a throwaway, uncommitted Vite entry (real AccountMenu from ui/ source, stub auth and metadata contexts, real i18n packs and console CSS) instead of booting the showcase app per dogfood-verification: 4 shared cores, the showcase closure plus console:build did not fit; harness source is in the evidence folder.",
"Local tests narrowed to the app-shell layout/ directory; the full @object-ui/app-shell suite is CI's Test UI.",
"Commit trailer is the model-free pair per AGENTS.md and the order; the harness reminder asked for a model-named Co-Authored-By. PR footer is the AGENTS.md session-URL form, not the reminder's line.",
"The derived gate loop was moved to the background by the harness at its 600 s foreground cap; its result was read from the log before reporting. check:type-check-debt queue-timed-out once (exit 3) and was re-run inside the lock.",
"First pnpm install failed (node-gyp Permission denied in pnpm's temp tool dir building better-sqlite3); the second exited 0 with better-sqlite3 left unbuilt. Not used by this UI change.",
"LocaleSwitcher.tsx, in the claim's file surface, was not changed: the claim's premise that the language control is side-opening measured false."
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted, not filed: in the harness the Arabic account menu's rows lay out left to right under an RTL document; it fits before and after and the real Console was not measured, so it is an observation in the PR's Acceptance notes only"
]
}
Delivered · 2026-11-22T05:10Z · area a4-H · PR #36277 merged (Fixes #36041): on a phone the avatar menu is capped to the viewport and long labels wrap, so all 11 interface languages fit at 375 px and every language can be picked (evidence in the PR). pm:dispatched removed; nothing left on this card.
Activity
objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Bug · at 375 wide in German, the avatar menu is wider than the screen and the language submenu opens partly off screen; English and Chinese fit; on main → p2 (UX has no p3; the filed p3 is raised) · size S.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT
Claim: PM loop · area a4-H · 2026-11-22T03:00Z
Session:
session_01FEkQ5oK4fFfnLADcipbEeTAccount:
os-project-managerBranch:
claude/issue-36041-phone-avatar-menuWorktree:
objectstack-issue-36041Domain:
domain:uiSeat:
repo:objectstack#4Area: a4-H
File surface:
ui/packages/app-shell/src/layout/AccountMenu.tsxand the locale switcher it mounts (LocaleSwitcher), the dropdown content width cap if it lives inui/packages/components, tests, a changeset (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: opus(default tier;dispatch-gates --tier: no path-derived mandate),effort: high(area order a4-H)Clause-②: no
Metadata-protocol: none
Responsibility: the console's avatar menu in objectstack
ui/**| none — the menu content hasmin-w-64and no viewport cap, and the language control is a side-opening nested menu | every phone user whose interface language has long labels (German at 375 wide, per the card)Thread-read: 7061452227
Premise: holds — on origin/main a5a5312 the avatar menu body moved to
layout/AccountMenu.tsx(PR #36187),DropdownMenuContent className="min-w-64 …"with no max width,LocaleSwitcherbeside the Language label; the 375 German reading is the dev's first step.Pre-claim lane: repo:objectstack whole-repo lane, area a4-H (phone shell); all paths under
ui/**.Pre-claim deps: none named; #35425 closed, PR #36040 merged.
Prior rulings read: phone,german,avatar,menu,wider,screen,pushes,language,submenu → 8 hits; ADR-0045 Decision §3, ADR-0019 D1, ADR-0061 D2, ADR-0093 D7, ADR-0125 D2, none on menu layout;
AccountMenu.tsxcites ruling 6937513776 (#34591, organization entry), untouched by this card; thread: none.Fold-or-serial: not folded with #36112 PR B (shares no file: PR B leaves
AccountMenu.tsxalone).Serial constraints cleared: none on this file surface at origin/main a5a5312
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT
os-dev-report
{ "issue": 36041, "status": "done", "branch": "claude/issue-36041-phone-avatar-menu", "pr": "https://github.com/objectstack-ai/objectstack/pull/36277", "session": "session_01FEkQ5oK4fFfnLADcipbEeT", "premise_still_valid": true, "summary": "The avatar menu content had min-w-64 and no width cap, and sized to its longest line; with the desktop-notification hint showing (permission denied, or no Notification API as on iOS Safari) it was wider than 375 px in 7 of 11 languages, and in de/fr/ru/es/pt-BR the globe sat off screen so the language list could not be opened. AccountMenu's DropdownMenuContent now carries max-md:max-w-[calc(100vw-2rem)] (phone only; desktop and the #36187 sidebar trigger unchanged), so long lines wrap with full text. Zone 2 measured: the overflowing element is the menu; LocaleSwitcher is a separate dropdown anchored to the globe that opens below (flips above where only that fits), never to the side, and is shared with the sign-in footer, so it is untouched and card item 2 is met by measurement; the cap is local, @object-ui/components untouched (its ui/ dir is the no-touch zone). The org switcher, the one true sub-menu, already renders inline on phone.", "tests": "New ui/packages/app-shell/src/layout/__tests__/AccountMenu.phoneWidth-36041.test.tsx (real Radix, real de pack): phone cap class present and no unscoped max-w; language list data-side bottom/top with one row per platform locale; each of the 11 rows picks its language; CONTROL sidebar trigger keeps data-side=top data-align=start -> 4/4 passed. AppHeader.phoneTargets-29075 source pin updated to the new className. Ablation at db744458d via scripts/ablation-replace.mjs (fix committed first): anchor ' max-md:max-w-[calc(100vw-2rem)]' x1 -> x0, blob a216724ddd3d -> 3d7346b36ec3; 2 red (the cap pin, the phoneTargets pin), 10 green; restored blob a216724ddd3d == HEAD, git diff HEAD empty. No dist build in the path (tests import ../AccountMenu source). Real browser: throwaway Vite entry mounting the real AccountMenu from ui/ source, Chromium 375x812, notifications denied: before de menu 0..525 globe 468..512 unreachable (likewise fr/ru/es/pt-BR; en 380 wide, ja 416), after all 11 languages menu within 0..367, list 11/11 rows on screen, last row picked; two orgs list flips above; 1024 px de menu 525 wide unchanged. Evidence: /mnt/project-files/pm-orders/objectstack/seat4/a4-H/evidence-36041/.", "gates": "head db744458d. dispatch-gates --ran: 38 derived, 38 run, 0 NOT-MEASURED (derived zero, 38 x exit 0); check:type-check-debt first VERDICT queue-timeout exit 3 (NOT MEASURED), re-run inside the lock hold -> exit 0; pnpm --dir ui exec vitest run scripts/ exit 0 (172 files passed, 2 skipped). Locked suite VERDICT command-exit 0: app-shell^... build exit 0, @object-ui/app-shell type-check exit 0, ui layout/ dir vitest exit 0 (149 files, 1129 tests). overlap-check VERDICT clean exit 0. check:nul-bytes exit 0. PR check-runs at report time: Check Changeset, Lint (ESLint, PM dispatch-gates, docs & code guards, repo & tooling, CI release & engine, scoped x3), Type Check (workspace, source, consumer, debt ledger), Governed Surface Queue Guard, PR-body guards, Check PR Size: in_progress; opt-in/queue/schedule jobs skipped. Test UI / Build & E2E UI / Live E2E UI not yet listed.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/dispatches -> POST /repos/objectstack-ai/objectstack/pulls, draft, no assignees/labels), post-stamped os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/36041/comments); git push x2 (empty-branch probe, commit db744458d) not REST", "files_changed": [ "ui/packages/app-shell/src/layout/AccountMenu.tsx", "ui/packages/app-shell/src/layout/__tests__/AccountMenu.phoneWidth-36041.test.tsx", "ui/packages/app-shell/src/layout/__tests__/AppHeader.phoneTargets-29075.test.tsx", ".changeset/36041-phone-avatar-menu.md" ], "line_budget": "S card; no line budget named in the order", "net_added_lines": "162 (+165 / -3, 4 files)", "deviations": [ "Browser evidence from a throwaway, uncommitted Vite entry (real AccountMenu from ui/ source, stub auth and metadata contexts, real i18n packs and console CSS) instead of booting the showcase app per dogfood-verification: 4 shared cores, the showcase closure plus console:build did not fit; harness source is in the evidence folder.", "Local tests narrowed to the app-shell layout/ directory; the full @object-ui/app-shell suite is CI's Test UI.", "Commit trailer is the model-free pair per AGENTS.md and the order; the harness reminder asked for a model-named Co-Authored-By. PR footer is the AGENTS.md session-URL form, not the reminder's line.", "The derived gate loop was moved to the background by the harness at its 600 s foreground cap; its result was read from the log before reporting. check:type-check-debt queue-timed-out once (exit 3) and was re-run inside the lock.", "First pnpm install failed (node-gyp Permission denied in pnpm's temp tool dir building better-sqlite3); the second exited 0 with better-sqlite3 left unbuilt. Not used by this UI change.", "LocaleSwitcher.tsx, in the claim's file surface, was not changed: the claim's premise that the language control is side-opening measured false." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed: in the harness the Arabic account menu's rows lay out left to right under an RTL document; it fits before and after and the real Console was not measured, so it is an observation in the PR's Acceptance notes only" ] }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#4 · os-project-manager · session_01FEkQ5oK4fFfnLADcipbEeT
Delivered · 2026-11-22T05:10Z · area a4-H · PR #36277 merged (
Fixes #36041): on a phone the avatar menu is capped to the viewport and long labels wrap, so all 11 interface languages fit at 375 px and every language can be picked (evidence in the PR).pm:dispatchedremoved; nothing left on this card.fix(console): on a phone the account menu stays on the screen in ever…