Skip to content

feat(record-page): on a phone the bottom bar holds the object's own actions only; Edit moves into the top bar's More - #36478

Merged
objectstack-fleet[bot] merged 13 commits into
mainfrom
claude/issue-36151-phone-bottom-bar
Nov 22, 2026
Merged

objectstack-fleet[bot] merged 13 commits into
mainfrom
claude/issue-36151-phone-bottom-bar

Conversation

@objectstack-fleet

@objectstack-fleet objectstack-fleet Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Steedos · project thread
repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

Fixes #36151

Clause-②: yes (widening)
Metadata-protocol: semantic
Skills-docs: none — no published skill under skills/ names mobileMaxVisible, the phone record page's bottom bar or its Edit button (searched); the authoring change is one budget's meaning, taught in the spec describe and content/docs/ui/pages.mdx here.

维护者速读

  • 手机上打开记录页:底部按钮条只放这个对象自己的动作(最多两个,撑满一行);没有动作的对象不再出现底部条,内容一直到屏幕底部;「编辑」挪进右上角「更多」。电脑端不变。
  • 手机记录页改版的一步:字段已能点一下直接改,底部那颗占位的「编辑」按钮不再需要,把底部留给真正的业务动作。
  • 出错时,手机用户会找不到整页编辑的入口,或看到空白的底部条;把本次改动撤回即可恢复原样,不涉及数据。
  • 无。

What changes

On a phone (the console's record page, phonePage), per the card's five ruled items:

  1. Edit leaves the bottom bar. The record's Edit is forced into the ⋯ on the phone (component: 'action:menu' on the host's sys_edit, always, not only when Edit is off). A field's value is edited by one tap on it (记录的字段区统一成一列:右侧预览、手机记录页、宽屏左栏共用一个组件,不管多宽都只排一列;分组箭头在右 #36147, PR feat(record-page): the field area is one list in the side preview, on a phone and in the pinned left column (#36147) #36234); whole-record edit is ⋯ → Edit, which calls the same onEdit handler the bar's Edit called (inline edit state on an object without a form, the form route on one with a form).
  2. The bottom bar holds the object's own actions only: the primary, then the next one, budget unchanged (PHONE_ACTION_BAR_BUTTONS = 2, or the authored mobileMaxVisible), filling the row (flex-1). The edit state keeps its Cancel and Save there.
  3. No action, no bar. With nothing to draw the toolbar returns nothing and the host's bar hides itself (:has(> [role=toolbar]:empty) / no toolbar), so the body runs to the foot of the screen.
  4. Approval unchanged. A record pending the reader's approval still draws [Approve][Reject][⋯] from RecordHeaderStateContext's state group with its own ⋯; the top bar draws no second ⋯ then (one ⋯ per screen).
  5. Everything else is in the top bar's ⋯, at the right end of RecordTopBar (its frame slot): actions past the budget, Refresh, Edit (on or off with its reason), Share, Delete. The favorites entry is not in it: since 记录页的收藏星标露在记录名旁边:现在收在「更多」菜单里(以 Attio 为准) #36246 (PR feat(app-shell): the record's favorite star beside its name, out of the header's overflow #36456) the favorite star sits beside the record's name, on the phone too.

Mechanism:

  • PageHeaderPhoneFace (the PageHeaderPhoneContext value, a host slot, never metadata) gains an optional more: HTMLElement | null. PageHeaderActions in its bar face portals the ⋯ there when a host hands it; a host that does not hand it keeps the ⋯ as the bar's last button, byte-for-byte as before (the legacy pins in page-header-phone-bar-27058.test.tsx are untouched and green).
  • RecordDetailView hands a span[data-record-phone-more] it mounts in the top bar's frame.
  • Desktop: no change (the face: 'row' path is not touched).

Spec / docs: page:header mobileMaxVisible describe now says the phone bar holds the page's own actions and Edit is in the top bar's ⋯; generated docs regenerated (check:generated --fix, gen-sdui-manifest-node.mjs, gen-sdui-reference.mjs), hand-written content/docs/ui/pages.mdx and the designer's config description updated to match. Semantic change: an unset budget now shows two page actions where it showed Edit + one, and an authored value counts the page's actions alone.

Rulings carried (not reopened): the card's five items; the maintainer's 「可以,立卡」 on fig. 48; ruling 7066516044 item 2 (a single tap edits on the phone). Linked rules this card reverses, as the claim names: #34595 (the bottom bar starts with Edit), and the Edit-counted half of #35840 (two visible by default: still two, now both page actions).

Tests

Step 0 (owed before Edit leaves the bar): every field type the default record page draws editable was checked at 375 px with touch emulation on the live showcase Field Zoo record: one tap on the value opens its editor, and the edit saves (a PATCH carrying that field's key). All pass; no type raised.

Result Types
one tap opens, saves textarea, email, url, phone, markdown, number, currency, percent, date, datetime, time, boolean, toggle, select, multiselect, radio, checkboxes, tags, lookup, lookups (multiple), master_detail, tree, user, users, owner (current_user default), location, address, code, json, color, rating, slider, signature, qrcode, progress, the system Owner
not drawn editable (same on desktop, INLINE_EXCLUDED_FIELD_TYPES / read-only by kind) password, secret, html, richtext, formula, autonumber
not drawn as a detail row media, embedded and vector types

Pins updated where they pinned the reversed behaviour:

  • RecordDetailView.phoneFace-27058.test.tsx (the 手机端记录页:底部操作栏里「编辑」被自定义动作挤进更多菜单;阶段条文字全部被截断 #34595 pins): the bar is [Convert Lead][Assign] with no ⋯; the ⋯ is the top bar's last control and holds Edit and Share; a third action folds into the top ⋯ before Edit; one action fills the row; no action leaves an empty, hidden bar and ⋯ → Edit calls onEdit; the approval control and the Edit-off cases read the top ⋯.
  • RecordDetailView.favoritesEntry-12427.test.tsx (记录页的收藏星标露在记录名旁边:现在收在「更多」菜单里(以 Attio 为准) #36246's pins, merged in with origin/main): the phone case now opens the top bar's ⋯ (the fixture object declares no action, so its bottom bar is drawn empty); the CONTROL is that menu's Edit and Share, and the assertion that the ⋯ holds no favorites entry is unchanged. Its mount helper waits for the top bar's ⋯ on that case instead of a toolbar.
  • RecordDetailView.recordPageTiers-26678.test.tsx: the phone branch reads the empty bottom bar and the top bar's ⋯.
  • page-header-phone-bar-27058.test.tsx: new the phone bar with the host's top-bar ⋯ slot describe (two actions fill the row and the ⋯ sits in the slot; no page action draws an empty bar; slot not yet mounted draws no ⋯).
  • ui/e2e/record-flow-phone-targets.spec.ts: the geometry fixture draws the top bar's More (h-11 w-11) and an actions-only bar; 6 passed locally.

Ablations (one-shot, not kept; both restored, blob == HEAD verified by scripts/ablation-replace.mjs):

  • RecordDetailView: Edit forced into the ⋯ only when off (the old rule) ⇒ phoneFace suite 6 failed / 22 passed.
  • PageHeaderActions: top-bar slot ignored (moreInTopBar = barFace && false) ⇒ 13 failed / 29 passed across the two suites.

Readings on head a262ef3653 (origin/main merged in, carrying #36456; the spec reference regenerated on the merged tree; the favorites pin moved to the top ⋯; the changeset's ⋯ list drops Favorites): vitest --maxWorkers=1 on favoritesEntry-12427, phoneFace-27058, recordPageTiers-26678, page-header-phone-bar-27058 and headerMenuIcons-12529: Test Files 5 passed (5), Tests 65 passed (65), exit 0; @object-ui/app-shell type-check VERDICT command-exit 0; pnpm --dir ui exec vitest run scripts/ 5127 passed, 2 skipped, exit 0; dispatch-gates --ran 125 derived, 123 exit 0, 2 NOT MEASURED (the same two exit-3 prerequisites below). The readings below were taken on code head ec741d2c08, before the merge:

Unit suites, type-check, local gate subset
  • vitest run --maxWorkers=1 phoneFace-27058 + recordPageTiers-26678 + page-header-phone-bar-27058 (under the verify lock): Test Files 3 passed (3), Tests 52 passed (52), exit 0.
  • pnpm --dir ui exec vitest run scripts/ (a derived family): Test Files 172 passed, 2 skipped (174); Tests 5127 passed, 2 skipped; exit 0.
  • @object-ui/components and @object-ui/app-shell type-check (both tsc --noEmit and tsconfig.test.json, so the edited tests are in): VERDICT command-exit 0, after building the @object-ui/app-shell^... closure (a stale @object-ui/types dist had first reported a DataTableSchema.onColumnHide error outside this diff; rebuilt, gone).
  • Earlier on this branch, before the last test-only commit: RecordDetailView*, page-header*, record-top-bar* suites 133 files / 1144 tests, the one red being the tiers pin fixed in ec741d2c08; ESLint on the changed files 0 errors.
  • dispatch-gates --ran: 125 derived families accounted for, 123 run with exit 0, 2 NOT MEASURED (exit 3, PREREQUISITE NOT MET: check:skill-examples needs a built @objectstack/client-react, check:dual-build-cjs-loads needs studio, client-react and other dists outside this diff; both run in CI).
  • @objectstack/spec check:generated green after --fix; check:sdui-reference and check-sdui-manifest green.
  • Not run locally, CI-owned: test:repo, the repo-wide lint, the artifact-roster and wide families.

Acceptance notes

Verification

Read first (by risk):

  1. PageHeaderActions in ui/packages/components/src/renderers/layout/containers.tsx: the moreInTopBar branch (the portal into the host slot and the early return that leaves the bar empty).
  2. RecordDetailView in ui/packages/app-shell/src/views/RecordDetailView.tsx: sys_edit's phone component: 'action:menu', the top bar's frame slot and the bar's empty-hide class.
  3. PageHeaderPhoneFace in page-header-phone-context.ts: the new optional more.

Two-minute check: open a New HotCRM lead at 375 px ⇒ [确认线索][转化线索] at the foot, 编辑 in the top-right ⋯. Or open any record of an object with no actions of its own (showcase Account) at 375 px wide ⇒ no bottom bar, a ⋯ at the top bar's right end holding Refresh / Edit / Share / Delete, and the favorite star beside the record's name. A showcase Task ⇒ [Log Time][Archive] filling the bottom row.

Screenshots at 375 (live showcase, evidence branch claude/issue-36151-evidence):

State Before After (light) After (dark) After, ⋯ open
No action (Account)
Actions (Task)
HotCRM lead (zh-CN) not taken
Approval (Project)

The screenshots were taken before #36456 landed, so the open ⋯ shots still show Add to favorites / 添加到收藏. Since #36246 that entry has left the ⋯ for the star beside the record's name.


🤖 Generated with Claude Code

https://claude.ai/code/session_01QsR2jRaJbQ4vqdv4J5peqA

…ns only; Edit moves into the top bar's More

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jRaJbQ4vqdv4J5peqA
… page's own actions, Edit in the top bar's More

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jRaJbQ4vqdv4J5peqA
… actions-only bottom bar

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jRaJbQ4vqdv4J5peqA
…nd the top bar's More

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jRaJbQ4vqdv4J5peqA
@github-actions github-actions Bot added size/m documentation Improvements or additions to documentation protocol:ui tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 22, 2026
@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

This PR changes 1 package(s): @objectstack/spec, touching 1 documentable anchor(s).

1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:

  • content/docs/ui/pages.mdx (via mobileMaxVisible (symbol, a field of const object PageHeaderProps, an authorable key of ui/PageHeaderProps))

⛔ 1 release-owned page(s) also name something this change touched. These are read-only:

  • content/docs/releases/v15.mdx (via mobileMaxVisible (symbol, a field of const object PageHeaderProps, an authorable key of ui/PageHeaderProps))

content/docs/releases/ is RELEASE-OWNED (AGENTS.md "Documentation Guardrails"): release
notes are written centrally at release time, and a code PR that edits them is the exact PR
that guardrail exists to stop. They are still audited — read-only. If one of them is actually
wrong, file an issue or open a dedicated docs-only PR; do not edit it here.

What this run could not see
  • the SDK route bridge reached 68 of 251 client-bound route-ledger rows — the other 183 have no registrar path: tail to select them, so pages documenting THEIR client methods cannot appear above, on this or any run. Of those 183: 0 are remediable by widening that discovery convention (an in-repo file declares the path; the convention did not scan it); 59 are structural — on a ledger where NOT ONE row is declared in-repo, so no discovery change reaches them at any price; 124 are undecided (no in-repo declaration, on a ledger that has other in-repo registrars — absence and an unreadable spelling are not distinguishable here). The rows themselves: node scripts/docs-audit/affected-docs.mjs --bridge-coverage
  • a page that states a rule by its inputs shares no identifier with the emitter that implements the rule, so an emitter-only diff cannot list it — not on this run and not on any run. Measured on fix(driver-sql): emit varchar(maxLength) for a text field a declared index keys on #11430: content/docs/protocol/objectql/types.mdx documents the text-family column mapping by the ObjectQL type names it maps FROM (text / textarea / html) while the diff changed createColumn; it went unlisted, and it was the page that diff falsified, in four places. No shared token exists to detect this on, so a rule your change carries has to be re-read by hand in the pages that restate it.
  • a key NAME is not a key, so the hand re-read the line above prescribes can land on the wrong schema. The same spelling is authorable on one governed type and a [REMOVED] tombstone on another for each of active, aria, joins, objects, template, tools and version (censused on [finding] tools is a key on BOTH AgentSchema (tombstoned, dead) and SkillSchema (live, cloud-attested), so a name-based search attributes skill examples to the agent key — it produced a false stop-the-line alarm on PR #19059 #19093 over the liveness ledger's governed types, top-level keys); nothing in a search result distinguishes the two, so a grep hit on a LIVE example reads as evidence about the DEAD key. Measured on fix(spec): the agent.tools liveness row says dead — it claimed live on a key the schema tombstoned #19059: content/docs/ai/agents.mdx was reported as contradicting the agent.tools tombstone over its tools: example at :161, which is inside the defineSkill({ block opened at :155 — the page was already correct. Settle ownership by PARSING the value against both schemas, never by the name: that literal PASSES SkillSchema, and as an AgentSchema it FAILS at tools with the tombstone prescription. ⛔ These names are not the whole class — a key retired through a .strict() guidance map leaves no tombstone in the walked shape and none of them here (tool.category, live as AIToolDefinition.category).

Coarse fallback — 174 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json 70194ffc656bbeba0c1c2c8059f56c648f4e00d6 → packageMentionDocs.

Which tree this was computed on

This run read content/docs from d19977b0193280712b1c2bcd092e34ab765b4d7a — the merge of head a262ef3653fc63479b6a59504d9ff88643d01d27 into base 70194ffc656bbeba0c1c2c8059f56c648f4e00d6, which is what actions/checkout gives a pull_request run. Not the PR head.

A worktree cut from an older main holds a different content/docs, so re-deriving there can legitimately return a different list — that is a different tree, not a wrong row. To answer on the same tree:

# while this PR is open — GitHub drops the merge commit once it closes
git fetch origin d19977b0193280712b1c2bcd092e34ab765b4d7a && git checkout d19977b0193280712b1c2bcd092e34ab765b4d7a
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 70194ffc656bbeba0c1c2c8059f56c648f4e00d6 a262ef3653fc63479b6a59504d9ff88643d01d27 && git checkout -B drift-repro 70194ffc656bbeba0c1c2c8059f56c648f4e00d6 && git merge --no-ff a262ef3653fc63479b6a59504d9ff88643d01d27

node scripts/docs-audit/affected-docs.mjs --json 70194ffc656bbeba0c1c2c8059f56c648f4e00d6

⚠️ That checkout carried uncommitted changes, so the commit above does not fully identify what was read.

Advisory only, and a precision-first one (#9192): a page is listed because it names a
symbol, wire route or SDK method this diff touched — not because it mentions a changed
package. Each row says which anchor put it there, so a wrong row is reportable rather than
merely annoying. To re-verify, run the docs-accuracy-audit workflow scoped to these files:
node scripts/docs-audit/affected-docs.mjs 70194ffc656bbeba0c1c2c8059f56c648f4e00d6 → pass the list as
args.docs, on the commit named under Which tree this was computed on.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

Final head · 2026-11-22T14:04Z · ec741d2c0882963dbc5ebad6ae2f7e93811c4628. CI is complete on this head: 61 success, 9 expected skip, 0 failed (os-dev-report 7079838003 on #36151). The area will not push again unless a review asks. A clean main sync before landing is the area's job.
Review owed:

  • L1 (l1-review-checklist.md, L1-d, requested through the seat) at this head.
  • The seat's CONTRACT_REVIEW_TIER L2 (schema face). Metadata-protocol: semantic: the published mobileMaxVisible describe no longer counts Edit on the phone record page. Clause-②: yes (widening): the optional more host slot on PageHeaderPhoneFace.
    Step 0 (ruling 7066516044 item 2) passed: all 36 field types the default record page draws editable open on one tap at 375 px and save.
    Landing order: this PR overlaps feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357 only on the generated scripts/sdui-manifest.record.json; whichever lands second regenerates it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jS7jCv5PH4ytECQWqf

L1 REWORK · head ec741d2c0882963dbc5ebad6ae2f7e93811c4628 · 2026-11-22T14:08Z

维护者速读

  • 用户能看到什么变化:手机上打开记录页,底部按钮条只放这个对象自己的动作,最多两个,撑满一行。对象没有自己的动作时,不再出现底部条,内容一直到屏幕底部。「编辑」挪进右上角的「更多」。电脑端不变。
  • 为什么做:卡 手机记录页底部按钮条只在有主要动作时出现;「编辑」不再占一个按钮,放进「更多」 #36151(手机端专题)。字段已经能点一下直接改,底部那个占位的「编辑」不再需要,把底部留给真正的业务动作。
  • 出错会怎样:手机用户可能找不到整条编辑的入口,或者看到一条空白的底部条。可以整体撤回,不涉及数据。
  • 要你做什么:无。
  • 席位意见:REWORK,只有 1 项:补一组验收截图,或者写明为什么换了对象。代码、测试、文档和「先逐个字段类型试过就地编辑」那一步,我读下来都是对的。

要改的(1 项)

  1. 卡上点名的 HotCRM 线索没有试,也没写为什么换。 卡的验收写的是:「打开一条有主要动作的记录(HotCRM 的线索,『确认线索』):底部只有这个动作,没有『编辑』」。正文「有动作」那一行用的是 showcase 的 Task([Log Time][Archive]),没有 HotCRM 线索,Acceptance notes 也没有说明为什么换。请二选一:

    • 在手机宽度下打开 HotCRM 线索,附改动前后的截图;
    • 或者在 Acceptance notes 里写明换成 showcase Task 的原因,并说明它证明的是同一件事:底部只有对象自己的动作,没有「编辑」,「更多」里有「编辑」。

    只改正文,不动代码(同 feat(record-page): the side preview opens 460 wide, puts the record's name first with one labelled action, and lists a child tab one row per record #36438 第 4 项)。

席位核对

  • 卡片关系:首行 Fixes #36151。卡上 5 条都交付了:

    1. 手机上 sys_edit 一律是 action:menu,不再占底部按钮;
    2. 底部只放对象的动作,预算还是 PHONE_ACTION_BAR_BUTTONS = 2 或作者写的 mobileMaxVisible,并且撑满一行;
    3. 没有动作时 toolbar 为空,宿主的底栏用 [&:has(>[role=toolbar]:empty)]:hidden 隐藏;
    4. 审批中的记录仍是通过、拒绝加它自己的 ⋯,顶栏这时不再画第二个 ⋯;
    5. 其余动作都在顶栏右端的 ⋯ 里。

    前置卡 记录的字段区统一成一列:右侧预览、手机记录页、宽屏左栏共用一个组件,不管多宽都只排一列;分组箭头在右 #36147 已关。卡上「没有核对的」第一条要求先试手机上的就地编辑:正文 Step 0 在 375 宽、模拟触屏下,逐个字段类型试过了,能编辑的类型都是点一下就打开、能保存。password、secret、html、richtext 这类在电脑上本来就不能就地编辑,正文写明了。前提核得充分。

  • 代码:

    • PageHeaderActions 的 moreInTopBar 分支:宿主给了 more 这个位置,就把 ⋯ 画过去,底栏只留按钮。没给的宿主保持原样,原来的钉子没动,仍然是绿的。
    • RecordDetailView 在顶栏的 frame 里挂了一个 span[data-record-phone-more]。
    • 「整条编辑」走的还是同一个 onEdit。
  • 声明:

    • Clause-②: yes (widening) 对:PageHeaderPhoneFace 加了一个可选的 more,没有删改。
    • Metadata-protocol: semantic 对:mobileMaxVisible 不写时,原来显示「编辑」加一个动作,现在显示两个页面动作;写了的话,只数页面动作。changeset 写明了。
    • Skills-docs 是 none — …:我在本 head 上 git grep 过 skills/,没有讲 mobileMaxVisible 或手机底栏的地方,属实。
    • 不是 !,也没有 (narrowing),不欠 dogfood。
  • changeset 与文档(逐句核):changeset 的五条和末尾两段,都和 diff 一致。mobileMaxVisible 的 describe、生成的 component.mdx、page.mdx 和手写的 pages.mdx 三处,都改成「手机底栏放页面自己的动作,编辑在顶栏的溢出菜单里」,说法一致。@objectstack/spec 写成 minor,是因为它是语义变化,我认。

  • 测试:

  • 截图:没有动作(Account)、有动作(Task)、审批(Project)三种情况都有改动前和改动后(浅色、深色)的截图,外加打开 ⋯ 的样子。HotCRM 线索见第 1 项。

  • 重叠:和 feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357 都会重新生成 scripts/sdui-manifest.record.json,后落地的那个重新生成即可。

  • 范围外:手机上的查找选择器里,选项预览带的记录链接点了会跳走。已报给席位,不在这里修。

  • CI @ ec741d2c:61 success、9 skipped、0 failed;mergeable clean;非受管。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Contract review

Served-tier: CONTRACT_REVIEW_TIER
Head-sha: ec741d2c0882963dbc5ebad6ae2f7e93811c4628
Local-runs: none
Scope: packages/spec/src/ui/component.zod.ts + ui/packages/components/src/renderers/layout/containers.tsx, ui/packages/components/src/renderers/layout/page-header-phone-context.ts, ui/packages/app-shell/src/views/RecordDetailView.tsx

Inputs read: card #36151 body and all 5 comments, PR #36478 body, file list (14 files) and net diff at this head, the 70 check-runs on this head (61 success, 9 skipped, 0 failed). Code outside the diff was read on main ff60149900 only to judge the scoped files.

① Derived judgments

  • Accept set of page:header mobileMaxVisible: unchanged. The schema line is still z.number().int().positive().optional(); only its describe text moves. The renderer's reader (readMax in PageHeaderActions) is untouched, so every value accepted before is accepted now and no value is newly refused. Nothing narrows. Right.
  • Meaning of mobileMaxVisible in the console's phone bottom bar: changed, and declared Metadata-protocol: semantic. Right kind. Read from the bar queue in containers.tsx (host buttons, then the primary, then the page's other actions, cut at the budget) together with sys_edit now carrying component: 'action:menu' whenever phonePage is true, the result per authored value on an editable record is:
    • unset or 2: was Edit plus one page action, now two page actions;
    • 1: was Edit alone with every page action in the More menu (released wording in @object-ui/components 18.6.0: "a budget of one is Edit's"), now the primary action alone;
    • n of 3 or more: was Edit plus n-1 page actions, now n page actions. The bar also loses its 44 px More button, so the row is no tighter than before.
      An author who wants the earlier count lowers the value by one. The one case with no numeric equivalent is an authored 1 (zero page actions inline), and that layout stays reachable per action through component: 'action:menu' or a record_more-only location, both unchanged. No authored source becomes invalid and no capability is removed at the consumer. Right.
  • ADR-0087: no conversion or semantic ledger entry is owed. The ADR's own text keeps the exemption for added, semantic and none; the rule being reversed (手机端记录页:底部操作栏里「编辑」被自定义动作挤进更多菜单;阶段条文字全部被截断 #34595) shipped without a ledger entry too; Lint · CI, release & engine gates and Check Changeset are green on this head. Right.
  • Public surface, @object-ui/components: PageHeaderPhoneFace gains optional more?: HTMLElement | null. A host that builds the context value without the key reads undefined, and moreInTopBar = barFace && phoneMoreSlot !== undefined keeps the legacy branch (the More button stays the bar's last button, outline, same classes). Widening only. Right.
  • Desktop row (face: 'row'): the only shared edits are comment text and the extraction of the overflow menu into a constant that the row branch renders unchanged. Right.
  • Docs and designer text: the spec describe, the generated references/ui/component.mdx, the designer input description in containers.tsx with its generated ui/components/page.mdx, and hand-written ui/pages.mdx all state the same new rule. releases/v15.mdx is release-owned and correctly left alone. Right.
  • Skills-docs line none with its reason: no file under skills/ names mobileMaxVisible on main. Right.

② Semver level

Clause-②: yes (widening), present line-initial in the PR body and in the changeset body, and it matches the diff (one optional member added to an exported interface; nothing removed, nothing required).
Metadata-protocol: semantic, present in both places. A kind other than none takes at least minor on each package the diff moves: the changeset carries @objectstack/spec minor, @object-ui/components minor, @object-ui/app-shell minor, which are exactly the three packages with source hunks. No BREAKING banner is owed because nothing is refused. The changeset body states the before and after of the budget in plain words. Level correct.

③ Boundary flags

  • open_questions in the os-dev-report: empty. Nothing to answer.
  • Dev deviation (first push preceded the first overlap check): process only, no effect on this head; the later overlap check found only the generated scripts/sdui-manifest.record.json shared with feat(spec,ui)!: every grid that renders editable selects a cell first, and object-grid singleClickEdit is retired #36357. Answered: second lander regenerates.
  • Card's unverified item (in-place edit per field type before Edit leaves the bar): the PR reports step 0 run on 36 types with none failing. This is the dev's reading, not re-run here; Live E2E UI and Build & E2E UI are green. Accepted as reported.
  • Out-of-scope finding (lookup picker chip navigates mid-edit on a phone): not part of this diff; owed a card by the seat.
  • SQL push-down: not applicable, the diff has no data read, id materialisation or join.

④ Design judgment

packages/spec/src/ui/component.zod.ts: the new describe holds against its first consumer. Default 2 in the phone bar and 1 elsewhere match PHONE_ACTION_BAR_BUTTONS and the isMobile fallback; "Edit is in the overflow menu at the top bar's right end" matches RecordDetailView (Edit is menu-only on phonePage, and the host mounts the slot in RecordTopBar's frame, which the top bar draws unconditionally in both of its layouts). The embedded phone drawer keeps phonePage false, so the "1 on any other header" clause and the host Edit taking no slot still hold there.

containers.tsx, tried to break:

  • Slot not yet mounted (more: null): no More button is drawn anywhere for that render; the host's state setter re-renders with the element. No double menu, no menu in the bar.
  • No inline action: the early return yields the portal alone, the host bar has no child and empty:hidden applies. With a state group that draws only the record row, the toolbar element exists but is empty, and the host's added :has rule on the bar hides it. Both hold.
  • Pending approval with leading levers: the state group does not render recordRow, so the top-bar portal is not rendered and the group's own menu (which receives Edit through menuOnly) is the only one. One menu per screen holds, and the approval bar is unchanged as the card requires.
  • Edit as a menu item: renderMenuItem goes through isActionDisabled, so the disableDuringInlineEdit gate and the declared off reason still apply to Edit in the menu, which matters now that a tap on a value opens an inline draft.
  • Host without the slot: legacy branch, pinned by the untouched tests in page-header-phone-bar-27058.test.tsx; Test UI shards green.

page-header-phone-context.ts: the jsdoc on more states the three cases (element, null, absent) exactly as the code reads them.

RecordDetailView.tsx: sys_edit is menu-only on phonePage in every state where it exists; the edit state replaces it with Cancel and Save, which stay host buttons in the bar. The context value passes more only on phonePage. Agrees with the card's five items.

No must-fix, no should-fix.

N1 (nit): the describe says the phone bar "holds the page's own actions", and the changeset says an authored value "counts the page's actions alone". Host buttons other than Edit still queue first and take slots: the approval queue's Claim, and the edit state's Cancel and Save. The jsdoc in containers.tsx and the PR body say this correctly; the describe and changeset simplify it. No value or rendering is wrong. Leave as an accepted deviation or a follow-up card; a fix in the describe would move this head.
N2 (nit): the changeset states the new meaning but not the one-line adjustment for an author who wants the earlier count (lower the value by one; for an authored 1, route actions to the menu per action). Optional wording for the release note.

Implemented-by: claude/issue-36151-phone-bottom-bar
Reviewed-by: session_01QsR2jTeURPvEm465RcoYEC

VERDICT: PASS

… migrating an authored mobileMaxVisible

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jRaJbQ4vqdv4J5peqA
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTeURPvEm465RcoYEC

Seat ruling (2026-11-22T14:29Z) on the card's acceptance example: option A. The bar budget stays as ruled (item 2, at most two of the page's own actions), so on the HotCRM lead 「转化线索」 shows beside 「确认线索」. The card's example is read as "no 编辑 in the bar", which this PR meets. No HotCRM card is filed, and the platform default is not changed.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

Delta head · 2026-11-22T14:58Z · 75f16a89de2d4fd1ed5ea69348f1aa99c9e5b3fc. CI is complete on this head: 63 success, 11 expected skip, 0 failed.
Delta since ec741d2c answers L1 REWORK 7080331417 and the CONTRACT_REVIEW_TIER L2 nits (a) and (b) in 7080341247. The code is unchanged; the commit touches the changeset only.

  • PR body (relay issue_patch, read back identical): HotCRM was run live at 375 px, zh-CN, on a New lead. The before bar was [编辑][确认线索][⋯]. The after bar is [确认线索][转化线索], with 编辑 in the top bar's ⋯. Shots are on claude/issue-36151-evidence (e9d8965c15), with an acceptance note and a two-minute check.
  • The card's example (「只有确认线索」) is read as "no 编辑 in the bar", per the seat ruling in comment 7080590563.
  • The changeset now says that host buttons (Claim, and Cancel/Save in the edit state) still take bar slots first. Its migration hint: lower mobileMaxVisible by one; an authored 1 now shows the primary; for zero inline actions, mark the actions component action:menu.
  • The L2 PASS carries: the spec describe text it read is unchanged since ec741d2c.
    Review owed: L1-d's delta at this head.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jS7jCv5PH4ytECQWqf

L1 ACCEPT(增量)· head 75f16a89de2d4fd1ed5ea69348f1aa99c9e5b3fc · 2026-11-22T15:01Z

维护者速读

  • 用户能看到什么变化:和上一轮一样。手机上打开记录页,底部按钮条只放这个对象自己的动作,最多两个,撑满一行。对象没有自己的动作时,不再出现底部条。「编辑」挪进右上角的「更多」。电脑端不变。
  • 你可能会注意到的一点:HotCRM 线索的底部现在是「确认线索」「转化线索」两个按钮,不是卡上验收写的「只有确认线索」。原因是卡上第 2 条定了「最多 2 个,沿用现在的规则」,「编辑」让出来的位置给了线索的下一个动作。如果线索页只要一个按钮,HotCRM 可以在线索页的 page:header 上写 mobileMaxVisible: 1,这是应用自己的选择,本 PR 不做。
  • 为什么做:卡 手机记录页底部按钮条只在有主要动作时出现;「编辑」不再占一个按钮,放进「更多」 #36151(手机端专题)。这一轮是对我的 REWORK 7080331417 的修改。
  • 出错会怎样:手机用户可能找不到整条编辑的入口,或者看到一条空白的底部条。可以整体撤回,不涉及数据。
  • 要你做什么:无。
  • 席位意见:ACCEPT。

增量核对(ec741d2c → 75f16a89,1 个提交,只改 changeset;正文更新)

  • 上一轮那一项已改:HotCRM 线索做了实测。 正文 Acceptance notes 写了在 HotCRM 689166c 上、375 宽、中文界面下的读数,记录是一条新线索(Noah Patel - Vertex Analytics):
    • 改动前:底部是 [编辑][确认线索][⋯];
    • 改动后:底部是 [确认线索][转化线索],没有「编辑」;右上角「⋯」里有「编辑」,其余动作也都在那里;
    • 为什么是两个按钮,正文写明了,见上面的速读。我认:卡上第 2 条是定了的规则,验收那句「只有这个动作」说的是旧底栏拿掉「编辑」之后的样子,两者以定了的规则为准。
    • 这一条是文字读数,没有附截图。卡要的截图是「三种情况」各一组,已经用 showcase 的 Account、Task、Project 附齐了(上一轮核过)。线索这一条正文还写明了 showcase Task 证明的是同一件事:底部只有对象自己的动作,没有「编辑」,「⋯」里有「编辑」。这满足上一轮给的两种做法。
  • changeset 新加的两句,我逐句核过:
    • 「宿主的按钮仍然先占底栏的位置:队列的『认领』,以及编辑状态下的『取消』『保存』」:和 containers.tsx 底栏的排法(先宿主按钮,再主要动作,再其余页面动作)以及它的 TSDoc(「a host button … takes a slot like any」)一致;
    • 迁移说明「想保留原来的页面动作个数,就把 mobileMaxVisible 减 1;原来写 1 表示只要『编辑』的,现在显示主要动作;想让底栏不放动作,就把页面动作标成 component: 'action:menu'」:和新的预算规则一致,action:menu 一律进溢出菜单也和 maxVisible 的说明一致。
  • 小问题,不阻塞:插入那句之后,紧跟着的「Its description in the spec, the designer and the docs says so」现在读起来也覆盖了宿主按钮那句。spec 的 describe 和 designer 的说明写的是「底栏放页面自己的动作、『编辑』在顶栏溢出菜单」,没写宿主按钮占位。下次碰到时把这句挪回宿主按钮那句前面即可。
  • 其余各项沿用上一轮在 ec741d2c 上的核对,这一轮没有动代码。Fixes #36151 成立。席位的 L2 PASS 7080341247 是在 ec741d2c 上做的,这一轮只改了 changeset 和正文,可以沿用。
  • CI @ 75f16a89:63 success、0 failed;mergeable clean;不在治理面。
  • 落地:非受管,由区 ready + auto-merge。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

Landing · 2026-11-22T15:38Z · head 1d81a3e4041b22db30777bbd98d3caf3a74820b2. This is a clean main sync of reviewed 75f16a89 through the relay pr_update_branch. The patch is the same, so L1-d delta ACCEPT 7080987643 stands, and CONTRACT_REVIEW_TIER L2 PASS 7080341247 (on ec741d2c, whose code 75f16a89 keeps) carries.

probe reading
check-governed-merges.mjs --pr 36478 NOT governed · +279 / −86 ≤ 3000
K (first-parent commits merge-base → origin/main) 32 at 75f16a89 ⇒ synced
check-runs @ 1d81a3e4 61 success, 9 expected skip, 0 failed; mergeable_state clean
L2 owed and PASS (7080341247)
ruling the card's example is read as "no 编辑 in the bar" (seat, 7080590563)
accepted the L1 nit on the changeset sentence order, left for the next edit

State: ready + auto-merge now. Fixes #36151 closes the card on merge.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 22, 2026 15:38
@github-actions

Copy link
Copy Markdown
Contributor

⛔ merge queue 构建失败 — 先分诊,再决定要不要重排

队列构建 45039497614 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集),
所以失败的测试可能在本 PR 没碰过的包里 —— 那不是重排能修的。每次盲目重排都会让排在后面的所有 PR 重建一轮。

分类:failure —— 按下面的日志分诊。

失败的 job(日志抽取,best effort):

  • Test UI (5/16) — 失败步骤: Run the ui tests (shard 5/16)

    × a phone draws the star beside the name, and its bottom bar's ⋯ holds no favorites entry 1198ms
    FAIL   dom  packages/app-shell/src/views/RecordDetailView.favoritesEntry-12427.test.tsx > record page: the favorite star beside the record name, none in the ⋯ (objectstack#36246) > a phone draws the s
      ↳ 失败原因: AssertionError: expected null to be truthy
    

↳ 失败原因 是判读的关键:超时(Test timed out in … / Hook timed out in …)多半是负载/时序,不是本 PR 的回归;
断言(AssertionError: …)才指向真实的行为改变。两者的 FAIL 行长得一模一样,只有这一行能区分。

⚠️ 断言这一侧有一类例外,判据是断言在测什么,不是它是不是 AssertionError。 断言的对象是产品行为(一个值、一个形状、一次拒收)⇒ 照上面读:真实的行为改变,去查,⛔ 不要重排掉;
断言的对象是这次实验自身的有效性前提(跑完的耗时、负载下的先后、任何只在时间预算内才成立的条件)⇒ 它跟超时是同一类,同样对负载敏感,重排一次是合法的判别手段。
识别是机械的:断言的消息或它比较的值本身点名了一段时长、一个时间戳、一个耗时计数。实测过的一对 —— AssertionError: SecurityPlugin.init() ran: expected false to be true 测的是产品行为(真回归);
AssertionError: this run took over a second, so second-precision stamps could have differed too: expected 1006 to be less than 1000 测的是实验前提:它守护的那条不变式当时是绿的,同一个 head 原样重排一次即成功。
穿着 AssertionError 外衣的时间测量,仍然是时间测量。(⛔ 这只改「怎么读一次红」,不改「哪些测试可以重排」——后者由别处管。)

跨 PR 相同签名(24h,按失败测试文件聚合):

  • packages/app-shell/src/views/RecordDetailView.favoritesEntry-12427.test.tsx — 24h 窗口内只有本 PR 撞到过,暂不汇总(再有一个不同 PR 撞到就会自动开汇总 issue)。
  • ⚠️ 24h 评论账本没读完(超过 5 页仍未读到窗口尽头),所以上面的「不同 PR 数」是下界,不是全量。

历史信号:

  • 本 PR 过去 24h 无队列失败记录(首次)。
  • 过去 24h 队列共有 3 个失败构建(不含本次)。

分诊清单:

  1. 失败测试在本 PR 改动的包里 → 真回归,修 PR。
  2. 失败测试与本 PR 无关 → 看上面的「跨 PR 相同签名」;已有汇总 issue ⇒ flaky/环境问题实锤,去那张 issue 上谈,修好前重排只会再烧一轮全队列。
  3. 两者都不是 → 可能与同组 PR 语义冲突;等前面的 PR 落地或失败出队后再重排一次即可,不要连续重排。

Generated by Claude Code · merge-queue-triage workflow (#4859)

…the changeset's More list drops Favorites

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QsR2jRaJbQ4vqdv4J5peqA
@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

Delta head · 2026-11-22T17:30Z · a262ef3653fc63479b6a59504d9ff88643d01d27. CI is complete on this head: 63 success, 11 expected skip, 0 failed, mergeable_state clean.
Why a new head: the merge queue ejected 1d81a3e4 (queue run 45039497614, Test UI 5/16). That was a semantic conflict with #36456, merged 15:41Z: #36456's phone case in RecordDetailView.favoritesEntry-12427 opens the bottom bar's ⋯ as its CONTROL, and this PR moves the page's ⋯ to the top bar. Root cause noted on #36515.
Range since 1d81a3e4:

  • fe9a1f11: main merged (with feat(app-shell): the record's favorite star beside its name, out of the header's overflow #36456), no text conflicts.
  • d524255a: content/docs/references/ui/component.mdx regenerated on the merged tree. Against main it differs only in this PR's own mobileMaxVisible describe line.
  • a262ef36 (2 files):
    • In favoritesEntry-12427, the phone case opens the top bar's ⋯ (CONTROL: Edit + Share). It still asserts that the menu holds no favorites entry, and that this is the page's only ⋯. The mount helper takes a ready selector.
    • The changeset's ⋯ list drops Favorites (the star sits beside the name).
  • PR body (relay issue_patch): the ⋯ lists, the two-minute check and the HotCRM after-reading now say that the favorites entry left the ⋯ with 记录页的收藏星标露在记录名旁边:现在收在「更多」菜单里(以 Attio 为准) #36246.
    No product file and no spec or describe line moved, so the L2 PASS 7080341247 carries (seat). Locally under the lock, the five record-page suites pass 65/65, app-shell type-check exits 0, and ui scripts/ passes 5127.
    Review owed: L1-d's delta at this head. No re-queue before it.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jS7jCv5PH4ytECQWqf

L1 ACCEPT(增量)· head a262ef3653fc63479b6a59504d9ff88643d01d27 · 2026-11-22T17:32Z

维护者速读

增量核对(75f16a89 → a262ef36:两次合入 main,d524255a 重新生成,a262ef36 改一个测试和 changeset 一行)

  • PR 自己的 diff 只动了两个文件。 我把 75f16a89 和本 head 各自对它的合并基点取 diff,逐个文件比较每一行改动。15 个文件里,只有 changeset 和 RecordDetailView.favoritesEntry-12427.test.tsx 不同。component.mdx 和 sdui-manifest.record.json 本 PR 自己那几行和上一轮一样,d524255a 只是在合并后的树上重新生成。产品代码和 spec 都没动,所以席位的 L2 PASS 可以沿用。

  • changeset 那一行:「⋯」的清单从「Edit、放不下的动作、Refresh、Favorites、Share、Delete」改成去掉 Favorites,并说明收藏是名字旁边的星。我对过合并后的 RecordDetailView.tsx:sys_favorite 只在打印页(pageDeclaresPrintOf(assignedPage))才加进「⋯」,和这句一致。正文第 5 条、两分钟检查和截图说明也都改了:截图是在 feat(app-shell): the record's favorite star beside its name, out of the header's overflow #36456 落地之前拍的,打开的「⋯」里还有「添加到收藏」,正文写明了。

  • 收藏测试按合并后的语义改,我认。 这条是 feat(app-shell): the record's favorite star beside its name, out of the header's overflow #36456 带进来的,原来在手机上找底部条的 ⋯。本 PR 之后,这个测试夹具的对象没有自己的动作,所以底部条是空的,⋯ 在顶栏右端的 data-record-phone-more 里。改后的测试:

    • mountRecordPage 多一个 ready 选择器,手机用例等顶栏的 ⋯ 出现,而不是等一个已经不存在的底部 toolbar;
    • 对照:底部条 childElementCount 为 0;整页只有一个「More actions」按钮,也就是顶栏那一个;打开它,里面有 Edit 和 Share;
    • 断言:里面没有任何「…favorites」的条目;名字旁边只有一颗星,点一下就存进收藏。

    每条断言都和合并后两边的代码一致:本 PR 的顶栏 ⋯ 加上 feat(app-shell): the record's favorite star beside its name, out of the header's overflow #36456 的星。电脑端的两条用例没改。

  • 这是 Queue-flake anchor: packages/app-shell/src/views/RecordDetailView.favoritesEntry-12427.test.tsx #36515 合并队列里和 feat(app-shell): the record's favorite star beside its name, out of the header's overflow #36456 冲突的根源。正文在 a262ef36 上的读数包含 favoritesEntry-12427、phoneFace-27058、recordPageTiers-26678 等套件,本 head 的 CI Test UI 各片都是绿的。

  • 其余各项沿用上一轮在 75f16a89 上的核对。

  • 面上的旗:PR 已经是 ready(之前为落地翻过,已从队列移出),l1-face 的 shape 旗是这个原因,不是问题。

  • CI @ a262ef36:63 success、11 skipped、0 failed;mergeable clean;不在治理面。

  • 落地:非受管,由区重新入队。

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#7 · zhuangjianguo · session_01QsR2jRaJbQ4vqdv4J5peqA

Re-landing · 2026-11-22T17:33Z · head a262ef3653fc63479b6a59504d9ff88643d01d27. This head fixes the #36456 semantic conflict that ejected 1d81a3e4 from the queue (#36515). L1-d delta ACCEPT 7082929536 is at this head. The CONTRACT_REVIEW_TIER L2 PASS 7080341247 carries: no product file and no spec or describe line moved (seat).

probe reading
check-governed-merges.mjs --pr 36478 NOT governed (unchanged file list beyond the test, changeset and regenerated reference)
K (first-parent commits merge-base → origin/main) 7 ⇒ no sync
check-runs @ a262ef36 63 success, 11 expected skip, 0 failed; mergeable_state clean

State: auto-merge again now. Fixes #36151 closes the card on merge.

@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 22, 2026
Merged via the queue into main with commit 0b2118f Nov 22, 2026
74 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-36151-phone-bottom-bar branch November 22, 2026 18:09
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 23, 2026
…, and object-grid singleClickEdit is retired (objectstack-ai#36357)

<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Steedos** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9Ubb2rJZB694pnkwLCMmCEJ3ev)_

Fixes objectstack-ai#36270

repo:objectstack#7 · zhuangjianguo · session_01QsR2jSHfkSrXZxbdWoQxnW

Clause-②: no (narrowing)
Metadata-protocol: narrowed
Skills-docs: none — skills/ never names singleClickEdit,
keyboardNavigation or object-grid's editing gestures (git grep at the
head)

## 维护者速读

- 用户看到的变化:所有「可编辑」的表格(对象视图自己画的表格、页面里放的 object-grid
表格,和列表页一样)都改成「先选中、再编辑」:单击选中单元格,双击、回车、F2 或直接打字进入编辑,改完一格立刻保存;「全部保存 /
全部取消」那条保存栏不再出现。不可编辑的表格不变,单击仍然打开记录。元数据里的
`singleClickEdit`(单击即编辑)作废:写了会报错并提示删掉,`os migrate meta` 能自动删除。
- 为什么:按您的裁定 A「统一新编辑方式」。新方式里单击是「选中」,`singleClickEdit` 已经没有可切换的东西,按
ADR-0049「要么执行、要么删除」退役;`keyboardNavigation` 的说明也改成实际行为(可编辑表格上方向键导航始终开启)。
- 最坏情况:有人在页面元数据里写了
`singleClickEdit`,升级后该页面校验失败,需要删掉这个键(提示里写明了怎么做,迁移工具可自动删);或者某张可编辑表格的使用者习惯了单击就编辑,现在要多一次双击。本仓、hotcrm、gallery
中没有任何地方写过这个键。
- 需要您做的:无(L2 由席位在最终提交上做)。

## What changes

The ruling A on objectstack-ai#36270 (record 7076617499): one editing model. Every
grid that renders editable uses the list page's select-first cell model,
and the key that only made sense in the old model is retired.

- **`ui/packages/plugin-grid/src/ObjectGrid.tsx`** (the one behaviour
hunk): `hostCellSelection = cellSelectionProp ?? inlineEditable`. Absent
a host's `cellSelection`, a grid that renders editable (`editable` AND
the object's inline-edit verdict AND the reader's `update` grant) is
select-first; a read-only grid keeps click-to-open. A host's `true`
(`ListView`, the related tab) or `false` still wins. The data table is
handed `singleClickEdit: true` unconditionally: it is inert under
select-first, and it is the staged model's old default for a host that
passes `false`.
- **`@objectstack/spec`**:
`ComponentPropsMap['object-grid'].singleClickEdit` is a `retiredKey()`
tombstone; D2 conversion `object-grid-single-click-edit-removed` (strip,
whatever the value; order 83), D3
`object-grid-single-click-edit-retired`, `RETIRED_KEYS_BY_MAJOR[18]` row
`ui/ObjectGridProps:singleClickEdit`, a `STEP18_RATIONALE` fragment
(order 123), ledger `page.json` regions note [122] plus the narrowed
[43]. `keyboardNavigation`'s describe narrows to what is enforced:
always on for a grid that renders editable, `true` turns it on for a
read-only grid.
- **`@object-ui/types`**: `ObjectGridSchema.singleClickEdit?: never`
with a `retirementTombstone()` zod twin; the `object-view` `table` slot
inherits it (`TABLE_INHERITED_TOMBSTONES`, as `defaultSort`).
`DataTableSchema.singleClickEdit` (host-paired) is unchanged.
- **`@object-ui/plugin-view`**: `table.singleClickEdit` leaves
`OBJECT_VIEW_TABLE_RELAY_KEYS`. The earlier host-level `cellSelection`
spread is gone: `ObjectGrid`'s default covers the object-view grid,
authored nodes and react pages in one place.
- **`object-grid` inputs, `sdui.manifest.json`,
`content/docs/ui/components/*`**: the `singleClickEdit` input is gone
and the `editable` / `keyboardNavigation` descriptions say what the grid
does. Docs and READMEs (`plugin-grid.mdx`, `plugin-view.mdx`, both
packages' READMEs) describe select-first everywhere and the staged model
as a host's `cellSelection={false}`.
- BREAKING changeset
`.changeset/36270-object-grid-single-click-edit-retired.md`
(`@objectstack/spec` minor plus the three ui packages), with the FROM →
TO table and `<!-- adr-0087: registered … -->`.

## The card's Done-when: the five grid families

- **The object-view grid** (Studio view preview, a page placing an
`object-view`) and **the authored `object-grid` node**: changed here.
Pinned by `ObjectView.perCellSave-36270.test.tsx` and
`authoredGridPerCellSave-36270.test.tsx`, with the ablation below.
- **The related tab**: already select-first. `RelatedList.tsx` passes
`cellSelection: true`, pinned by `RelatedList.tab-35892.test.tsx`;
unchanged.
- **The record picker and the designer grids** (`RecordPickerDialog`,
`ObjectManager`, `FieldDesigner`): they render `ObjectGrid` without
`editable`, so they are read-only and unchanged.
- **Dashboard tables**: they are `data-table` / `object-data-table`
nodes, not `ObjectGrid`, and have no save path. The card's
dashboard-table pin therefore has no subject: there is no editable
dashboard grid to pin. A bare `data-table` that a host hands `editable`
still stages edits and draws its bar; that is the table primitive, which
no in-repo grid host reaches.
- So every grid that renders editable through `ObjectGrid` selects a
cell first, and no in-repo host passes `cellSelection={false}`.
- **The card's second Read-first question** (a child list inside a
parent form saved together, objectstack-ai#35590): no in-repo host draws such a list
through an editable `ObjectGrid`. The form's line items are the
`GridField` widget, which this PR does not touch, and no in-repo host
passes `cellSelection={false}` or its own `onBatchSave`. So no
saved-together list loses its staging here.
- **A React host's `onBatchSave`**: a host that passes `onBatchSave`
alone on an editable `ObjectGrid` now has it bypassed (each cell writes
through `onRowSave` or the grid's own `dataSource.update`). No in-repo
host passes it. The changeset carries a FROM → TO row for it and
`ObjectGridComponentProps.onBatchSave` is marked `@deprecated`.

## Tests

- New: `packages/spec/src/ui/object-grid-single-click-edit.pin.test.ts`
(tombstone at both channels for `true` / `false`, `editable` control,
the narrowed describe, the conversion's delete and its controls, the
step-18 wiring), `object-grid-single-click-edit-retirement.test.ts`
(tree-scoped absence, `repo` project),
`ui/packages/plugin-grid/src/__tests__/authoredGridPerCellSave-36270.test.tsx`
(an authored editable node saves one cell with no Save All; read-only
and host-`false` controls), and the earlier
`ObjectView.perCellSave-36270.test.tsx`.
- Migrated to the enforced contract:
`ObjectGrid.keyboardNavigation-11068.test.tsx` (editable grids read the
select-first pattern and `false` no longer turns it off; a host
`cellSelection={false}` control keeps the old roving-focus reading),
`ObjectGrid.cellSelection-35684.test.tsx`,
`rowContextMenu-28434.test.tsx`, the types slot/round-6 tests, the
ObjectView relay test.
- 25 plugin-grid inline-edit files that pin the staged path now pass
`cellSelection={false}` and no longer author `singleClickEdit`; two that
passed `cellSelection={x || undefined}` pass `cellSelection={x}` (under
the new default `undefined` means select-first).
- `retired-key-removal-version.pin.test.ts` joins the new conversion.

## Acceptance notes

- Select-first only where a grid renders editable, per the ruling;
read-only grids keep click-to-open (pinned by the controls above).
- `Clause-②: no (narrowing)`: the house spelling for a retirement; the
seat re-amended the claim to it (7077058264).
- Census of authored `singleClickEdit` in this repository's examples,
hotcrm and gallery: zero, so the conversion is for stored rows and
outside authors.
- `check-governed-merges --pr 36357`: NOT governed (0 of 60 paths),
1,355 changed lines, under the 3,000 human-merge threshold.
- With objectstack-ai#36332 (seat delta review 7077725274): once both land, a touch
never edits in place on any editable grid. The one exception is a host
that passes `cellSelection={false}`, which keeps the staged
click-to-edit, so there a touch edits in place. Whichever of the two
lands second re-runs overlap-check against the other's head.
- objectstack-ai#35827 (retire `onBatchSave`) is unblocked by this: no authored or
ObjectView grid reaches the batch save any more; only a host's explicit
`cellSelection={false}` does.

## Verification

Two-minute check: author `{ "type": "object-grid", "properties": {
"objectName": "<any>", "editable": true } }` on a page; click a cell (it
is selected, nothing opens), press Enter, type, press Enter: the value
saves at once and no "Save All" bar appears. Add `"singleClickEdit":
true`: the page refuses it with the prescription.

Files to read first, by risk:
`ui/packages/plugin-grid/src/ObjectGrid.tsx` (two hunks),
`packages/spec/src/ui/component.zod.ts`,
`packages/spec/src/conversions/entries/18/object-grid-single-click-edit-removed.ts`,
`ui/packages/types/src/zod/objectql.zod.ts`.

<details><summary>Local runs (final head 493b6a0)</summary>

Final head `493b6a01` = `2bd02429` plus a merge of main `0b2118f4` after
objectstack-ai#36478 landed (`719e8674`: main's side of
`scripts/sdui-manifest.record.json`, and `component.mdx` regenerated
with main's new `mobileMaxVisible` describe), then the regenerated
manifest record (`493b6a01`, one `sha256` line). No rebase.

- Dogfood battery on head 493b6a0: os-verify-lock `VERDICT command-exit
0` · `Test Files 485 passed | 3 skipped (488) · Tests 4108 passed | 68
skipped (4176)`, no failures.
- Derived gate families on 493b6a0: 132 run, 0 NOT-MEASURED, every exit
0. `check-sdui-manifest` intact; `check-regen-pending` clear.
- `overlap-check` on 493b6a0: clean against main `43916f3a` and every
open PR sharing files.
- CI at 493b6a0: 61 success, 9 skipped, 0 failed.

Runs at 2bd0242:

Final head `2bd02429` = a merge of `67fe4551` and main `dda5e74f`, made
after the merge queue dropped the PR on a conflict in the generated
`content/docs/references/ui/component.mdx`. The merge's only own change
is that file, regenerated (main's new `showStar` describe). The code
auto-merged, and `check-regen-pending` reports every deferred artifact
current.

- Dogfood battery on 2bd0242 (superseded by the run on 493b6a0 above):
os-verify-lock `VERDICT command-exit 0` · `Test Files 485 passed | 3
skipped (488) · Tests 4108 passed | 68 skipped (4176)`, no failures.
- Derived gate families on 2bd0242: 132 run, 0 NOT-MEASURED, every exit
0.
- `overlap-check` on 2bd0242: clean against main `70194ffc`; the known
conflict with draft objectstack-ai#36478 on `scripts/sdui-manifest.record.json`
stands.

Runs at 67fe455:

Final head `67fe4551` = `4e94a273` plus the S4 changeset fix (the touch
sentence, and one comment's wording). That commit changes only the
changeset and that comment.

- Dogfood battery on head 67fe455 (`pnpm --filter @objectstack/dogfood
test`, closure built under the lock): os-verify-lock `VERDICT
command-exit 0` · `Test Files 485 passed | 3 skipped (488) · Tests 4108
passed | 68 skipped (4176)`, no failures.
- Derived gate families on 67fe455: 132 derived; `--ran` reconciles 132
run, 0 NOT-MEASURED, every exit 0.
- `overlap-check` on 67fe455: clean against main; one conflict with
draft objectstack-ai#36478 in `scripts/sdui-manifest.record.json` (the regenerated
manifest record both PRs carry): whichever lands second merges main and
regenerates it.

`4e94a273` = the review rework (`3894ea44`: TSDoc and comments,
`onBatchSave` `@deprecated`, changeset rows, docs) plus a merge of main
after objectstack-ai#36332 landed (no rebase, no conflicts).

- Dogfood battery on 4e94a27 (superseded by the run on 67fe455 above)
(`pnpm --filter @objectstack/dogfood test`, closure built under the
lock): os-verify-lock `VERDICT command-exit 0` · `Test Files 485 passed
| 3 skipped (488) · Tests 4108 passed | 68 skipped (4176)`, no failures.
- Derived gate families on 4e94a27: 132 derived; `--ran` reconciles 132
run, 0 NOT-MEASURED, every exit 0 (also 132/132 exit 0 on `3894ea44`
before the merge).
- After the merge: `@object-ui/plugin-grid` `Test Files 305 passed ·
Tests 2705 passed`; `@object-ui/plugin-view` `Test Files 67 passed ·
Tests 732 passed`. `type-check` for `@object-ui/types` and
`@object-ui/plugin-grid` exit 0 on `3894ea44`.
- `overlap-check --exclude-pr=36357` on 4e94a27: clean against main and
the eight open PRs sharing files (objectstack-ai#36439, objectstack-ai#36438, objectstack-ai#36435, objectstack-ai#36411,
objectstack-ai#36392, objectstack-ai#36351, objectstack-ai#36343, objectstack-ai#36316). objectstack-ai#36332 is merged and is in this head.

Earlier runs (head 579f99a; suites on 1c2a16b):

- `@object-ui/plugin-grid` whole package: `Test Files 298 passed | 3
failed (301) · Tests 2676 passed | 6 failed`; the 6 (keyboardNavigation
×4, cellSelection ×1, rowContextMenu ×1) were fixed and those three
files re-run green (8 + 28 + 18).
- `@object-ui/plugin-view` whole package: `Test Files 67 passed (67) ·
Tests 732 passed (732)`. `@object-ui/types`: `Test Files 389 passed ·
Tests 10498 passed`.
- `type-check` for `@object-ui/types`, `@object-ui/plugin-grid`,
`@object-ui/plugin-view`: exit 0.
- `@objectstack/spec` test under the verify lock: 1 failed of 27,924
(`retired-key-removal-version.pin`, the JOIN row this PR then added;
that file re-run 63 passed). `test:repo`: `Test Files 93 passed · Tests
1564 passed`.
- Derived gate families (`dispatch-gates --commands`): 132 derived;
`--ran` reconciles 132 run, 0 NOT-MEASURED. Six first read exit 3 on a
stale spec dist and `check:generated` exit 1 on the same stamp; after
`pnpm --filter @objectstack/spec build` all seven re-ran exit 0.
`check-plugin-teardown-shape --self-test` needed its pinned fixture
commit fetched into the shallow clone, then exit 0.
- `node scripts/gen-sdui-manifest-node.mjs` under the lock, then
`gen-sdui-reference.mjs`; `check-doc-component-types.mjs` green.
- `overlap-check --exclude-pr=36357`: clean against main and the six
open PRs sharing files (objectstack-ai#36392, objectstack-ai#36380, objectstack-ai#36351, objectstack-ai#36343, objectstack-ai#36332, objectstack-ai#36316).
- Earlier dogfood battery on 1c2a16b (superseded by the run on 4e94a27
above): `Test Files 484 passed | 3 skipped (487) · Tests 4107 passed |
68 skipped (4175)`. The one commit after it (579f99a) touches two docs
snippets only.
- `pnpm --dir ui check:doc-snippets` after a scoped build: 544 of 544
blocks judged, 0 failed (the Lint UI red on 1c2a16b was the new
staged-model snippet missing its import, fixed in 579f99a).

</details>

<details><summary>Ablation (`scripts/ablation-replace.mjs`, restored to
the HEAD blob, `git diff HEAD` empty)</summary>

- `cellSelectionProp ?? inlineEditable` → `cellSelectionProp` (the
base's behaviour): 3 failed of 6 — the object-view `table.editable` and
named-view `inlineEdit` per-cell saves and the authored-node per-cell
save; the three controls (read-only object-view, read-only node, host
`false`) stay green.

</details>

---
_Generated by [Claude
Code](https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW)_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01QsR2jSHfkSrXZxbdWoQxnW

<!-- signed: repo:objectstack#7 · zhuangjianguo ·
session_01QsR2jSHfkSrXZxbdWoQxnW -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
247257110 pushed a commit to 247257110/objectstack that referenced this pull request Nov 23, 2026
… rating (objectstack-ai#36043) (objectstack-ai#36392)

<!-- claude-projects-attribution: {"github_login":"zhuangjianguo"} -->
_Requested by **Steedos** · [project
thread](https://claude.ai/code/project/chan_018ETKaNwMZCNRYD7D8Q9Ubb?thread=cmsg_018ETKaNwMZCNRYD7D8Q9UbbCxiFE11rsKwyNffJZKYqJs)_

Fixes objectstack-ai#36043

repo:objectstack#7 · zhuangjianguo · session_01QsR2jTbWpneBrqq7SJvrNt

Clause-②: yes (widening)
Metadata-protocol: semantic
Skills-docs: none — no skill names the inline grid column `type` values
or keys (`git grep` of `skills/` for `inlineColumns` and the column type
list: one passing mention in `objectstack-data/rules/relationships.md`,
which lists no types)

## 维护者速读

-
表单里的明细表(主从表单的行项目表格)中,人员格子可以直接搜索选人,多选格子可以选多个选项,标签格子可以加标签,勾选格子是复选框,评分格子是星星;以前这些都是普通文本框,人员要手填用户编号,多选只能填一个值。
- 属于列表页重做专题的单元格编辑那一组,替在主从表单里录入明细行的用户解决「人员、多选填不进去」的问题。
-
已有表单的明细表会直接变样:布尔字段从「是/否」下拉变成复选框,评分字段从数字框变成星星;作者在列上明确写了类型的不受影响;出错时最坏是这几类格子不好用,已存的数据不受影响,可直接撤回。
- 无

## What changes

The card's words map onto the enum by the spec's existing rule that
every column type is spelled as its namesake field type (the
`inline-grid-column-carriers` probe and the `field.json` liveness note
rely on it): people = `user`, multi-select = `multiselect`, tags =
`tags`, check = `boolean`, rating = `rating`.

**Spec (`packages/spec/src/data/field.zod.ts`).**
`InlineGridColumnSchema.type` gains `user`, `multiselect`, `tags`,
`boolean` and `rating` (nine → fourteen). The column gains one optional
key, `max`: the star count of a `rating` cell (default 5), because a
column carries no field definition and a `max: 10` rating would
otherwise draw five stars. `options` and `multiple` describe what the
new cells read from them. `inline-grid-columns.ts`
(`deriveInlineGridColumns`' cell-type mirror) maps the same way, and
each new cell type keeps the fill priority its field types had before,
so which derived columns are visible by default does not change (the
existing budget pins stay green unchanged). Liveness ledger: the `type`
note lists fourteen types, and a `max` child row. Regenerated: reference
docs, `authorable-surface/data.json` (one new key), liveness state
counts.

**Derivation (`ui/packages/plugin-form/src/deriveMasterDetail.ts`).**
`fieldTypeToColumnType` maps `user` → `user`, `multiselect` /
`checkboxes` → `multiselect`, `tags` → `tags`, `boolean` / `toggle` →
`boolean`, `rating` → `rating`. A derived or hydrated column carries
`multiple` from a multi-person field, `max` from a rating field, and the
child's options on `multiselect` columns. A `tags` column takes no
options: its cell holds free-form tags and reads no option list. A
`boolean` column keeps the two options it carried as a select (`'true'`
/ `'false'`, labelled with the session's words through `booleanLabel`):
they are the words its read-only and list-mode cells read as, so
`booleanLabel` stays live. A column that declares its `type` is left
alone, as before.

**Cells
(`ui/packages/fields/src/widgets/grid-field/GridFieldWidget.tsx`,
`gridCellPanels.tsx`).** The cells reuse the main list's in-cell faces
rather than forking them:

- `GridPanelCell` (new, beside S5's `GridSelectCell`) is a panel shell
under the cell that hosts a widget's own `inCell` face over a draft: a
click outside or Tab writes the draft, Esc writes nothing, and a face
that ends on one pick calls `commit`. The cell keeps drawing its value
while the panel is open.
- `multiselect` hosts `MultiSelectField inCell`, `tags` hosts `TagsField
inCell`, and `user` hosts `UserField inCell` (the main list's person
picker: searchable list, recents, Clear; a single pick writes and
closes).
- `boolean` is the `Checkbox` primitive (click / Space), writing `true`
/ `false`.
- `rating` draws `RatingField inCell` (a click on a star sets it); a
digit key on the cell sets that many stars, 0 clears, a digit above
`max` does nothing.
- Read-only table and list mode: people by name (`UserField readonly`),
a rating as its stars, a multi-select's option labels, a check cell as
its option word (else the session's yes/no word).
- A required cell holding an empty list (multi-select, tags, several
people) reads invalid, as an empty scalar does.
- A multi-select, tags or several-people cell that is emptied writes
`null`, not `[]`: the save path counts only `null` / `''` as blank
(`isBlankRow`), and a cleared multi-value field stores `null` elsewhere
too. An emptied cell reads `—`.

Item 2 of the card (interim read-only columns) is not built: the seat
reads it as superseded once item 1 ships, and this PR ships item 1.

**Visible change on existing master-detail forms** (named in the
changeset): a derived `boolean` / `toggle` column is a checkbox instead
of the yes/no select and writes booleans instead of the strings `'true'`
/ `'false'` (the server's write normalisation reads both the same); a
derived `rating` column is stars instead of a number box; `user`,
`multiselect`, `checkboxes` and `tags` columns are no longer plain text
boxes.

## Tests

- `ui/packages/fields/src/widgets/GridField.test.tsx`, new top-level
`describe` "the cells that edit as in the main list": multi-select
(labels, several picks staged then written on leaving, Esc writes
nothing, empty list reads invalid when required), tags (a new tag added
from the list, Tab writes and moves to the next cell), check (checkbox
over `true` and `'false'`, click writes a boolean, read-only reads the
option word), rating (five stars by default, a click sets, digit keys
set and 0 clears, a digit above the stars sets nothing, `max: 10` draws
ten), people (the person picker opens under the cell; its Clear writes
and closes). An emptied multi-select and an emptied tags cell each write
`null` (both pins go red with the fix taken out), and the emptied tags
cell reads `—`.
- `ui/packages/plugin-form/src/deriveMasterDetail.test.ts`: the five
mappings with their neighbours as controls; a new `describe` pinning the
extras on both the derive and the hydrate path (`multiple`, options on a
multi-select and none on a tags column, the check column's two words,
`max` from the field and none when the field declares none), and that an
authored column, a `type: 'select'` over a boolean field included, keeps
its type and extras.
- `deriveMasterDetail.booleanOptions-12924.test.tsx`: the derived
boolean column is now `type: 'boolean'` with the same two
session-language options; the editable grid pins read checkbox states
instead of picker text; the language-switch pin now re-labels the
read-only table (the editable check cell shows no word).
- `MasterDetailForm.lateCatalogue-12924.test.tsx`: the late-catalogue
re-label is read where the grid still draws a boolean's word, a second
detail in `inlineMode: 'form'`; the editable `Lines` detail keeps the
unsaved edit and its checkboxes through the catalogue landing.
- `deriveMasterDetail.inlineGridColumns-11345.test.ts`: the "output
unchanged" corpus moves its one derived boolean column (`gift`) from
`select` to `boolean`, marked where it sits; nothing else in the corpus
moves.

## Deviations

Four files outside the claim's surface, each a direct consequence of the
widening. Seat 7 counts them inside the card.

- `packages/metadata-core/src/object-schema-fls-references.ts`:
`INLINE_COLUMN_POSITIONS` classifies the new `max` key as `keep` (a
number, never a field name). `object-schema-fls-references.test.ts`
refuses an unclassified `InlineGridColumnSchema` key, so it was red in
Test Core 3/10 at `10767ef3`.
- `ui/packages/types/src/__tests__/strict-face-read-keys-11070.test.ts`:
the refused-column-type row used `boolean`, which is now a cell type, so
it moves to `toggle`, which is still refused. It was red in Test UI
12/16 at `10767ef3`.
- `ui/packages/types/src/form.ts`: a docblock no longer counts "nine"
cell controls.
- `content/docs/data-modeling/field-types.mdx`: the inline grid bullets
list the fourteen cell types and the checkbox booleans, and add the
people, multi-select, tags and rating cells.

The changeset adds `'@objectstack/metadata-core': patch` and
`'@object-ui/types': patch` for the first two packages.

## Acceptance notes

- A click outside a multi-select / tags / people panel writes through
the popover's own dismiss (`onOpenChange`). The jsdom pins leave the
panel through Tab, because that harness's pointer events do not reach
the dismiss. The click outside is measured live below.

## Live click-through

Showcase app (`objectstack dev --seed-admin`, fresh database) plus the
Console from source (Vite), Chromium through Playwright. To host the
three cells, the run added, without committing, `inlineEdit: 'grid'` and
`inlineColumns` (`name`, `f_multiselect`, `f_tags`, `f_users`) to
`showcase_field_zoo.f_master_detail`, and a `fieldGroups` entry placing
that child on `showcase_project`. The edits were reverted afterwards.
Project "Website Relaunch", Edit, row 0 of the zoo grid. "Outside" is a
click on the dialog's "Edit Project" heading.

| Step | Multi-select | Tags | People (multiple) |
| --- | --- | --- | --- |
| Stored before | `["red","green"]` | `["alpha","beta"]` | `null` |
| Pick | Blue | type `gamma`, Enter | Dev Admin |
| Panels open after the click outside | 0 | 0 | 0 |
| Cell after the click outside | Red, Green, Blue | alpha, beta, gamma |
Dev Admin |
| Stored after Update | `["red","green","blue"]` |
`["alpha","beta","gamma"]` | `["<Dev Admin's user id>"]` |
| Cell after a page reload and Edit again | Red, Green, Blue | alpha,
beta, gamma | Dev Admin |
| Emptied, click outside, Update: cell / stored | — / `null` | — /
`null` | not run |

The run found one defect, fixed in `2197dbdd`: an emptied tags cell drew
nothing instead of `—`. The display helper now reads an empty list as
empty for every type. It is pinned in `GridField.test.tsx`, and the
final row above was read with the fix served.
- `rating` cells keep `RatingField`'s one button per star, so Tab visits
each star; the arrows and digit keys work from any of them.

## Verification

Final head `6185caed`. It adds three commits to `f73a4351`:

- `6e74cfe0`: the review rework. Metadata-protocol is `semantic`; a
`tags` column takes no options; an emptied multi-value cell writes
`null`; the stale "twenty keys" and liveness prose is fixed.
- `2197dbdd`: the emptied tags cell reads `—`, found by the live run.
- A merge of `origin/main` at `07b17542` (objectstack-ai#36523, objectstack-ai#36478, objectstack-ai#36522,
objectstack-ai#36514, objectstack-ai#36508), and `6185caed`, which regenerates
`content/docs/references/ui/component.mdx` from the merged tree. The
merge had taken that page's `mobileMaxVisible` line from one side.

Checks at the final head:

- `dispatch-gates --ran` at `6185caed`: 120 derived families accounted
for, 120 run, 0 NOT MEASURED, every one exit 0. That includes
`check:generated` and `check:liveness` after a spec rebuild, and `pnpm
--dir ui exec vitest run scripts/` run alone under the verify lock.
- `ui/packages/fields/` + `ui/packages/plugin-form/` (whole packages) at
`6185caed`: 567 files, 7,629 tests passed, 8 skipped.
- The new pins were ablated: both "emptied, it writes null" pins and the
tags `—` pin go red with their fix taken out.
- `overlap-check` at `6185caed`, verdict read before the push. It merges
cleanly with `origin/main` `a10987ae` and with 6 of 7 open PR heads.
objectstack-ai#36543 conflicts only in `packages/spec/liveness/state-counts/field.md`,
a generated count: whichever lands second regenerates it with
`gen:liveness-counts`, not a hand merge.
- Earlier heads: at `10767ef3`, `pnpm --filter @objectstack/spec test`
(871 files, 27,909 tests) and `test:repo` (92 files, 1,562 tests)
passed. CI was green at `f73a4351`.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01QsR2jTbWpneBrqq7SJvrNt)_

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01QsR2jTbWpneBrqq7SJvrNt

<!-- signed: repo:objectstack#7 · zhuangjianguo ·
session_01QsR2jTbWpneBrqq7SJvrNt -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:ui size/m tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

手机记录页底部按钮条只在有主要动作时出现;「编辑」不再占一个按钮,放进「更多」

2 participants