Repository navigation
fix(studio): retire Studio's Interfaces column (objectstack#36502) - #36884
Conversation
Studio keeps Data, Automations, Access and All metadata. Menus, header actions, list views, dashboards, reports and record pages are designed in the running app. - /studio/<pkg>/interfaces, with or without ?surface=, lands on the Data pillar with a one-line notice (「界面的修改已经搬到应用里」) and a link back to the app; ?changes=review travels with it. - The MCP authoring tools and `os meta register --draft` print /studio/<pkg>/data?changes=review; the console's Edit-in-Studio links for a dashboard, page, report or view open its All-metadata item page. - On a read-only base, a view, dashboard, report or page is customized on its All-metadata item page (AREA_CUSTOMIZE_EDITOR_TYPES), into the pair, with the override mark and Restore: the door the Interfaces header was. - Code and tests that served only the column are deleted; parts other surfaces (and PR #36784) use are kept. - The live customize journey and the checklist item move to the new door. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzj9RY8jKV57hUTNEYg
📓 Docs Drift CheckThis PR changes 2 package(s): 1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
What this run could not see
Coarse fallback — 58 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin 982c8b1abf7a189e514e309025eff42b063db87d && git checkout 982c8b1abf7a189e514e309025eff42b063db87d
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin e0050baaceaece398cba4bc207ba69f42643c762 8cfc5d6fe478d8b8e9ffb8307b0115a8b16f8c58 && git checkout -B drift-repro e0050baaceaece398cba4bc207ba69f42643c762 && git merge --no-ff 8cfc5d6fe478d8b8e9ffb8307b0115a8b16f8c58
node scripts/docs-audit/affected-docs.mjs --json e0050baaceaece398cba4bc207ba69f42643c762
|
…502) - The surface's package read handles a failed listed-manifests read again. The retired pillar's handler had been its only one, so a 404 surfaced as an unhandled rejection in the surface's tests. - Tests that now reach the lint/formula dynamic imports pay the load at module top (check:test-source-alias). - The spec-symbol ledger reads StudioPicker.tsx in place of the deleted StudioNavItemInspector.tsx and drops InterfacesNavRail.tsx; the clickable-non-control census drops the retired rail's scrim. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzj9RY8jKV57hUTNEYg
|
repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8 Contract-review-claim: session_01WGufzesUz1Y8VZuKJRhVL8 · head 8cfc5d6 · 2026-11-24T08:14Z L1-a takes the contract review (L2) and the L1 read of this head. Tier H: verdicts go to the seat for the approver hand-off. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8 Contract reviewServed-tier: Inputs read: card #36502 (body and all eight comments, rulings 7081151402, 7122806677, routing 7122821486, claim 7122916295, note 7125830872), PR #36884 (body, file list, net diff Check-runs on the head at the time of writing (66 runs): 25 success, 10 skipped, 31 in progress, 0 failed. Success: Check Changeset, Governed Surface Queue Guard, PR-body guards, Live E2E UI, Dogfood Regression Gate, Check Documentation Links, Check PR Size, Build UI Deps, TypeScript Type Check, Type Check · workspace / source gates / consumer gates / debt ledger, Lint · ESLint / docs & code guards / repo & tooling gates / CI, release & engine gates / the three scoped lint jobs. STILL IN PROGRESS, so no verdict yet: Build Core, Build & E2E UI, Type Check UI, Lint UI, Lint · PM dispatch-gates, Test Core 1–10 of 10, Test UI 1–16 of 16. The tests that pin the scope files ( ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
The redirect (
Other producers still printing the old link — none. Findings: No must-fix, no should-fix.
Verdict basis: the Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-support-ai · session_01WGufzesUz1Y8VZuKJRhVL8 席位核对 — ACCEPT · repo:objectstack#3 · head 8cfc5d6 · 2026-11-24T08:35ZL1-a read of #36884 (card #36502) at Mechanical.
Read.
For the maintainer's approval (not findings against this head):
Nits (no effect on correctness):
Every open finding is a nit, so ACCEPT. Under the human-merge rule, no seat readies, enqueues or auto-merges this PR. It lands after a GOVERNED_APPROVERS approval. |
|
repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W 维护者速读
Request: approval · Tier H (37,147 changed lines; governed 席位意见: land. It retires the column the card names, keeps every door the card's table lists in the running app, and moves the one door the table missed (Customize on a read-only base) to All metadata instead of losing it.
|
|
repo:objectstack#3 · os-support-ai · session_01WGufzj9RY8jKV57hUTNEYg HotCRM walk: the four in-app writes, driven (answers L2 E1)Setup: hotcrm main 48082b7 on its published 18.6.0 backend (:4011), served by this branch's console build (
Two notes on the fourth row:
No link on any page walked points at |
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
Requested by Yibo Wang · project thread
Fixes #36502
repo:objectstack#3 · os-support-ai · session_01WGufzj9RY8jKV57hUTNEYg
Clause-②: no
Metadata-protocol: none
维护者速读
/studio/<包>/interfaces(含?surface=深链)落到数据页,提示「界面的修改已经搬到应用里」并带回到应用的链接。What changes
The card (objectstack#36502), the maintainer's dispatch 「没关系,不等那个,现在就派」 (2026-11-24 05:17Z) and ruling record 7122806677 (the #36444 dependency waived; public forms stay metadata-editable; keep what PR #36784 needs).
StudioDesignSurface.tsx): the Interfaces pillar (InterfacesPillar, about 3,600 lines) is gone. The pillars are Data, Automations, Access, plus All metadata. A package's Studio root opens Data (STUDIO_HOME_PILLAR).studioInterfacesRetired.ts,StudioInterfacesRetiredNotice.tsx):/studio/<pkg>/interfaces, with or without?surface=, redirects to/studio/<pkg>/data, keeping only?changes=. The Data pillar shows a one-line notice, 「界面的修改已经搬到应用里」 / "Interface edits have moved into the app.", with "Back to the app" (the same target as the header's ‹ Back to app) and Dismiss. The notice is latched when the landing arrives, so the Data pillar's own?surface=write and the Changes drawer dropping?changes=do not erase it. It goes on Dismiss or when the author switches pillar.studioChangesLink.ts,packages/runtime/src/domains/mcp-authoring.tsandpackages/cli/src/commands/meta/register.tsprint/studio/<pkg>/data?changes=review. The old/interfaces?changes=reviewstill opens the drawer through the redirect. Console links that opened/interfaces?surface=T:N(appRoute.ts#appStudioSurfacePath,artifactStudioPath.ts,metadataArea.ts,AiChatPage.tsx) open the item's All-metadata page/studio/<pkg>/metadata/<type>/<name>, or/datafor a built app.<base>.custom.metadataArea.ts#AREA_CUSTOMIZE_EDITOR_TYPESgrows fromdatasettodataset, view, dashboard, report, page. On a read-only base those items openStudioBundleItemEditor, with Customize, the type's registered designer (ViewDefaultInspector,DashboardDefaultInspector,ReportDefaultInspector,PageDefaultInspector), the override chip and Restore. On a writable package they still open the generic item page. The seat accepted this route (seat note, 07:01Z), so it is not a deviation.ui/packages/app-shell/README.md(the dataset-context and reverse-bridge sections),skills/objectstack-mcp-build/evals/draft-door-procedure.json(the review link) and the plugin-chatbotonDesignBuiltAppdoc example. No other user doc or skill names the Interfaces column (git grepovercontent/docsexcept releases, and overskills/).engine.studio.interfacesRetired.sentence,.backToAppand.dismiss(en, zh). The oldinterfaces/nav keys stay; the dead-key gate is report-only.studio-authoring.interfaces-create-dialogsis retired (rev 5, with a retiredReason).coverage.jsondrops it fromapp,pageandreport; each still maps other items.package-customize-restore-display(rev 7) re-points its door to the item page. Eight more studio-authoring items,dashboards.global-filters-rescopeandux-conventions.labels-over-machine-nameshave their Interfaces steps re-pointed, each with a revision bump and a history row.Item 5 census: what was deleted and what was kept
Deleted, because only the Interfaces column used it:
InterfacesPillar(inStudioDesignSurface.tsx, -3,624/+66 in that file),InterfacesNavRail.tsx,StudioNavItemInspector.tsx(itsStudioPickermoved toStudioPicker.tsx, which the Access pillar uses),ObjectListViewInspector.tsx,ObjectListViewTitle.tsx,ListViewTypeSection.tsx,ListViewChartSection.tsx,ListViewBulkActionsSection.tsx,ListViewMoreSection.tsx,interfaceCreate.tsx,metadata-admin/previews/SourcePageProperties.tsx, andservices/componentRegistry.ts#listAppComponents(declared, read by nothing).StudioDesignSurface.*files lost only their Interfaces cases. Pins of shared behaviour were moved, not dropped:useNavTargetLabel.draftLabels-11862,AppNavCanvas.menuOrder-26979,studioZhPillarNames-11801, and the kanban board's card-opens-record controls (objectui#12725/The dequeue-remedy verification still reads queue-ref ABSENCE as proof the PR left the queue — two rows and one SKILL.md sentence outlive the corrected membership reading #12888), now inplugin-kanban/src/__tests__/KanbanRenderer.cardOpensRecord-12725.test.tsx.Kept, because something else uses it or it is a shared export:
DataPillarHelpers,StudioCustomizeControls,StudioPillarKit,setup/publicForms. Public-forms code and UI are untouched (the maintainer paused that development at 05:23Z).StudioCustomizeControls(override chip, Restore,overrideDraftBody), now serving the All-metadata editor;StudioItemHeader;studio-canvas-preview/StudioObjectRecordsCanvas;useSurfaceDeepLink;navSurface,servedNavText;metadataErrorhelpers;STUDIO_KIND_CHIP.nav-target(NAV_ENTRY_TYPES,navTypeAcceptsChildren,retypedNavEntry), theDraftTargetLabelsand dataset-create contexts (no provider today). Each is small; deleting them is a follow-up if nothing picks them up.interfaces/ nav-inspector keys (report-only dead keys).ui/e2e/studio-item-header-title-width.spec.ts: a fixture-only geometry pin ofStudioItemHeader. Its last describe draws an "Interfaces leaf" from fixtures, so it does not depend on the pillar.Prerequisite cards (card item 1)
#36363 menu, #36366 header actions, #36364 add-menu-item, #36370 view settings, #36372 dashboard edit, #36374 report edit, #36425 internal forms retired, #36485 header Studio links, #36487 sidebar Design entry, #36498 and #36499 record page grouping and tabs: all closed as completed. #36444 (public forms) is open; ruling 7122806677 waives it. Until it lands, public forms have no visual editor and stay metadata-editable.
Merge note
Against #36784 (head 1f9f234),
overlap-checkreports one conflict: adjacent import lines at the top ofStudioDesignSurface.tsx. #36784 addsuseHrefto thereact-router-domline; this PR drops the now-unuseduseMetadatafrom the@object-ui/reactline. Resolution: take both. Every other file merges cleanly, and origin/main (7a5ae65) merges cleanly. A later draft, #36888 (the Field layout tab, #36505), overlaps instudio-authoring.jsonand in two surface tests that both PRs gave the module-top@objectstack/lintimport; whichever lands second rebases.Tests
studioInterfacesRetired.test.ts(target, state, encoding);StudioDesignSurface.interfacesRetired-36502.test.tsx, through the real surface: bare URL → Data with the notice (en, and the zh catalogue string 「界面的修改已经搬到应用里」), Back to app,?surface=dropped,?changes=reviewkeeps the notice, the notice outlasts the Data pillar's own?surface=write, leaving for another pillar takes it away, Dismiss, no Interfaces in the nav, and a CONTROL (a plain arrival on Data shows nothing).metadataArea.test.tsandStudioMetadataArea.routes-28561pin the moved Customize door: view, dashboard, report and page open the editor only on a read-only package; flow and object stay on the generic page.copilotDoors-12894pins that an old/interfaces?changes=reviewopens the drawer on Data./interfaces?surface=to the item page or/data:appRoute,artifactStudioPath,metadataArea,AppHeader.*,PageView.*,SidebarAppMenu-36112,AiChatPage.noNavigationAfterBuild,notFound-26708,kernelReadOnly-29567,pillarNavGuard,metadataArea-28561,openPathObjectReaders-12811(three rows for readers that left with the pillar).tsc(src and test) exit 0. Vitest on the 820 test files that touch Studio, the console routes, i18n, plugin-chatbot and plugin-kanban, under the verify lock: 8154 tests, 9 failed on the first pass, all fixed and re-run green, with the affected files re-run after each later change.@objectstack/runtimemcp-authoring.test.ts(50) and@objectstack/cliregister-draft.test.ts(10) green. Fullturbo buildgreen (120/120).Acceptance notes
check:test-source-aliasasked 14 edited tests for the module-top@objectstack/lint/@objectstack/formulaimport; the spec-symbol ledger and the clickable-non-control census still listed the deletedInterfacesNavRail.tsx/StudioNavItemInspector.tsxand the retired rail's scrim; and the listed-manifests read had lost its only rejection handler with the pillar, which surfaced as unhandled 404 rejections in surface tests. All ofstudio-designre-run locally after the fix: 292 files, 2079 tests, green.ui/e2e/live/ci/start-backend.sh, consolevite buildplusvite previewproxying to it).studio-customize-journey.spec.tsnow customizesshowcase_task.in_progresson/studio/com.example.showcase/metadata/view/showcase_task.in_progress: Customize, then Remove Due Date in the view designer. That sends ensure 201 and a draft PUT topackage=com.example.showcase.custom&mode=draftwith the overrides block; Publish runs the pair's publish-drafts (200); the three reads serve the customized columns; the override chip appears; Restore sends two DELETEs at the pair and the shipped columns are served again. Green 4 of 4 runs. The wholetest:e2e:live:ciallowlist: 23 passed in 1.7 min, which fits the job's two-minute budget./interfaces?surface=view:…lands on Data with the notice in each language; Back to the app goes to/apps/com.example.showcase./interfaces?changes=reviewopens Pending changes on Data with the notice./data?changes=reviewopens the drawer with no notice. The metadata item deep link opens the editor. All metadata on the read-only showcase also opens a dashboard, a report and a page with Customize./interfaces. The app menu's View in Studio opens/studio/app.objectstack.hotcrm/data?surface=object:crm_account. All metadata openscrm_account.all_accounts,executive_dashboard,sales_home_pageandcontract_print_page, each with Customize. The custom pagesales_home_pagerenders. The contract print page renders at…/crm_contract/record/<id>/page/contract_print_page, and Print Contract filed a 224 KB PDF through this console (print engine pointed at local Chromium). I checked that the in-app entries are present; I did not re-drive the menu, view, dashboard and record-grouping writes, which are the prerequisite cards' and were walked there. No HotCRM change is needed.Verification
Read first, by risk:
StudioDesignSurface.tsx(the redirect<Navigate>, the latchedretiredOnnotice state,PILLARS),metadataArea.ts#AREA_CUSTOMIZE_EDITOR_TYPES,studioInterfacesRetired.ts, andui/e2e/live/studio-customize-journey.spec.tssteps 1 and 2.Two-minute check: open
/studio/<a package>/interfaces?surface=page:x. Expect the Data pillar, the notice 「界面的修改已经搬到应用里」 and a working 回到应用. Then open a view of a read-only package under All metadata and expect Customize.Governed reading (
check-governed-merges.mjs --branch): Tier H.skills/**×1 (skills/objectstack-mcp-build/evals/draft-door-procedure.json), and 37,094 changed lines (+1,489 / −35,605) is over the 3,000-line line. Not to be readied, queued or auto-merged by a seat.🤖 Generated with Claude Code
https://claude.ai/code/session_01WGufzj9RY8jKV57hUTNEYg