Repository navigation
Description
repo:objectstack#3 · os-tesla · session_01L9qibwhwiMRQSuaJ1wVVcU
Filing gate: ① user-visible defect, reproduced in a browser. Source: fleet (found by the o3-askai zone's dev during the browser pass for PR #37885, card #37858; L1 comment 7216505411 asked for this card).
Business reason: Arabic is one of the eleven console languages we ship. An Arabic-speaking user on a desktop screen cannot reach the buttons at the end of each page header (the page's own actions, help, comments and the 「问 AI」 entry), because the fixed sidebar panel is drawn over them. Every page in every app is affected in that language. Not fixing it leaves the console partly unusable in a shipped locale.
Who acts: seat repo:objectstack#3 (area:ux p2 is not in its intake; triage routes it), or whichever seat takes area:ux.
Dedupe: searched rtl sidebar, sidebar rtl overlap, arabic sidebar, dir rtl sidebar, RTL layout sidebar (issues, open and closed): 0 duplicates (hits #37858 and #36041 are unrelated: #36041 is a phone avatar-menu width bug in German).
Grading: area:ux · Bug · p2 · size S · reach: browser, any /apps/... route at 1280 px with the console locale set to Arabic (objectui-locale=ar). Suggested p2 rather than p1: it hits one shipped locale on desktop only; phones use the off-canvas sheet.
维护者速读
- 是什么:界面语言设为阿拉伯语(从右到左)时,桌面上左侧固定的侧边栏面板盖住了页面内容的左边缘,而从右到左时页头的按钮组正好排在左边,于是页面自己的按钮、帮助、评论和「问 AI」都在侧边栏底下,点不到。
- 影响:所有用阿拉伯语界面的桌面用户,每个应用的每个页面。
- 要你做什么:无。
Reproduction (measured)
- Measured on the console built from PR feat(app-shell): the assistant's entry is an outlined Ask AI button at the end of every page's top-right group #37885's branch (a showcase runtime, Chromium 1280×800), Arabic locale. Element rects: the sidebar panel (
[data-sidebar=sidebar]) is drawn at x 0..255;#console-main-contentandmainare laid out at x 0..1024 withdir=rtl; the strip x 1024..1280 is empty. So the content is not shifted away from the panel: its end edge (the left, in right-to-left) sits under the panel. - Seen: the reports index page-header group at x 24..364 and the record page's navigation-row group at x 8..224, both under the panel. Screenshots were taken in the dev container (
pagehdr-ar-record.png,after-ar-component-recycle-bin.png); they are not attached here. - PR feat(app-shell): the assistant's entry is an outlined Ask AI button at the end of every page's top-right group #37885 does not touch the sidebar; the same layout holds on
mainby reading (not re-measured onmain).
Suspected cause (not verified; for the dev to confirm or disprove)
ui/packages/components/src/ui/sidebar.tsx:262-266: the fixed panel is positioned with the physicalleft-0(forside="left"), while the in-flow spacer that reserves its width follows the flex direction, whichdir=rtlreverses. The spacer therefore lands on the right and the panel stays on the left. Likely fixes: use logical positioning (start-0/end-0) or flipsidewith the document direction; the dev decides.- Related, same direction issue:
ShellSidebarExpandFallbackpins atleft-2, the start edge only in left-to-right languages (not measured with a collapsed sidebar in Arabic).
Acceptance
- At 1280 px in Arabic, the sidebar panel and the main content do not overlap on a list page, a record page and a dashboard; the page-header group is fully visible and clickable. A pin test or a browser reading names the rects.
- Left-to-right languages unchanged.
Activity
objectstack-fleet commentedon Nov 27, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:ux · domain:ui · Bug · p2 · pm:queue · size S; rationale: on an Arabic (right-to-left) desktop, the fixed sidebar panel covers the end of every page header, so page actions, help, comments and the 「问 AI」 entry cannot be reached. Every page is affected for a shipped language. The filer's p2 stands as a user-facing defect. Triage raises it to p1 if the 「问 AI」 button work (#37858) ships before it, because the redesigned entry would then be unreachable in Arabic. Recorded 2026-11-27T11:17Z.
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
Claim: PM loop round 1
Session:
session_01L9qibyUSf2nKJWW6qBemSUThread session:
session_01L9qibvkagpUt9LtVz1U4MMAccount:
os-teslaBranch:
claude/project-thread-okphpnWorktree:
objectstack-issue-37914Domain:
uiArea:
o3-ux(area:ux p2, a seat card thread)Seat:
repo:objectstack#3Seat rulings on the pre-claim report (
/mnt/project-files/card-37914/pre-claim-report-7605e0c9.md, main 7605e0c):left-0/right-0(and the collapsed offsets, the divider and the rail) move to logical placement, declared as a shadcn local-patch family inui/scripts/shadcn-local-patches.mjs(anchor from the registry fixture), with the offcanvas family's replace/marker and the sidebarlocalEditsnote inpackages/components/shadcn-components.jsonupdated. No hand edit ofsrc/ui/**without its declared family.consoleSidebarRail.tsedge zone (~338) and the overlay/hidden panels (~355–363),SidebarWidthHandle.tsxhandle position (~76) and drag direction (~88),ShellPageActions.tsxShellSidebarExpandFallback(~207, measure whether it collides with the 「问 AI」 fallback in RTL). Each is measured in the browser before and after, not only read.UnifiedSidebar.tsx~309–312) and the phone drawer's slide side.File surface:
ui/packages/components/src/ui/sidebar.tsx,ui/scripts/shadcn-local-patches.mjs,ui/packages/components/shadcn-components.json.ui/packages/app-shell/src/layout/consoleSidebarRail.ts,SidebarWidthHandle.tsx,ShellPageActions.tsx.ui/e2e/sidebar-offcanvas-geometry.spec.ts(or a newsidebar-rtl-geometry.spec.ts), the shell sites' unit tests, and one.changeset/*.md(@object-ui/components,@object-ui/app-shellpatch).Stop on breach and explain in the report.
Container & model:
S,mode:thread,model: claude-opus-5-5 (default tier — dispatch-gates.mjs --tier: "no path-derived mandate"),effort: high, reason: the thread session serves this tier (get_session last_served_model)Writes: the PR only through the relay
pr_create; comments, labels and bodies only through the relay write tools; report both numbers.Clause-②: no
Metadata-protocol: none
Responsibility: an Arabic (right-to-left) desktop user can reach every page header's actions, help, comments and 「问 AI」 again; left-to-right geometry is unchanged pixel for pixel (8 LTR readings in the probe).
Thread-read: 7216919896
Premise: holds, measured on origin/main 7605e0c (Chromium rect probe: RTL panel 0..256 over page 0..1024; probe a50792a6 gives panel 1024..1280, page 0..1024, LTR unchanged, geometry spec 6/6)
Serial constraints cleared:
none — overlap-check clean on the probe, 0 open PR heads touch sidebar.tsx; re-run once the shell files join the diffReadings owed in the report: browser rects on the list, record and dashboard pages of a real console build (showcase,
objectui-locale=ar), one ablation of the patch family.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibvkagpUt9LtVz1U4MM
os-dev-report
{ "issue": 37914, "status": "done", "branch": "claude/project-thread-okphpn", "pr": "https://github.com/objectstack-ai/objectstack/pull/38213", "session": "session_01L9qibvkagpUt9LtVz1U4MM", "premise_still_valid": true, "summary": "As claimed (7235045720). The sidebar primitive's desktop panel, divider and rail use logical insets (start/end, border-e/s, rtl: mirrors for the rail shift and cursors), declared as the new sidebarLogicalInsetPatches family; the offcanvas family's offsets are written the same way and the sidebar localEdits note names it. The four shell sites follow the inline start: the edge strip, the float card and its parked position, the resize edge (position, drag sign, arrow keys) and the expand fallback. One more site in the claimed file: pointerOnFloat (the float-away test) read the window's left edge; it now reads the start edge. Changeset: @object-ui/components and @object-ui/app-shell patch; Clause-② no, Metadata-protocol none.", "tests": "At 400674f7..7bc711bf (test-only commits after 400674f7): e2e/sidebar-offcanvas-geometry.spec.ts in Chromium 8/8 (two new RTL tests: expanded RTL panel 1024..1280 / page 0..1024, and all eight primitive cases mirror the LTR readings, rail cursor included). shadcn-local-patches.test.ts 88/88. SidebarWidthHandle.rightToLeft-37914.test.tsx 4/4. vitest packages/app-shell/src/layout/ 175 files: 1 fail at 400674f7 (hiddenCollapse left-2 pin), fixed, file 33/33. 60 sidebar test files in components+layout: 638/639, the right-0 pin fixed, file 5/5. Ablation: sidebar.tsx back to main's bytes -> the 2 RTL e2e tests fail (panel 0..256), shadcn-local-patches 2 fail, LTR e2e 6/6 still green; SidebarWidthHandle.tsx back to main -> 2 RTL cases fail, 2 LTR pass. Real console (showcase booted from this tree, console from ui/ source via Vite, 1280x800): Arabic before -> after: list, record, dashboard panel 0..256 -> 1024..1280 with main 0..1024; header-group overlap 32/32/232 px -> 0/0/0; record help button covered -> clickable; resize edge 251..259 -> 1021..1029, a 40 px drag toward the page widens 256 -> 296 both; hidden strip 0..8 -> 1272..1280; float card 8..264 -> 1016..1272, folds when the pointer moves to x 640; search page expand button 8..36 overlapping the assistant button 8..186 -> 1244..1272. English before and after identical in every reading. Fixture: one stub agent in the catalogue read for the assistant-fallback reading only.", "gates": "dispatch-gates --commands: 42 families; 40 exit 0 at 400674f7; check:test-source-alias exit 1 there (edited test reaching react-runtime lazily; fixed by a module-top import in 7bc711bf) and ui vitest scripts/ exit 1 there (SIGKILL under the shared memory limit); both exit 0 at 7bc711bf. --ran: 42 run, 0 NOT-MEASURED (derived zero). type-check @object-ui/components exit 0, @object-ui/app-shell exit 0. overlap-check VERDICT clean exit 0 vs origin/main e3bdc748. PR check-runs: in_progress at report time.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "2 — get_session, subscribe_pr_activity (no GitHub MCP write)", "api_writes": "2 — fleet-write relay pr_create (#38213, assignee os-tesla, read-back identical); this os-dev-report comment via post-stamped", "open_questions": [], "security_findings": "none", "out_of_scope_findings": ["carrier: none · noted, not filed — phone drawer (Sheet side=left) still slides from the left in Arabic and its swipe gesture reads clientX left-to-right; phone-only, not measured; in PR Acceptance notes per the claim"] }Generated by Claude Code
objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU
2026-11-28T08:40Z · 收口:PR #38213 于 08:40Z 经合并队列合入,本卡随 Fixes 关闭;去掉 pm:dispatched。