Repository navigation
Closed
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority:p1High: required for production / M2
Description
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
Ruling-ref: priority:p1 · the maintainer, 2026-11-20 (seat 5 decision card on the #35763 removal): 「先合并,另开卡恢复」
Split from #35595 by seat 5, area ux-1. ⛔ Not a claim.
What happens today (after PR #35763)
- Reader arrangement used to live on the record page's related cards: the ⠿ handle, ⌥↑ / ⌥↓ and 「隐藏」 (console record page v3: frameless detail sections, one merged timeline (discussion + activity + field changes), compact related cards, header 1 primary + 2 secondary + ⋯ — the synthesized default page, drawn from the object's roles; the dead BuildPageOptions hints go #27055). PR feat(record-page): one tab per related list, and an Overview rail that sums up the other tabs #35763 replaced those cards with one tab per related list and a read-only Overview rail, so a reader can no longer reorder or hide a related list.
- An order or hides already stored still apply. 「恢复默认顺序」 / 「显示」 still undo them, but only from the rail's foot. A drawer or an embedded pane has no rail, so there is no way to reset there.
ui/packages/plugin-detail/src/synth/relatedArrangement.tsstill holds the arrangement reducer, and the i18n keys for move, hide and reset still exist.RelatedCardStack.tsx,RelatedCardMenu.tsxanduseRelatedArrangement.tsare no longer drawn by any page.
What to do
- Give each related-list tab a menu with 「左移」, 「右移」 and 「隐藏」. They write the same stored arrangement through
relatedArrangement.ts's reducer, so a stored order and stored hides keep working. - Put a reset entry in the tab row's 「更多」 menu: 「恢复默认顺序」 and show the hidden lists again. This also covers the drawer and the embedded pane, which have no rail foot.
- Reuse the existing i18n keys. Add a key only where none fits.
- Delete
RelatedCardStack,RelatedCardMenuanduseRelatedArrangementif nothing else imports them, along with their tests. Move the reducer's tests over if they live with the deleted files. - Overview, Attachments, Approvals and Activity cannot be moved or hidden.
Done when
- On a record page, a reader moves a related tab left and right, hides it, and gets everything back with the reset in 「更多」. The change persists the way console record page v3: frameless detail sections, one merged timeline (discussion + activity + field changes), compact related cards, header 1 primary + 2 secondary + ⋯ — the synthesized default page, drawn from the object's roles; the dead BuildPageOptions hints go #27055's arrangement did.
- The same works in a drawer.
- Tests pin move, hide, reset and the fixed tabs. One e2e covers move, hide and reset. A
docs/qa/platform-checklistitem is added or edited. - Estimate: about 400–600 lines.
Reader: domain:ui lane, ui/packages/plugin-detail/src/{RecordTabRow.tsx,synth/recordTabRow.ts,synth/relatedArrangement.ts}.
Metadata
Metadata
Assignees
Labels
area:uxdomain:uiDomain lane — seat card indexed by label:pm:seatenhancementNew feature or requestpriority:p1High: required for production / M2
Activity
objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
Claim: area ux-1 · follow-up to #35595, filed by the area on the maintainer's 2026-11-20 decision 「先合并,另开卡恢复」 (p1) · 2026-11-20T08:45Z
Session:
session_01Utp6CbSphdunq2aJq7ktuYAccount:
os-billArea: ux-1
Branch:
claude/issue-35783-related-tab-arrangementWorktree:
objectstack-issue-35783Domain:
domain:uiSeat:
repo:objectstack#5File surface:
ui/packages/plugin-detail/src/{RecordTabRow.tsx,synth/recordTabRow.ts,synth/relatedArrangement.ts,RecordPageColumns.tsx}RelatedCardStack.tsx,RelatedCardMenu.tsxanduseRelatedArrangement.ts(if nothing else imports them) and their testsui/packages/components/src/renderers/layout/containers.tsx, the tabs container onlyui/packages/i18n/src/locales/*.ts, only where no existing key fitsdocs/qa/platform-checklist/areas/*.jsonui/e2e/, and the root.changeset/RecordDetailView.tsx: stop and report first.packages/spec/**.Container & model:
M,mode:subagent,model: default tier,effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a. This puts back reader arrangement that PR feat(record-page): one tab per related list, and an Overview rail that sums up the other tabs #35763 removed on purpose; the maintainer chose to restore it in a follow-up.
Thread-read: none
Premise: holds at
origin/maindf81f4c.relatedArrangement.tsand the three card-era files exist, and feat(record-page): one tab per related list, and an Overview rail that sums up the other tabs #35763 has merged (b0c624a).Prior rulings read:
check-prior-rulings --terms "related arrangement,reorder,hide related,tab menu" --paths RecordTabRow.tsx,synth/relatedArrangement.tsreturned 0 ADR hits and 0 thread rulings.Serial constraints cleared:
os-verify-lock --depthis depth 1 → go. The open-PR file scan runs at dispatch.Scope: card items 1–5.
Fixes #35783.objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
os-dev-report
{ "issue": 35783, "status": "done", "branch": "claude/issue-35783-related-tab-arrangement", "pr": "https://github.com/objectstack-ai/objectstack/pull/35818", "session": "session_01Utp6CbSphdunq2aJq7ktuY", "premise_still_valid": true, "summary": "Each related-list tab is its own menu again: the open related tab draws a chevron and its second click (or Enter/Space/ArrowDown) opens 左移 / 右移 / 隐藏, all written through editRelatedArrangement into the same stored per-reader arrangement, so stored orders and hides keep working; hiding the open tab returns to 概览. 「更多」 ends with 「恢复默认顺序」 (restore-default-arrangement) whenever the arrangement is not the default, drawn as a bare 「更多」 if nothing else is in it, so the drawer and embedded pane (no rail) can reset too; 概览/附件/审批/动态 carry no menu. RelatedCardStack.tsx and useRelatedArrangement.ts are deleted (their two foot-line helpers moved into RecordPageColumns.tsx); RelatedCardMenu.tsx is KEPT because RelatedList.tsx (outside the fence) still imports it. Two i18n keys added in all 11 packs (detail.recordTabMoveBefore/After, no existing key fitted 左移/右移); hide, reset and the bare trigger reuse existing keys. RecordDetailView.tsx untouched. PR #35818, final head 17dd9e49a85, 21 files +535/-461 (996 changed lines, 435 of the deletions are the two removed files). The unreleased #35763 changeset bullet saying arrangement is gone is rewritten as a declared DELIBERATE CORRECTION (check-empty-changeset red by design).", "tests": "From ui/ under os-verify-lock: vitest packages/plugin-detail/ + packages/i18n/ + app-shell defaults-maps-mirror-en-pack at 819ea87ca9a (later commit 17dd9e49a85 touches .changeset only): Test Files 498 passed | 1 skipped, Tests 5549 passed | 31 skipped, VERDICT command-exit 0. RecordPageColumns.readerArrangement-35595.test.tsx: 15 passed (9 existing + 6 new pins: move, hide, reset in drawer, bare-更多 reset, fixed tabs, inactive tab selects on click/Enter). Playwright record-tabs-rail-35595.spec.ts Chromium (temporary config without webServer, removed after): 6 passed (5 existing + 1 new move/hide/reset case, order-only, no width assertions). type-check @object-ui/plugin-detail and @object-ui/i18n: both Done, VERDICT 0; ui type-check:e2e VERDICT 0. Ablations via scripts/ablation-replace.mjs (subject imported from src by relative path, no dist in between; each anchor x1→x0, blob changed, restored blob == HEAD 93e1fe9249b5 and git diff HEAD empty): move no-op → 1 failed/14 passed; hide no-op → 1 failed/14 passed; reset (onResetArrangement → void 0) → 2 failed/13 passed (the first attempt with replacement 'undefined' was refused by the tool because the text already occurs in the file: it ran nothing and restored, then redone); fixed (Attachments given arrange) → 1 failed/14 passed.", "gates": "Local, head 17dd9e49a85: dispatch-gates --commands derived 48 families; all run (--ran: 48 derived, 48 run, 0 NOT-MEASURED, 0 UNRUN). Exit codes captured per command before any pipe: 47 exit 0; node scripts/check-empty-changeset.mjs --base origin/main exit 1 = the declared DELIBERATE CORRECTION of .changeset/35595-35596-record-tabs-rail.md (red by design, confirmation is the seat's record). pnpm --dir ui exec vitest run scripts/: 171 files passed | 2 skipped, 5092 tests, VERDICT 0. check-platform-checklist --changed-from origin/main: OK, 2 anchors judged, 0 lost (owed for the deleted exports). overlap-check before each of 3 pushes: exit 0 (shares locale files with #35747, merges cleanly). Closure build pnpm turbo run build --filter='@object-ui/plugin-detail^...' --concurrency=2: 52/52, VERDICT 0. CI on PR #35818 at report time: in_progress (23 check-runs listed, none concluded beyond skipped opt-ins); not waited on.", "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/pulls + POST /issues/35818/assignees, one dispatch fw-20261120T094115Z-8cb052, read back identical, assignee os-bill, no labels); relay os-dev-report comment on #35783 via post-stamped.mjs. Plus 3 git push to the claim branch (not REST).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted, not filed — with RelatedCardStack gone nothing in production provides RelatedCardChromeContext, so RelatedList.tsx's cardChrome branch (RelatedPanelHandle, RelatedCardMenu) can no longer draw; dead code outside the fence (RelatedList.tsx), only tests provide the context. RelatedCardMenu.tsx kept for that reason.", "carrier: none · noted, not filed — stale comments naming RelatedCardStack in ui/packages/app-shell/src/views/RecordDetailView.tsx (~1277, ~4327), ui/packages/plugin-detail/src/RelatedList.tsx (~1370) and ui/packages/plugin-detail/README.md:849; outside the fence." ] }objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#5 · os-bill · session_01Utp6CbSphdunq2aJq7ktuY
Close-out · 2026-11-20T10:32Z: PR #35818 merged as 1d7015a. L1-a gave ACCEPT 7036869352 with no required items, and the landing comment is 7036879349. This card closed on the merge.
What changed
Noted, not filed: in RTL locales the ←/→ icons are still not mirrored. RelatedList's cardChrome branch is dead in production, and stale RelatedCardStack comments remain.
pm:dispatched removed.