Skip to content

feat(studio): the Form tab becomes Field layout, edits field groups only, and arranges an installed object into its .custom pair - #36888

Merged
objectstack-fleet[bot] merged 8 commits into
mainfrom
claude/issue-36505-field-layout-tab
Nov 24, 2026
Merged

objectstack-fleet[bot] merged 8 commits into
mainfrom
claude/issue-36505-field-layout-tab

Conversation

@objectstack-fleet

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

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Fixes #36505

Clause-②: no
Metadata-protocol: none

维护者速读

  • 管理员在 Studio 对象页看到的「表单」页签改名为「字段布局」,并多一句说明:这里的分组和顺序用在记录页、右侧预览、新建和编辑弹窗上;已安装应用的对象(比如 HotCRM 的线索)从只读变为可以调整分组和顺序,每个字段标出来自原始包、其他包还是本环境。
  • 属于「客户可在已安装应用上自定义」这条主线:之前没有任何界面能调整已安装对象的字段分组。
  • 出错时管理员看到的是分组顺序不对或保存被拒;改动只写进本环境的定制包,原始包不动,把定制包里的分组设置删掉就恢复原样。
  • 无。

What changes

The tab (items 1, 4). Studio's object page tab 「表单」 / Form reads 「字段布局」 / Field layout (same key engine.studio.data.tab.form, value only). The 「字段分组」 source chip beside the Layout/Preview switch is replaced by one sentence (engine.studio.data.form.usedOn): the groups and order are used on the record page, the right-side preview, and the create and edit dialogs. No form view is read or written there, and there is no 新建/编辑 switch and no 「表单视图:…」 label.

  • Form-view code already deleted on main before this PR, by the internal-forms retirement (3b58921): formViewSections.ts, useFormViewDraft.ts, formViewSections-30057.test.ts, DataPillar.formViewLayout-30057.test.tsx, and the form-view branches of ObjectFormDesigner.tsx and StudioDesignSurface.tsx. Re-measured on this branch: no form-view read, write, label or switch is left in the tab.
  • Deleted here: the 「字段分组」 chip (data-testid="form-layout-source") and its two strings engine.studio.data.form.layoutSource.fieldGroups / fieldGroupsTitle (en, zh). DataPillar.internalFormRetired-36425.test.tsx now asserts the sentence in place of the chip.
  • Kept: ObjectFormDesigner (now the Field layout canvas), the Layout/Preview switch, ObjectGroupInspector, writeGroupLayout / readFieldGroupMembership, and every canvas operation (item 5: add/rename/delete/move group, drag a field between groups, the keyboard drop, the pinned fields, group settings).

The list spelling (item 2). The canvas saves group membership in each group's own fields list through writeGroupLayout. New groupListLayout (object-fields-io.ts) reads an object still written in the older per-field group spelling into lists, so the object's first save from the tab converts it: every group lists its members in display order, and each field's group that a list now holds is dropped. Nothing on the canvas moves. The header sentence of ObjectFormDesigner.tsx that still named fields[].group + fieldGroups is rewritten.

An installed object (item 3). Where the base's customization door is open (extendsBase && extWritable, so layoutWritable), the tab is no longer read-only:

  • Every canvas operation and the group inspector edit the object extension of the base's paired .custom package, in the Data pillar's extension buffer, as the whole fieldGroups arrangement (every non-table group listing its members, the format of 记录页排布的第三层:配对的 .custom 包可以给安装来的对象声明完整的分组和页签排布(原始包完整声明、继承包只能声明插入位置,这两层不变) #36498 / ADR-0146 D10). New groupArrangement builds it.
  • The top bar's Save saves and publishes it with the rest of that extension (the __c fields and field patches it already holds stay). The original package is not written.
  • A field-arrangement edit on a contributed field (a field another package brings) is allowed here, because the arrangement only places it. Its properties stay locked.
  • A field or group place entry of the extension, which a written fieldGroups replaces (the server refuses the pair), is taken off by the new withoutReplacedPlacements. A {list} placement stays.
  • foldObjectExtension now folds a buffered fieldGroups the way the registry does (applyExtensionFieldGroups), so the canvas shows the arrangement before it is saved. It also keeps a placed own field's served group.
  • Each field card of an installed object carries its source: 「原始包」 / Original package, 「本环境」 / This environment (a field the pair declares, or any __c field), or the existing contributed mark that names the other package (fieldLayoutSources.ts).
  • Where the door is walled, the tab stays read-only, as before.

Write path, a deviation from the claim's wording. The claim says to reuse the writer #36624 added (saveObjectExtensionArrangement). The tab uses that writer's composer extensionWithArrangement inside the pillar buffer instead of calling the save. The buffer already holds a draft of the very same object_extension document, so a second save would be a second writer of it: refused by the first-write pin while the buffer's draft is pending, and overwritten by the buffer's next save once it lands. The header of objectExtensionArrangementSave.ts now says so. No new write path: the bytes go out through the pillar's existing extension save and publish (doSaveExt).

Not in this PR.

  • No public-forms UI is added or moved.
  • The Interfaces pillar is not touched.
  • packages/spec and the authorable surface are not touched (0 files under packages/).

Overlap with #36784 (paused, public forms). That PR's DataPillar hunks put a public-forms switch into this same tab. This PR keeps no switch, per the 2026-11-24 ruling (item 4: 字段布局 edits field groups only). overlap-check reports a textual conflict in StudioDesignSurface.tsx, plus shared lines in the studio string files and access-security.json. Whichever lands second rebases. Nothing here builds on it or copies it.

Why

No console path could arrange an installed object's field groups: the record page's 「配置页面」 arranges tabs only, and this tab was walled read-only on an installed package. The tab's name 「表单」 also no longer matched what it edits since the internal-form retirement. It edits the field groups that the record page, the preview and both dialogs read.

Tests

  • New object-fields-io.test.ts cases:
    • groupListLayout: legacy to lists, mixed spelling, and unchanged when already listed (the same refs come back).
    • groupArrangement: the result safe-parses as an ObjectExtensionSchema body.
  • New StudioCustomizeControls.objectExtension-28575.test.ts cases:
    • the buffered arrangement fold, with a CONTROL;
    • withoutReplacedPlacements;
    • a placed own field keeps its group.
  • New ObjectFormDesigner.test.tsx cases:
    • a legacy object converts on a rename, with a CONTROL;
    • the field sources are marked on an installed object, with a CONTROL.
  • New DataPillar.baseObjectExtension-28575.test.tsx describe, "the Field layout tab arranges an installed object into its pair":
    • The tab name, the sentence and the marks.
    • Deleting group basic saves the extension body fieldGroups: [{ key: 'more', fields: ['industry', 'region__c'] }], keeps fields and fieldPatches, and leaves only the {list} placement. The body safe-parses. No object save; the publish goes to the pair.
    • A walled CONTROL.
  • Updated tests:
    • DataPillar.internalFormRetired-36425: the sentence replaces the chip, and the save is in the list spelling.
    • ObjectFormDesigner.keyboardDrop-11871 and pinnedFields-27516: the move pins read the first save's conversion.
    • StudioDesignSurface.oneSurface-28572: a base field is now an arrangeable card.
    • 25 files: the { name: 'Form' } tab lookup now reads { name: 'Field layout' }, and 8 of them get the module-top @objectstack/lint import that check:test-source-alias asks of edited files.
  • Ablation, once, on the conversion (groupListLayout forced to answer unchanged, written by scripts/ablation-replace.mjs with the anchor 1 → 0 and the blob 7d646795841f → 8ad709d6432e):
    • Result: 4 failed / 72 passed across object-fields-io, ObjectFormDesigner and DataPillar.internalFormRetired-36425.
    • Restored: git diff HEAD is empty, and the file blob equals the HEAD blob 7d646795841f.

Acceptance notes

  • Group source marks are not drawn (a gap against item 3's "marks each source"). Field cards are marked. A group's source cannot be told on the client:

    • the served object carries no per-group source;
    • the layered code the canvas reads already has the pair folded in;
    • the customization contributions read lists fields only.

    Drawing group marks needs a read that serves who placed each group. That is a runtime read decoration (spec + runtime), raised in the report as a decision, not guessed here.

  • Reordering the ungrouped bucket on an installed object is not persisted. An extension can arrange groups but cannot reorder the base's field map. The canvas snaps back when a drag produces nothing to save. Order inside a group is persisted (it is the group's list).

  • "Restore the original layout" has no button. Removing fieldGroups from the pair's extension restores the base's groups. This was measured live through the API (below). A UI for it was not asked by the card's items.

  • Field/group place entries are dropped when the arrangement is written. The server refuses them beside a written fieldGroups (refusePlacementsTheArrangementReplaces), and the arrangement states every group's members anyway.

  • The full check:platform-checklist is red on main, not from this diff. access-security.json cites packages/metadata-core/src/anonymous-form-intake.ts#anonymousFormExplicitWithdrawals, a symbol that c45dd80 (feat(setup): Setup → Configuration → Public forms lists and switches every public form #36697) removed. Measured: the symbol has 0 hits in origin/main's file, and origin/main's checklist cites it twice. The scoped mode on this branch is OK: check-platform-checklist --changed-from origin/main: OK — 2 anchored file(s) in the change set, 9 anchor(s) judged, 0 lost.

  • The live check used the showcase app's installed objects. HotCRM's 线索 is not in the example, so showcase_category stood in as the installed object.

  • Open questions decided (seat, 2026-11-24). Group source marks are trimmed from this card: field cards are marked, groups are not (recorded on Studio 对象页「表单」页签改成「字段布局」:只编辑对象的字段分组,不再读写表单视图;安装来的对象存到 .custom 的排布里 #36505 as 7125461985). The single-writer route is accepted: the tab composes extensionWithArrangement inside the Data pillar's buffer and saves through the pillar's extension Save, instead of calling saveObjectExtensionArrangement.

  • Fix round 1 (4b0d7ee). Step 3 of the live customize journey spec now clicks the object header's Field layout tab (it clicked Form). Run live on a booted showcase: 1 passed (25.2s). The Add field draft body is still exactly {extend, fields}.

  • Open PR fix(studio): retire Studio's Interfaces column (objectstack#36502) #36884 (Studio「界面」整栏作废:顶部导航去掉「界面」,原来在里面改的东西各有去处;前置的运行界面入口全部落地后再摘 #36502, Interfaces retirement) overlaps textually in studio-authoring.json and two StudioDesignSurface tests, plus shared files. Whichever lands second rebases.

Screenshots (card 验收)

Taken at head 4b0d7ee on a booted showcase (objectstack dev --seed-admin plus console vite from this branch), browser locale zh-CN, 1440×900 at deviceScaleFactor 2. The files are in the project files under issue-36505/:

  • 1-installed-field-layout.png: the installed object showcase_category (com.example.showcase, badge 只读) on the 「字段布局」 tab. Groups are 分类 (名称, 上级) and 显示 (颜色, 排序). Every field card is marked 原始包, the sentence 「这里的分组和顺序用在记录页、右侧预览、新建和编辑弹窗上。」 is shown, and the group controls are enabled.
  • 2-self-built-field-layout.png: the self-built qa_layout_ticket (writable package com.example.qa-layout, authored in the legacy per-field group spelling) on the same tab, with groups Main (Title, Status) and Extra (Notes). It shows no source marks, no 只读 badge, and the same sentence. The package's own labels have no zh translation, so they stay in English.
  • 3-installed-after-save.png: showcase_category after 删除分组 on 显示 and the top-bar Save. The toast reads 「已保存并生效:分类」, and the groups are 分类 (名称, 上级) and 未分组 (颜色, 排序). The writes were PUT /api/v1/meta/object_extension/showcase_category?mode=draft&package=com.example.showcase.custom with body {"extend":"showcase_category","fieldGroups":[{"key":"category","label":"Category","collapse":"none","fields":["name","parent"]}]}, then publish at the pair (200). There was no write to object/showcase_category.

Customizations reading (card 验收, L1 N1): GET /api/v1/packages/com.example.showcase/customizations.

  • Before the save: 200, arrangements: [], counts all 0.
  • After the save: 200, arrangements: [{"object":"showcase_category","key":"fieldGroups"}], counts.arrangements: 1, counts.extensions: 0. The pair's extension holds only the arrangement key.

Verification

Two-minute check: boot the showcase with the console. Open Studio → Data → Category (installed, read-only package) → 字段布局 / Field layout, delete the group "Display", and press Save. The two fields fall to Ungrouped. GET /api/v1/meta/object/showcase_category serves one group category listing name, parent, and the base package is unchanged.

Live check on a booted showcase (head a144b62), screenshots described

objectstack dev --seed-admin -p 4517 with its own db, plus the console Vite dev server on :4518 pointed at it; Playwright Chromium, en-US.

  • Installed object (showcase_category, package com.example.showcase, legacy per-field group spelling):
    • Screenshot 1: the tab strip reads Records · Field layout · Validations. The sentence sits beside Layout/Preview. Groups Category (Name, Parent) and Display (Color, Sort Order). Every card is marked 「Original package」. The group controls are enabled; the header badge still says Read-only (the package is).
    • Deleting Display and pressing Save sent exactly:
      • POST /api/v1/packages/com.example.showcase/ensure-customization → 201
      • PUT /api/v1/meta/object_extension/showcase_category?mode=draft&package=com.example.showcase.custom with body {"extend":"showcase_category","fieldGroups":[{"key":"category","label":"Category","collapse":"none","fields":["name","parent"]}]} → 200
      • POST …/object_extension/showcase_category/publish?package=com.example.showcase.custom → 200
      • No write to object/showcase_category.
    • Screenshot 2: Category (Name, Parent) and Ungrouped (Color, Sort Order).
    • Served object afterwards: fieldGroups: [category → name, parent]; color and sort_order carry no group.
    • Revert by API: the extension saved without fieldGroups and published (200/200) serves the base's two groups again, with color / sort_order → display.
  • Self-built object (qa_layout_ticket in a scratch writable package com.example.qa-layout, authored in the legacy spelling: title/status → main, notes → extra):
    • Screenshot 3: groups Main and Extra, no source marks (not an installed object).
    • Deleting Extra and pressing Save sent one PUT /api/v1/meta/object/qa_layout_ticket?mode=draft&package=com.example.qa-layout whose body has fieldGroups: [{"key":"main","label":"Main","fields":["title","status"]}] and no group on any field (the first-save conversion), then the publish → 200.
    • Screenshot 4: Main (Title, Status) and Ungrouped (Notes).
Local tests and type-check (final head a144b62)
  • cd ui && npx vitest run over the 9 substantive test files (object-fields-io, StudioCustomizeControls 28575, ObjectFormDesigner, DataPillar 28575, DataPillar 36425, keyboardDrop 11871, pinnedFields 27516, oneSurface 28572, objectExtensionArrangementSave 36499): Test Files 9 passed (9), Tests 153 passed (153), VERDICT command-exit 0.
  • The 8 files given the lint import: Test Files 8 passed (8), Tests 27 passed (27).
  • packages/i18n/: Test Files 109 passed (109), Tests 2014 passed | 13 skipped.
  • pnpm --dir ui exec vitest run scripts/: Test Files 172 passed | 2 skipped (174), Tests 5127 passed | 2 skipped, VERDICT command-exit 0.
  • Whole studio-design + metadata-admin/previews sweep after the source was final: Test Files 531 passed of 534. The 3 red files were the three updated pins above, re-run green since.
  • pnpm --filter @object-ui/app-shell type-check && pnpm --filter @object-ui/i18n type-check: VERDICT command-exit 0, after building the @object-ui/app-shell^... closure.
Derived gate families (dispatch-gates --commands, 45 families)

Run on head a144b62 (the ui scripts suite included), reconciled: dispatch-gates --ran: 45 derived famil(ies) accounted for — 45 run, 0 NOT-MEASURED (a DERIVED zero — all 45 recorded an exit code and none of them is 3).

  • Red, 1: pnpm check:platform-checklist :: exit 1. This is main's ABSENT SYMBOL anonymousFormExplicitWithdrawals (see Acceptance notes). The scoped --changed-from origin/main run is OK.

  • pnpm check:test-source-alias :: exit 0. It was red on 2f815c5 (8 edited tests lacked the module-top lint import) and is fixed in a144b62.

  • Green, 43:

    • node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0
    • node scripts/check-adr-0087-registration.mjs --self-test :: exit 0
    • node scripts/check-adr-links.mjs :: exit 0
    • node scripts/check-adr-links.mjs --self-test :: exit 0
    • node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0
    • node scripts/check-closing-keyword-parity.mjs :: exit 0
    • node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0
    • node scripts/check-comment-mask-corpus.mjs :: exit 0
    • node scripts/check-empty-changeset.mjs --base origin/main :: exit 0
    • node scripts/check-empty-changeset.mjs --self-test :: exit 0
    • node scripts/check-sdui-manifest.mjs :: exit 0
    • node scripts/check-sdui-manifest.mjs --self-test :: exit 0
    • node scripts/ci/plan-test-core-shards.mjs --self-test :: exit 0
    • node scripts/ci/snapshot-next.mjs --self-test :: exit 0
    • node scripts/pm/check-governed-queue-guard.mjs --self-test :: exit 0
    • node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0
    • node scripts/release-pending-publish.mjs --self-test :: exit 0
    • pnpm --filter @objectstack/lint run check:doc-formula-expressions :: exit 0
    • pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0
    • pnpm check:adr-anchors :: exit 0
    • pnpm check:changeset-gate-self-tests :: exit 0
    • pnpm check:ci-filter-parity :: exit 0
    • pnpm check:closed-ceremony-text :: exit 0
    • pnpm check:cross-package-test-inputs :: exit 0
    • pnpm check:dispatcher-error-vocabulary :: exit 0
    • pnpm check:doc-authoring :: exit 0
    • pnpm check:driver-memory-census :: exit 0
    • pnpm check:engine-double-contract :: exit 0
    • pnpm check:gitlink-declared :: exit 0
    • pnpm check:nul-bytes :: exit 0
    • pnpm check:published-files :: exit 0
    • pnpm check:query-options-erasure :: exit 0
    • pnpm check:refd-timer-probe :: exit 0
    • pnpm check:registry-log-declared :: exit 0
    • pnpm check:rest-log-spy-declared :: exit 0
    • pnpm check:skill-identifier-liveness :: exit 0
    • pnpm check:tier-file-adoption :: exit 0
    • pnpm check:type-check-coverage :: exit 0
    • pnpm check:type-check-debt :: exit 0
    • pnpm check:undeclared-dep-imports :: exit 0
    • pnpm check:watch-hint-literal :: exit 0
    • pnpm check:where-matcher :: exit 0
    • pnpm --dir ui exec vitest run scripts/ :: exit 0

Human Minimum

  • 1. Schemas start as Zod; packages/spec holds no runtime logic. (No spec change.)
  • 2. Every name I added uses the casing for its kind.
  • 3. No formatter ran; pnpm lint passes. (No formatter ran. pnpm lint is CI's run, not re-run locally.)
  • 4. One issue, one branch off an up-to-date main, one pull request.
  • 5. A change that publishes carries a changeset, and both declaration lines are filled in here and in the changeset.
  • 6. packages/spec touched: n/a (not touched).
  • 7. No hand edits to content/docs/references/, packages/*/CHANGELOG.md or content/docs/releases/.
  • 8. Title, body and comments are in English. (English, except the 维护者速读 block the fleet's PR rule asks for in Chinese.)
  • The Before Submitting list in CONTRIBUTING.md is done.

Generated by Claude Code

…ld groups into its .custom pair (WIP)

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzhpykmQZe1yMupC2CU
…nt fold and the field sources

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzhpykmQZe1yMupC2CU
…rangement into its pair

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzhpykmQZe1yMupC2CU
… Field layout tab

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzhpykmQZe1yMupC2CU
…lection

check:test-source-alias judges the test files a change edits; the eight that
reach a dynamic import of @objectstack/lint get the module-top side-effect
import the convention asks for.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WGufzhpykmQZe1yMupC2CU
@github-actions github-actions Bot added size/xl documentation Improvements or additions to documentation tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface labels Nov 24, 2026
The Studio object page's Form tab is now Field layout (objectstack#36505);
step 3 of studio-customize-journey clicks it by its new name.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8

席位核对 — REWORK · repo:objectstack#3 · head 4b0d7ee · 2026-11-24T08:33Z

L1-a read of #36888 (card #36505) at 4b0d7ee635b4dd86200aad8c0435f2ef33b814dd. Paper only: nothing on the head has to move.

Mechanical. l1-face CLEAN (13 items; 52 success · 13 expected skips · 0 failed · 0 pending). check-governed-merges: NOT governed, 1,052 lines. mergeable_state clean.

Read, and what holds.

  • Items 1, 2, 4 and 5. One path is left: the tab reads and writes the object's fieldGroups. No form-view read, write, label or switch is left in the tab (the form-view code went with 内部的新建和编辑表单作废:平台不再加载表单定义,弹窗一律按字段分组和字段规则排;字段加一个「新建时显示」的开关(对外表单不受影响) #36425). groupListLayout converts the per-field group spelling on the first save and moves nothing on the canvas: listed members are kept as written, members from group are appended where groupMembership already shows them, and a group naming no declared group is kept. The conversion is pinned and ablated. The tab is 「字段布局」 / Field layout, and the sentence engine.studio.data.form.usedOn reads as item 4 asks.
  • Item 3. layoutWritable gates the canvas on the open door, and the walled CONTROL is pinned. groupArrangement writes every non-table group with its full fields list. withoutReplacedPlacements drops {field} / {group} placements and keeps {list}, which matches refusePlacementsTheArrangementReplaces. applyExtensionFieldGroups follows objectql/src/registry-custom-arrangement.ts#applyCustomArrangement rule for rule: a listed field follows its listing group, and an undeclared field naming a listing group, a missing group or a table group loses its group. So the canvas shows what the fold will serve.
  • The single-writer route through extensionWithArrangement inside the pillar buffer is right: a second save of the same object_extension document would race the first-write pin. The seat accepted it, and the trim of group source marks is recorded on the card (7125461985), so Fixes #36505 stands.
  • Changeset sentences checked against the tree and the live readings. The touched published package @object-ui/i18n is named, and @object-ui/app-shell is private. Removing engine.studio.data.form.layoutSource.* is stated.

Findings.

Nits (no action required):

  • N1. The installed-object acceptance names HotCRM 线索 and a GET /api/v1/packages/<base>/customizations reading. The body uses showcase_category as the stand-in and reads the served object instead. The endpoint does list each whole arrangement a pair's extension writes (runtime/src/domains/packages.ts, pinned in packages-customizations.test.ts), so the reading follows from the measured publish. Adding that one GET to the live block alongside M1 would close the line literally.
  • N2. "Restore the original layout" has no button: the revert was measured by API. The card's acceptance asks only that deleting the customization restores the base, and it does. A UI door is a follow-up if the maintainer wants one.
  • N3. Reordering the Ungrouped bucket on an installed object snaps back, because an extension cannot reorder the base's field map. This is disclosed in the body. A one-line hint on the canvas would save a confused drag.

M1 is not a nit, so REWORK. Once the images are in the body, the delta read is a paper read.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8

席位核对 — ACCEPT · repo:objectstack#3 · head 4b0d7ee · 2026-11-24T08:48Z

Paper delta read of #36888 (card #36505) on REWORK 7126285974. The head is unchanged at 4b0d7ee635b4dd86200aad8c0435f2ef33b814dd, so the code reading, l1-face CLEAN and the green checks from that verdict all stand.

  • M1: closed. The body's new section "Screenshots (card 验收)" names three zh-CN shots taken at this head. I opened all three and each shows what the section says:
    • 1-installed-field-layout.png: showcase_category with the 只读 badge on 「字段布局」. Groups 分类 / 显示, every card marked 原始包, the sentence 「这里的分组和顺序用在记录页、右侧预览、新建和编辑弹窗上。」, and the group controls live.
    • 2-self-built-field-layout.png: qa_layout_ticket with Main / Extra, the same sentence, no source marks and no 只读 badge.
    • 3-installed-after-save.png: after deleting 显示 and Save, the toast 「已保存并生效:分类」 shows, and 颜色 / 排序 sit under 未分组.
      The card's two named shots, self-built and installed, are covered. The files are kept in the project's shared files (issue-36505/) because an agent cannot upload images to a GitHub body. If the maintainer wants them inline on GitHub, they can be dragged into the body by hand, and that changes nothing on the head.
  • N1: closed. GET /api/v1/packages/com.example.showcase/customizations: arrangements: [] before the save; [{object: showcase_category, key: fieldGroups}], counts.arrangements: 1 after it.
  • N2 and N3 stand as nits (no Restore button; the Ungrouped reorder snaps back on an installed object).
  • Size per card (rule of 2026-11-24 08:28Z): Studio 对象页「表单」页签改成「字段布局」:只编辑对象的字段分组,不再读写表单视图;安装来的对象存到 .custom 的排布里 #36505 has this one PR, 1,052 lines. NOT governed, ordinary queue landing.

Every open finding is a nit, so ACCEPT.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhpykmQZe1yMupC2CU

Landing · 2026-11-24T08:56Z · ACCEPT 7126603480 at head 4b0d7ee (paper delta on REWORK 7126285974)

reading value
check-governed-merges.mjs --pr 36888 NOT governed · +927/−125 (1052 ≤ 3000); card #36505 total = this one PR, 1052 lines (per-card rule of 2026-11-24 08:28Z)
landing-k.mjs --pr 36888 OK · K = 3 < 15 · no new locale pack under a label PR · no shared book moved under this PR's
checks at 4b0d7ee 54 success (Check Changeset re-run after the body edit included), 15 expected skip, 0 failed or pending; mergeable clean

Open findings: nits only (L1 N2 no Restore button, N3 Ungrouped reorder snaps back on an installed object; both disclosed in the body). Scope trim recorded on the card (7125461985: group source marks). Overlaps: #36784 (paused) and #36884 (#36502); whichever lands second rebases. State: ready + auto-merge (Tier S). On MERGED, #36505 closes by Fixes; area ux-A removes pm:dispatched.

@objectstack-fleet
objectstack-fleet Bot marked this pull request as ready for review November 24, 2026 08:56
@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 24, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 24, 2026
Takes in the Interfaces retirement (#36884, objectstack#36502). Three files
conflicted; both sides are kept:
- StudioDesignSurface.designerRegistryMissing / lateRegistration-11939 tests:
  main's side (InterfacesPillar import and cases removed, its own module-top
  lint import), with the object page tab looked up as Field layout again.
- studio-authoring.json first-run-loop: main's revision 14 entry kept, this
  branch's Field layout entry renumbered 15 and the item's revision set to 15.

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

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8

席位核对 — ACCEPT · repo:objectstack#3 · head c743433 · 2026-11-24T09:54Z

Merge-resolution read of #36888 (card #36505). The head is c7434331576d441746c425353dab8cb21741d2e3, a merge of 4b0d7ee6 (ACCEPT 7126603480) with main 3f568c1a, which carries #36884 / #36502. The content of this PR is not re-read; this read covers only the resolution.

  • Checks. 50 success · 11 expected skips · 0 failed · 0 pending; mergeable_state clean. The face's one flag is shape (ready, not draft): the PR was ready and queued before the conflict dequeued it, so that is expected.
  • Combined diff (git show --cc). Only three files carry hunks that differ from both parents:
    • studio-authoring.json first-run-loop: main's Studio「界面」整栏作废:顶部导航去掉「界面」,原来在里面改的东西各有去处;前置的运行界面入口全部落地后再摘 #36502 history row stays at revision 14, this branch's Field-layout row becomes 15, and revision is 15. Step 2 takes this branch's 'Field layout tab' wording, and step 5 takes main's no-Interfaces wording. Both sides are kept.
    • studio-customize-journey.spec.ts header: main's step 1 (the All-metadata item page) and this branch's step 3 (the Field layout tab) are both kept.
    • StudioDesignSurface.tsx imports: this branch's fieldLayoutSourcesOf and withoutReplacedPlacements stay. useDraftAutoSave and ServedOverride go, as on main, where their only reader (the Interfaces pillar) is gone. The type-check lanes are green on this head.
  • The two hand-resolved tests (designerRegistryMissing, lateRegistration-11939): against main, each now differs by one line only, the object-page tab looked up as 'Field layout'. Main's removal of the Interfaces cases holds, and no duplicate lint import is left.
  • Net PR against the new main: 45 files, +923/−125. That is the accepted diff less the four lines the conflicts took on main's side, with nothing new.
  • Size per card: still the one PR, about 1,050 lines. NOT governed, ordinary queue landing.

The resolution keeps both sides and adds nothing. ACCEPT.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack#3 · os-support-ai · session_01WGufzhpykmQZe1yMupC2CU

Landing (re-queue) · 2026-11-24T09:55Z · merge-resolution ACCEPT 7128051089 at head c743433 (after the 09:18Z MERGE_CONFLICT dequeue against #36884)

reading value
check-governed-merges.mjs --pr 36888 NOT governed · +923/−125 (1048 ≤ 3000); card #36505 total = this one PR (per-card rule of 2026-11-24 08:28Z)
landing-k.mjs --pr 36888 OK · K = 1 < 15 · no new locale pack under a label PR · no shared book moved under this PR's
checks at c743433 50 success, 11 expected skip, 0 failed or pending; mergeable clean

Resolution note 7128003666 (studio-authoring.json revision 14/15, two StudioDesignSurface tests on main's side plus the Field layout lookup). Earlier verdicts stand (ACCEPT 7126603480). State: ready + auto-merge (Tier S). On MERGED, #36505 closes by Fixes; area ux-A removes pm:dispatched.

@objectstack-fleet
objectstack-fleet Bot added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 5c2d5cf Nov 24, 2026
61 checks passed
@objectstack-fleet
objectstack-fleet Bot deleted the claude/issue-36505-field-layout-tab branch November 24, 2026 10:20
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 size/xl tests tooling Fix lands in tooling, not a product package — enters pm:queue only with Unblocks: or a named surface

Projects

None yet

2 participants