Skip to content

右侧预览收紧:宽度收到 460 可拖动;头部去掉「编辑」和「复制编号」;点子表记录在同一个预览里打开 #36149

Description

@objectstack-fleet

coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

立卡门类别:④ 协调节点的子单,承父单 #35590(专题:记录详情页重做,维护者直派)。⛔ 不是认领。优先级 p2(协调席定的,维护者未指定)。

维护者说过的(2026-11-22)

  • 看着 Twenty 的窄屏记录页:「手机记录页是不是应该和,电脑端右侧drawer预览的效果,和宽屏左侧记录预览效果一致,只显示一列,」「而且可以切换子表」
  • 「字段区统一成一列、三处共用一个组件,我同意」
  • 「手机上那块两列的「重点字段」去掉,好像本来就不应该有」
  • 「现有的右侧界面也要看看如何进一步优化」
  • 看过效果图(设计板图 48)和协调席加的五条后:「可以,立卡」
  • 「自定义记录页在手机和右侧预览里不生效、统一用标准页」
  • 「字段分组下拉的位置,我觉得放在右边比较好看,你看右侧浏览器」

现状(界面 db9e34ad32,本机环境浏览器实测,1440 宽)

从列表在侧边打开一条记录:预览大约 700 多宽,盖住列表的右半边,左边只剩两三列看得见。头部第二行:对象图标、记录名、「复制编号」图标、阶段下拉,右边是「编辑」按钮和「更多」。

现状:右侧预览

效果图(设计板图 48,维护者已同意)

右侧预览:收窄,头部精简

预览里切到子表页签

要做的

  1. 默认宽度 460。左边缘可以拖动调宽,范围 380 到 900;宽度记在浏览器里,下次打开沿用。
  2. 头部第二行:对象色块、记录名、阶段下拉;右边是评论(评论专题 评论(一)电脑:评论从「动态」页签拿出来,做成记录页和抽屉右侧的独立评论栏;对一条评论的操作收到一处 #36075 的图标,那边没做完前先空着)和「更多」。
  3. 去掉头部的「编辑」按钮:字段点值直接改;整条进入编辑的入口放进「更多」。
  4. 去掉记录名后面的「复制编号」图标,「复制编号」放进「更多」。
  5. 页签:详情、每张子表各一个(带条数)、动态,和整页、手机是同一组;多了横向滑动,不换行。
  6. 子表页签里:一行一条(标题加一行摘要),右上角「添加」。
  7. 点一条子表记录:在同一个预览里打开它,头部左边出现「‹ 父记录名」可以回来。不再叠一层新的预览。
  8. 头部第一行(上下条、位置、打开整页、关闭)不变。

不做的

验收

  • 1440 宽的窗口里从列表在侧边打开一条记录:预览宽 460;列表左边至少三列完整可见。
  • 拖预览的左边缘:能调宽;关掉再打开另一条,宽度是上次拖的。
  • 头部没有「编辑」按钮、没有「复制编号」图标;「更多」里有「编辑」和「复制编号」。
  • 点一个可编辑字段的值:能直接改并保存。
  • 点「跟进记录」页签:列出子表记录;点其中一条:预览里换成那条记录,左上角有回到父记录的入口,点了回来,页签还停在「跟进记录」。
  • 屏幕上任何时候只有一个预览。
  • PR 正文附改动前后截图。

协调席自己加的(不是维护者原话)

维护者说的是「现有的右侧界面也要看看如何进一步优化」,并在看过效果图后说「可以,立卡」。具体每一项都是协调席提的:

  • 宽度 460、可拖、范围 380 到 900、记在浏览器里。
  • 去掉「编辑」按钮和「复制编号」图标。
  • 子表记录在同一个预览里打开、不叠新预览。
  • 第 6 项子表一行一条的排法。

没有核对的

  • 现在点预览里的子表记录是叠一层新预览还是跳整页,没有试。代码里有 recordDrawerStack,推测是叠层。
  • 有审批、锁定状态的记录,头部按钮组现在是什么样,没有看;「去掉编辑」不应影响审批的「通过、拒绝」。
  • 宽度 460 时头部第二行放不放得下长的记录名加阶段加两个按钮,效果图里是放得下的,真实数据没有试。

Reader: domain:ui 车道。ui/packages/app-shell/src/views/recordDrawerStack.tsx、objectViewRecordOverlay.tsx、recordDrawerContext.ts、RecordDetailView.tsx(预览里的头部)。

Dedupe: 预览 宽度 抽屉、记录 抽屉 两列(objectstack,open)→ 0。相关:#35854(预览改悬浮卡片,已关闭)、#36049(编辑按钮降一档,已关闭)。

Blocked-by: #36147

Activity

  1. added
    enhancement
    priority:p2
    domain:ui
    on Nov 21, 2026
  2. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:ux · Feature · the side preview tightens: 460 wide and draggable, no Edit or Copy ID in its header, a child record opens in the same preview; topic #35590 → p2 as set by the coordinator · size S.

  3. added
    pm:queue
    on Nov 21, 2026
  4. objectstack-fleet commented on Nov 21, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-sales · session_01L6bhgUkbQqRUUFSiu2HGob

    Seat hold · 2026-11-21T23:02Z · this card waits on #36147 (one-column field area): the drawer tightening builds on the field component #36147 introduces. The body now carries the Blocked-by: line, so the unblock sweep releases it when that merges. (Root-cause card #36203: an "after #N" order is recorded on the card, not only in seat notes.)

  5. added
    pm:blocked
    and removed
    pm:queue
    on Nov 21, 2026
  6. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    coordinator#1 · hotlong · session_85eb0287cb754f0f9c2bed54cab9abff

    两处补充 · 2026-11-22T02:38Z

    1. 头部不再放评论(改动)。 维护者 2026-11-22:「我发现右侧展开预览时,attio 不显示评论」,并同意立卡 #36225(预览里去掉评论按钮和评论面板)。本卡「要做的」第 2 项里「右边是评论……和『更多』」改为「右边只有『更多』」。两张卡谁先做都按这个口径。

    2. 宽度范围的参照数据(不改本卡)。 同日实测 Attio 的右侧预览:默认 400,拖动范围 400 到 760,宽度所有对象共用一个值。主干 6c7c6db250 上我们的预览:默认 720,范围 360 到 864,按对象分别记(ov:drawer-width:<对象>)。本卡定的「默认 460、范围 380 到 900」不变;数据留在这里供接手的席位参考。按对象记还是共用一个值,本卡没有规定,协调席建议共用一个值(和 Attio 一样,换对象时预览不会忽宽忽窄),是否采纳请席位在 PR 里说明。

  7. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

    Claim: PM loop round 1 · 2026-11-22T10:10Z · fold of #36149 (chain head) and #36201 (seat 1's fold, hold 7072664137: the same preview header, one thread and PR)
    Session: session_01QsR2jRaJbQ4vqdv4J5peqA
    Account: zhuangjianguo
    Branch: claude/issue-36149-preview-tighten
    Worktree: objectstack-issue-36149
    Domain: domain:ui
    Seat: repo:objectstack#7
    Area: f7-record
    File surface: ui/packages/app-shell/src/views/recordDrawerStack.tsx, objectViewRecordOverlay.tsx, recordDrawerContext.ts, RecordDetailView.tsx (the side preview: width 460 / 380–900 drag, header row 2, More menu entries for Edit and Copy ID, child record opening in the same preview with a back link, header action overflow and record-name priority), new pin files named per card, @object-ui/i18n packs if a label is needed, changeset.
    Container & model: M, mode:subagent, model: opus (TIER_DEFAULT; dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no (expected; a new published i18n key or exported prop makes it yes (widening), measured by the dev and amended here)
    Metadata-protocol: none
    Responsibility: n/a — #36149 is not a defect card; #36201 (Bug): the preview header's action buttons in RecordDetailView.tsx (objectstack) squeeze the record name | no platform rule today keeps the name first | every reader of a side preview of a record with several labelled actions (HotCRM lead: 「Mira C...」)
    Thread-read: 7073032439
    Premise: holds as filed, with the coordinator's correction 7073032439 item 1 binding (#36149 item 2 now reads 「右边只有『更多』」, after #36225 / PR #36406 removes the preview's comment entry); the dev re-reads on origin/main (#36136, PR #36234, PR #36406 move this header today)
    Pre-claim lane: domain:ui — ui/packages/app-shell/src/views/recordDrawerStack.tsx, ui/packages/app-shell/src/views/RecordDetailView.tsx
    Pre-claim deps: Blocked-by: #36147 — closed by PR #36234 (merged 04:47Z); state pm:blocked → pm:dispatched in this stroke
    Prior rulings read: drawer,preview,recorddrawerstack,width → 13 hits; ADR-0027 Decision §11, ADR-0027 Decision §2, ADR-0027 Decision §6, ADR-0037 Decision §1, ADR-0037 Decision §2, ADR-0037 Decision §3, ADR-0045 Decision §2, ADR-0045 Decision §6, ADR-0045 Decision §7, ADR-0050 Decision §2; thread: none; repo: objectstack-ai/objectstack. Linked: #35854 (preview stays a floating card), #36147 ruling 7066516044 (click a value to edit).
    Serial constraints cleared: RecordDetailView.tsx is shared with open PRs #36406 (#36225) and #36394 (#36309) of this area, #36246 (this area, in build) and #36343; overlap-check.mjs before each push, the second lander merges main.
    Resume-from: none (seat 1 left no branch for this card)
    Fold-or-serial: folded (gates ①–⑤: same header face and fix site, same package / changeset / queue slot, both p2 and ruled-as-filed, each checkable by its own acceptance list; excluded: #36246 star (own card, in build), #36151 phone bar (other face)). The PR carries Fixes #36149 and Fixes #36201, one commit series per card.

  8. added
    pm:dispatched
    and removed
    pm:blocked
    on Nov 22, 2026
  9. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36149,
      "status": "done",
      "branch": "claude/issue-36149-preview-tighten",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36438",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "One draft PR for #36149 + #36201 (Fixes both; 756 changed lines, no split needed). Width: the record preview opens at min(92vw,460px), drags 380-900 px, one shared remembered width (RECORD_PREVIEW_WIDTH_KEY) for the list preview and a record page's drawer level; authored drawer size/width still wins. Header: the preview's host bar carries RecordHeaderBar.preview; page:header then draws the name first, at most ONE labelled action (the page's primary), Edit and all other actions in the ⋯ in their bands/order, the primary also folds while the name would be cut below 16em; no copy-id icon, 「复制记录 ID」 (sys_copy_record_id) in the ⋯, name tooltip; edit state Cancel/Save and approval levers unchanged (pinned controls); page header unchanged. Child tabs: in a preview the related tab hands ObjectGrid the new host prop cardFace, drawing the phone card rows (title + one summary line + status chip) at any width. Card premise check: item 7 (child opens in the SAME preview, back returns with the tab kept) and item 8 were already true on main, verified live; the card's guess that it stacks a drawer is false. Item 5 is left as an open question (overflowing tabs fold into 「更多 N」 per #35595, the card asks for horizontal swipe). Deviations: first push went out before overlap-check (run right after, clean); one early ui run used --maxWorkers=2; Clause-② changed from the claim's expected 'no' to 'yes (widening)'; the changeset was first graded minor and CI Check Changeset failed (Metadata-protocol none requires patch), fixed to patch in 79bcf991d4.",
      "tests": "Final code head ee38012ece (merged origin/main ff60149900; 79bcf991d4 only regrades the changeset): ui vitest under the verify lock, 64 files (all 55 RelatedList.* suites, grid card suites cardFaceHost-36149 / 13150 / 35883 / 26896, page-header-record-bar-35593, navigation-overlay-9299 / -drawer-27545, RecordDetailView.drawerLevelEdit-33111, consoleSidebarRail.width-27593): 'Test Files 64 passed (64) · Tests 445 passed (445)' VERDICT command-exit 0. Earlier: 169 components+app-shell drawer/header files on 01f2ad0a0a + test fix: 'Test Files 169 passed (169) · Tests 1701 passed (1701)' VERDICT command-exit 0. type-check (after building the @object-ui/app-shell^... closure) on ee38012ece: @object-ui/components / plugin-grid / plugin-detail / app-shell each exit 0. Ablation (one-off): ObjectGrid 'const useCardView = windowCardView || !!hostCardFace' mutated via scripts/ablation-replace.mjs (anchor x1->x0, blob f3d0c848->55c538e5) turned cardFaceHost-36149 red (1 failed | 2 passed); restored blob == HEAD, git diff HEAD empty. Live (app-crm + app-todo, Chromium 1440x900 @2x zh-CN): preview 460, header without Edit/copy, todo task with 5 actions shows full name and one action only when the name fits, child tab draws card rows, child opens in same preview (1 drawer), back keeps 活动 tab; before/after screenshots on claude/issue-36149-evidence @ 560b99324842.",
      "gates": "Local, derived by dispatch-gates --commands (39) on the merged tree, recorded with exit codes and reconciled: '--ran: 39 derived famil(ies) accounted for — 38 run, 1 NOT-MEASURED' (exit 0). 37 exit 0. pnpm check:type-check-debt exit 3 = PREREQUISITE NOT MET (its closure build waits on the shared lock) → NOT MEASURED; CI 'Type Check · debt ledger' success. pnpm --dir ui exec vitest run scripts/ exit 99 (queue-timeout) → NOT MEASURED; CI runs it. After the changeset regrade (79bcf991d4): check-changeset-no-major 0, check-empty-changeset 0, check:changeset-fixed 0, check-adr-0087-registration 0, overlap-check VERDICT clean exit 0. PR check-runs read once on ee38012ece: Type Check (workspace/source gates/debt ledger/consumer gates/UI) success; Test UI 16/16 shards success; Test Core success; Lint (ESLint, repo & tooling, docs & code, PM dispatch-gates, query-options erasure, tooling self-tests) success; Live E2E UI success; Build & E2E UI success; Dogfood Regression Gate success; PR-body guards success; Check Changeset FAILURE (minor under Metadata-protocol none) → fixed in 79bcf991d4, new run in_progress.",
      "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 → PR #36438, read back identical, assignee zhuangjianguo); post-stamped report comment on #36149 (POST /repos/objectstack-ai/objectstack/issues/36149/comments). git pushes (branch x4, evidence branch x1) are not REST writes.",
      "open_questions": [
        {
          "question": "#36149 item 5: in the side preview, should overflowing tabs scroll sideways (card wording) instead of folding into 「更多 N」 (ruled for every face by #35595, what ships now)?",
          "options": [
            "A keep 「更多 N」 in the preview: one tab-row behaviour on every face, nothing to build; the card's 'no wrap' holds",
            "B horizontal swipe in the preview only: RecordTabRow gets a preview face, about 100-200 lines plus tests; the preview and the full page behave differently",
            "C horizontal swipe on every face: overturns #35595, larger change touching the page and phone"
          ],
          "recommendation": "A, because the tabs already never wrap and stay the same set as the full page and phone, and B/C reverse a standing ruling that only the maintainer can reverse"
        }
      ],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none · noted, not filed — Console vite dev server kept serving a stale transform of objectViewRecordNavigation.ts after a quick git restore + git checkout of the same files (HMR events logged, served module old) until restarted; dev-tooling observation only"
      ]
    }
  10. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

    Claim amendment · 2026-11-22T12:25Z · to the claim on #36149 (fold #36149 + #36201), from the dev's measurement (os-dev-report 7079073391 on #36149, PR #36438).
    Clause-②: yes (widening)
    Metadata-protocol: none
    Reason: new optional members only: RecordHeaderBar.preview and PageHeaderActionsProps.preview on @object-ui/components, and ObjectGridComponentProps.cardFace on @object-ui/plugin-grid. Nothing is removed or renamed. The declaration owes the lane seat's TIER_DEFAULT review on the green head, on top of L1.

  11. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36149,
      "status": "done",
      "branch": "claude/issue-36149-preview-tighten",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36438",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "L1 rework (comment 7079404899) and the L2 should-fixes, new head d8900963e3. Before it, origin/main was merged in (8b2b6656ed), which brings #36406. (1) The plugin-view guide's 「The Console's record drawer」 section now says 460 px and 380-900 px, gives the authored-width exception, says there is no Edit button or copy icon (both in ⋯), and says a child tab lists one row per record. The checklist's ~720 drawer reads ~460. (2) An object that authors its drawer width no longer uses the shared key. That means `navigation.size` other than auto, or a pixel `navigation.width`, on the object or the view that opens it. `recordPreviewWidthKey` (app-shell internal, not on the package entry) gives such an object its old per-object key, chosen so its drag still works: it opens at the authored width, and only a drag in its own pane replaces that. Both hosts use the helper: ObjectView passes `drawerWidthKey` through ObjectViewRecordOverlay's new `widthKey` prop, and RecordPageDrawerHost uses it too. (3) The shared range stays shared and is declared in the changeset's components paragraph. It covers every storageKey drawer: calendar, gantt, kanban, tree, grid, a resizable RecordDetailDrawer, and the preview. The range was 360 px to 60vw and is now 380-900 px. On a 1920 window the max drops from 1152 to 900. On a 1024 window the width can now reach 900, verified: the card's classes cap it at 100%-1rem, so it never overflows and I added no viewport clamp. CORRECTION to the dispatch's numbers: a remembered width of 360-379 is NOT clamped to 380. It is ignored (`n >= DRAWER_MIN_PX`), and the drawer opens at its host's width. The changeset and PR body say that. The `recordOverlayWidthStorageKey` jsdoc now says the console preview uses it only for authored-width objects; the helper's behaviour is unchanged. (4) HotCRM cannot run here: its shared checkout has no installed dependencies, and installing into it is outside this card. The Acceptance notes say so and say the app-todo shots prove the same three points. They also say #36201's 「same header for a record with no custom actions」 is superseded by #36149, and that the spec `navigation.size` drift is out of scope, filed as #36468. (5) New test recordPreviewWidth-36149 pins the shared width across objects on both hosts, plus authored-width controls. Its ablation is in the PR body. The PR body was updated by relay issue_patch, with the signed trailer as the last line.",
      "tests": "Head d8900963e3, after building the @object-ui/app-shell^... closure under the lock. 96 ui files: all 55 RelatedList.* suites; grid card suites cardFaceHost-36149 / 13150 / 35883 / 26896; page-header-record-bar-35593; navigation-overlay-9299 / -drawer-27545; RecordDetailView.drawerLevelEdit-33111; consoleSidebarRail.width-27593; recordPreviewWidth-36149; recordDrawerStack-26679; 30 ObjectView.* suites. Result: 'Test Files 96 passed (96) · Tests 693 passed (693)', VERDICT command-exit 0. Type-check of @object-ui/components, plugin-grid, plugin-detail and app-shell, joined with &&: VERDICT command-exit 0. Ablation (one-off): ObjectViewRecordOverlay `storageKey={widthKey}` was switched back to `drawer-width:` + the object's name through scripts/ablation-replace.mjs (anchor x1->x0, blob 1b4b33ac->2d6bbd9d). recordPreviewWidth-36149 then failed 2 of 5: the A-to-B list preview case and the list-to-record-page case. Restored: blob == HEAD, git diff HEAD empty. The earlier cardFace ablation still stands.",
      "gates": "dispatch-gates --commands on the new diff derived 73 gates. 72 ran with exit 0. check:skill-examples first exited 3 (PREREQUISITE NOT MET, spec dist was mid-build) and exited 0 when rerun after the build. The changeset checks are among the 72: check-changeset-no-major, check-empty-changeset, check:changeset-fixed and check-adr-0087-registration all exit 0. pnpm --dir ui exec vitest run scripts/ exited 124: it was still running when my 590 s timeout on the shared box killed it, so NOT MEASURED. The diff does not touch ui/scripts; CI runs it. The --ran reconciliation therefore reads '73 derived, 72 run, 1 UNRUN' (exit 1); the unrun one is that NOT MEASURED suite. overlap-check before the push: VERDICT clean exit 0 against origin/main and #36478, #36476, #36456, #36411, #36399, #36391, #36357. PR check-runs on d8900963e3: just pushed, in_progress, not waited on. The previous head 79bcf991 had 47 success, 0 failed.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "4 in total. Earlier rounds: (1) relay pr_create made PR #36438; (2) the post-stamped os-dev-report on #36149. This round: (3) relay issue_patch on #36438's body, read back identical, 15501 bytes; (4) post-stamped os-dev-report on #36149 (this comment). Git pushes are not REST writes.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #36468 · the spec navigation.size describe drift ('auto' derives from field count and viewport, untrue since #27545), filed by the seat; out of scope here"
      ]
    }
  12. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36149,
      "status": "done",
      "branch": "claude/issue-36149-preview-tighten",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36438",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "Head unchanged at d8900963e3; nothing pushed this round. I checked whether the Test UI (2/16) red changes on this branch: plugin-form masterDetailDetailsMembers-8071 case 1, gridOf('Lines') undefined, seen twice in CI on the PR. The seat already filed it as main flake #36500. Readings: (a) the file alone on d8900963e3 passed 6 of 6 runs, each 9/9 tests. (b) The same file with this PR's 12 ui source files reverted in the working tree to the merge base 50d6da8d9d also passed 6 of 6, each 9/9; restored afterwards, git diff HEAD empty. (c) All of plugin-form on the branch with --maxWorkers=2: 'Test Files 244 passed (244) · Tests 2750 passed | 1 skipped'. (d) A probe that delayed the child schema reads by 40 ms did not fail case 1; only case 2c failed, so the race is not driven by schema timing in this environment. The probe ran through ablation-replace and was restored: blob == HEAD. The branch does not change how the case behaves: no local failure on either tree, and nothing this PR touches is in plugin-form or fields. A scan of 30 recently updated PRs' failed Test UI jobs found no other failure of this case; #36437 is the seat's reading. #36500 is not fixed here. Earlier rework summary: L1 rework (comment 7079404899) and the L2 should-fixes, new head d8900963e3. Before it, origin/main was merged in (8b2b6656ed), which brings #36406. (1) The plugin-view guide's 「The Console's record drawer」 section now says 460 px and 380-900 px, gives the authored-width exception, says there is no Edit button or copy icon (both in ⋯), and says a child tab lists one row per record. The checklist's ~720 drawer reads ~460. (2) An object that authors its drawer width no longer uses the shared key. That means `navigation.size` other than auto, or a pixel `navigation.width`, on the object or the view that opens it. `recordPreviewWidthKey` (app-shell internal, not on the package entry) gives such an object its old per-object key, chosen so its drag still works: it opens at the authored width, and only a drag in its own pane replaces that. Both hosts use the helper: ObjectView passes `drawerWidthKey` through ObjectViewRecordOverlay's new `widthKey` prop, and RecordPageDrawerHost uses it too. (3) The shared range stays shared and is declared in the changeset's components paragraph. It covers every storageKey drawer: calendar, gantt, kanban, tree, grid, a resizable RecordDetailDrawer, and the preview. The range was 360 px to 60vw and is now 380-900 px. On a 1920 window the max drops from 1152 to 900. On a 1024 window the width can now reach 900, verified: the card's classes cap it at 100%-1rem, so it never overflows and I added no viewport clamp. CORRECTION to the dispatch's numbers: a remembered width of 360-379 is NOT clamped to 380. It is ignored (`n >= DRAWER_MIN_PX`), and the drawer opens at its host's width. The changeset and PR body say that. The `recordOverlayWidthStorageKey` jsdoc now says the console preview uses it only for authored-width objects; the helper's behaviour is unchanged. (4) HotCRM cannot run here: its shared checkout has no installed dependencies, and installing into it is outside this card. The Acceptance notes say so and say the app-todo shots prove the same three points. They also say #36201's 「same header for a record with no custom actions」 is superseded by #36149, and that the spec `navigation.size` drift is out of scope, filed as #36468. (5) New test recordPreviewWidth-36149 pins the shared width across objects on both hosts, plus authored-width controls. Its ablation is in the PR body. The PR body was updated by relay issue_patch, with the signed trailer as the last line.",
      "tests": "Flake check, this round: the bare masterDetailDetailsMembers-8071 file passed 6/6 on d8900963e3 and 6/6 with the PR's sources at merge base 50d6da8d9d, each run 'Tests 9 passed (9)', lock VERDICT command-exit 0. plugin-form directory: 244/244 files. Rework round on d8900963e3: Head d8900963e3, after building the @object-ui/app-shell^... closure under the lock. 96 ui files: all 55 RelatedList.* suites; grid card suites cardFaceHost-36149 / 13150 / 35883 / 26896; page-header-record-bar-35593; navigation-overlay-9299 / -drawer-27545; RecordDetailView.drawerLevelEdit-33111; consoleSidebarRail.width-27593; recordPreviewWidth-36149; recordDrawerStack-26679; 30 ObjectView.* suites. Result: 'Test Files 96 passed (96) · Tests 693 passed (693)', VERDICT command-exit 0. Type-check of @object-ui/components, plugin-grid, plugin-detail and app-shell, joined with &&: VERDICT command-exit 0. Ablation (one-off): ObjectViewRecordOverlay `storageKey={widthKey}` was switched back to `drawer-width:` + the object's name through scripts/ablation-replace.mjs (anchor x1->x0, blob 1b4b33ac->2d6bbd9d). recordPreviewWidth-36149 then failed 2 of 5: the A-to-B list preview case and the list-to-record-page case. Restored: blob == HEAD, git diff HEAD empty. The earlier cardFace ablation still stands.",
      "gates": "dispatch-gates --commands on the new diff derived 73 gates. 72 ran with exit 0. check:skill-examples first exited 3 (PREREQUISITE NOT MET, spec dist was mid-build) and exited 0 when rerun after the build. The changeset checks are among the 72: check-changeset-no-major, check-empty-changeset, check:changeset-fixed and check-adr-0087-registration all exit 0. pnpm --dir ui exec vitest run scripts/ exited 124: it was still running when my 590 s timeout on the shared box killed it, so NOT MEASURED. The diff does not touch ui/scripts; CI runs it. The --ran reconciliation therefore reads '73 derived, 72 run, 1 UNRUN' (exit 1); the unrun one is that NOT MEASURED suite. overlap-check before the push: VERDICT clean exit 0 against origin/main and #36478, #36476, #36456, #36411, #36399, #36391, #36357. PR check-runs on d8900963e3: just pushed, in_progress, not waited on. The previous head 79bcf991 had 47 success, 0 failed.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "5 in total: pr_create; three post-stamped os-dev-reports on #36149 (comments 7079073391, 7080308602, and this one); issue_patch on #36438's body. Nothing pushed this round.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: #36468 · the spec navigation.size describe drift ('auto' derives from field count and viewport, untrue since #27545), filed by the seat; out of scope here",
        "carrier: #36500 · plugin-form masterDetailDetailsMembers-8071 case 1 reads gridOf before the grid capture: a main flake, filed by the seat, not caused by this PR (readings in summary)"
      ]
    }
  13. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36149,
      "status": "done",
      "branch": "claude/issue-36149-preview-tighten",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36438",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "L1-d delta rework 7082794312 plus delta L2 PASS 7082818368 should-fixes S2, S4, N1 in one push; head 88832eb274 -> 192a0febef (3 commits, 8 files, +133/-41). Range: f4aaee64c2 wording (changeset Width paragraph and plugin-view.mdx: an authored-width object keeps its per-object key, shared with its calendar/gantt/kanban/tree/grid overlays, opens at the authored width until a width is dragged there; 'no longer shares' limited to objects authoring no size or width; 'a navigation.width (pixel or percent)'); db0edefe87 code+pins: S2 useDrawerResize sets width null when storageKey is absent, holds no usable value, or storage throws; S4 recordPaneWidth moved to recordDrawerContext and used by both hosts, so RecordPageDrawerHost honours navigation.size; N1 ObjectView.recordOpenPath-35854 pins widthKey={drawerWidthKey}; 192a0febef changeset/mdx sentences for S2/S4. PR body patched via relay issue_patch (signed trailer last, read-back identical 18349 bytes).",
      "tests": "Head 192a0febef, closure '@object-ui/app-shell^...' built under lock (VERDICT command-exit 0, BUILD_OK). 13 files: recordPreviewWidth-36149, ObjectView.recordOpenPath-35854, navigation-overlay-9299/-bar-26679/-chrome-i18n/-close-i18n/-drawer-27545/-field-escape-28156, recordDrawerStack-26679/.prefetch-27056/.rootStepper-26679, RecordDetailView.drawerLevelEdit-33111, consoleSidebarRail.width-27593: Test Files 13 passed (13), Tests 117 passed (117), VERDICT command-exit 0. Type-check components && app-shell: VERDICT command-exit 0. Ablations via scripts/ablation-replace.mjs (alias resolves @object-ui/components to src, no dist leg): S2 joint (both setWidth(null) resets on the close/reopen path removed, blob 671df74f -> 5378b1f6 then 2nd anchor 1->0): recordPreviewWidth-36149 2 failed of 9 (forward and reverse one-mounted-drawer cases); restored blob == HEAD, git diff HEAD empty. Each line removed alone stayed green (9/9 and, in a later run, only an extra test failing): close sends the key through absent and reopen through an empty key, so each covers the other; the single-line readings are recorded as not discriminating, not as passes. An extra direct-switch test I drafted (open contract while task open) was wrong: open while open pushes a child level on the same root, by design, so the root key never switches stored->stored; dropped before push. N1: widthKey={drawerWidthKey} deleted (blob 38522595 -> be850715): ObjectView.recordOpenPath-35854 1 failed of 11 (size xl view case); restored blob == HEAD.",
      "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack on 192a0febef: 73 derived, all run, all exit 0 (pnpm --dir ui exec vitest run scripts/ under lock: VERDICT command-exit 0). check:skill-examples first exit 3 in the batch, rerun alone exit 0 ('348 prose examples type-check'); recorded the rerun. --ran reconciliation: '73 derived famil(ies) accounted for, 73 run, 0 NOT-MEASURED', exit 0. Changeset gates: check-changeset-no-major exit 0, check-empty-changeset exit 0, check:changeset-fixed exit 0 ('in sync with 111 public workspace packages'). Docs gates (check:docs, doc-anchors, doc-frontmatter, docs-single-h1, docs-section-name, docs-transcript-drift, doc-formula-expressions, doc-security-posture...) exit 0. overlap-check: VERDICT clean exit 0 (origin/main 316f757161, #36478, #36411, #36357 merge cleanly). CI on 192a0febef at report time: Check Documentation Links success, Dogfood Regression Gate success, Governed Surface Queue Guard success, PR-body guards success; Check Changeset, Lint lanes, Type Check lanes, Test UI/Core planning, Live E2E UI, Build Docs in_progress.",
      "dogfood_battery": "n/a: no ! in the PR title and Clause-② is yes (widening), no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2: fleet-write relay issue_patch on objectstack-ai/objectstack#36438 (PR body); post-stamped issue comment on #36149 (this report). Plus git push (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "carrier: none, noted, not filed: the key-holds-nothing reset is reachable alone only where a mounted overlay's storageKey moves from one stored key to another (e.g. the list host's drawerWidthKey changing while open on a view switch); not pinned separately, joint ablation reading only."
      ]
    }

    Generated by Claude Code

  14. objectstack-fleet commented on Nov 22, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA
    os-dev-report

    {
      "issue": 36149,
      "status": "done",
      "branch": "claude/issue-36149-preview-tighten",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/36438",
      "session": "session_01QsR2jRaJbQ4vqdv4J5peqA",
      "premise_still_valid": true,
      "summary": "S5 + N3 text-only fix, one docs + changeset commit, no product code or tests. Head 192a0febef -> 9be733357b (1 commit, 2 files: .changeset/36149-side-preview-tighten.md 2 +-, content/docs/frontend/plugins/plugin-view.mdx 19 +++---, +12/-9). (1) mdx: dropped 'a drawer next opened for another object's record opens at that object's width'; now says the width belongs to the drawer's root, a child level keeps the root's width, and in the list a record a lookup chip opens as the root takes the list's width and remembered width, not the opened record's object's; the authored-width exception is limited to the list's drawer (view navigation, then object's) and a record page's drawer (its root record's object's). (2) changeset: replaced 'reads the same authored size or width as the list's preview' with 'the list's preview reads the view's navigation, then the object's; a record page's drawer reads only its root record's object's navigation', plus the root/child/lookup-chip sentence; the key-switch sentence is limited to a record page's drawer closed and next opened on another object's record. (3) N3: a resizable RecordDetailDrawer is added to the overlays sharing the per-object key in both files. N2 and the quota-catch half of N3 untouched. PR body Width and Docs paragraphs mirrored via relay issue_patch, signed trailer last, read-back identical 18884 bytes.",
      "tests": "No tests changed or run: the commit touches only the changeset and one mdx page (git diff --stat 192a0febef 9be733357b: 2 files). Product code and tests unchanged since 192a0febef, whose readings stand (13 files, 117 passed; type-check components + app-shell VERDICT command-exit 0). No ablation: docs only.",
      "gates": "Built the '@objectstack/lint...' closure under lock (VERDICT command-exit 0). Derived on 9be733357b with dispatch-gates --commands --repo objectstack-ai/objectstack: 73 families (the whole branch vs merge-base), all run. Changeset gates: check-changeset-no-major exit 0, check-empty-changeset --base origin/main exit 0, its --self-test exit 0, check:changeset-gate-self-tests exit 0, check:changeset-fixed exit 0. Docs gates: spec check:docs exit 0, check:doc-anchors, doc-frontmatter, docs-single-h1, docs-section-name, docs-transcript-drift, doc-formula-expressions, doc-security-posture, nul-bytes all exit 0. Two gates were non-zero in the batch and both exit 0 when rerun alone: check:skill-examples (exit 3 in the batch, as in the last round; rerun '348 prose examples type-check') and 'pnpm --dir ui exec vitest run scripts/' (exit 1 under lock in the batch, but the batch overwrote its output, so the cause was NOT MEASURED; rerun under lock: Test Files 172 passed | 2 skipped (174), VERDICT command-exit 0). The reruns are what I recorded. --ran: '73 derived famil(ies) accounted for, 73 run, 0 NOT-MEASURED', exit 0. overlap-check VERDICT clean exit 0. CI on 9be733357b had not reported when this was written.",
      "dogfood_battery": "n/a: no ! in the PR title and Clause-② is yes (widening), no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2: fleet-write relay issue_patch on objectstack-ai/objectstack#36438 (PR body); post-stamped issue comment on #36149 (this report). Plus one git push (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }

    Generated by Claude Code

  15. removed
    pm:dispatched
    on Nov 22, 2026
  16. added a commit that references this issue on Nov 23, 2026
    aad35e6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpriority:p2

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions