Repository navigation
feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order - #37168
Conversation
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…ect the Data pillar Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…ject-designer-fullscreen
…the designer suites their object Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
… object's address Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…sts route the area Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
… drop the rail-only cases Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…ilot suites to the designer's address Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…ts reach the designer's address Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…ns the designer's address Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…d edits Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…iew keeps the generic page Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…ject-designer-fullscreen
…pported locales, the retired rail's census row, ⌘K on a pillar Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H Finalized head for L1 · 2026-11-25T01:20Z ·
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — REWORK · L1 · head
|
The L1 review's M1 and S2-S8 with the nits: - the unsaved-edit guard (saveBar.dirty) is pinned on the designer's x and next, on the real surface; - a Changes-sheet object request opens in the package holding the draft (draftScope); - the history address and ?tab= open their tabs, the partly refused discard keeps its message, and the copilot reads the item off the designer's address, each pinned; - the zone's designer-page helper (AREA_DESIGNER_PAGE_TYPES, areaItemOpensDesignerPage, areaDesignerItemOf) replaces the object-only helpers; - an address naming no object says it was not found (found on the browser walk); - README, changeset and stale comments in user terms; two dropped controls carried over. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
The studio namespace fetches its zh catalogue on demand, so the pin read English in a worker where no earlier suite had loaded it (Test UI 5/16). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
#37089 (the permission designer) landed first: one designer-page list now holds both types, AREA_DESIGNER_PAGE_TYPES = ['permission', 'object']. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
…holds offers Open The list dialog's object create now passes publishCreated (If-None-Match: *), as the flow create does, and a taken identifier the package holds says so and opens that object's designer; one held elsewhere keeps its sentence and no Open. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
…ser terms Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
…llscreen Two conflicts, both a collection-time comment beside an import both sides kept (entryReadsOnce-11797, itemDraftLine-12725): main's comment taken. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoFqGdRM9Qmg7M2o2B
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: ① Derived judgments
② Semver level
③ Boundary flags
Implemented-by: VERDICT: PASS No must-fix, no should-fix. |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — ACCEPT · L1 · head
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 维护者速读
席位意见:通过。上轮的必改项和应改项都已修好;9 个关键测试逐一撤回改动后都会变红;两次合并主干都干净;检查全绿。剩 3 处小瑕疵(速读行数、正文里的 CI 计数、一个测试只验了参数),不影响合并。与 #37166、#37169 有冲突,后落地的那张合入主干。 Hand-off · 2026-11-25T08:17Z · @os-zhuang — PR #37168 (card #36904) is ready for your review. Tier H by size (4,177 changed lines). Seat ACCEPT 7156828103 and contract review PASS 7156818159 (TIER_DEFAULT), Head-sha |
…side the flow designer; the designer-item history exemption goes with the last pillar type) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
Fixes #36904
Refs #36513 (its section 一, the tab order, is delivered here; its section 二 was superseded by epic #36890)
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
/studio/PKG/metadata/object/NAME, mounted by the "All metadata" area (StudioMetadataArea). The area decides it with the zone's shared designer-page helper from feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089:AREA_DESIGNER_PAGE_TYPES,areaItemOpensDesignerPage({ packageId, type })andareaDesignerItemOf(pathname, segment), which readsnewas the create page, never an item. feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 landed first; this branch merged main, so the one list now holds both types,['permission', 'object'], andAreaItemOpenmounts the permission set's matrix or the object designer by type. For an object, the environment scope and?review=1keep the generic page, as the pillar did (areaItemAsksGenericPage, shared withareaItemPillarPath); the permission page keeps feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089's behaviour and opens on any query. The header is the shared full-screen item header (ResourceDetailHeader): × back to the object list with the list's filter and sort, ‹ › through the list, Esc. No switcher, no "open in app" (epic decision 7).DataPillartakesobjectNameand designs that one object: the object rail, its search and customization filter, the in-page 新建 dialog and the empty-package state are gone. Creating an object is the object list's 「新建」 (MetadataListCreateDialog, Studio 重构(1-1b):元数据列表换成 ObjectGrid,所有类型同一种表格;「新建」在只读底包上落到配对的 .custom 包 #36897), which already has the OWD choice, the app-menu join and the read-only base's.customlanding; checked before deleting this copy.objectDesignerTabs.ts). Narrow columns fold Hooks and API into "Advanced" first (below 1200px), then the other three (below 1000px); each trigger's menu lists only what is folded at its width (dataTabsFold.ts). The five header icons became tabs through the sharedItemToolTabs(hand-off brief): References, History (audit log inside), Source (layers inside). The open tab is?tab=in the address, carried by ‹ ›.objectleavesSTUDIO_ITEM_PILLAR, so everystudioItemPathproducer opens the new address: the app's 「对象设置」 (appStudioObjectPath), the record page's 「配置页面」 (recordTabsStudioPath), ⌘K, the AI artifact link, and the switched-off action link (?action=NAMEon the new address)./studio/PKG/dataredirects (dataPillarRedirect): with?surface=object:NAMEto that object's designer (?action=kept;?view=,?nav=dropped), otherwise to the object list (?changes=review, the server's draft-review link, kept). A.custompair's old address lands on the pair's own area. An object request from the Changes sheet navigates to the object's address in the package that holds the draft (draftScope: on a read-only base, its.custompair).AreaHistoryRedirect: objects no longer take the designer-item exemption (/metadata/object/NAME/historyopens the designer's History tab). The line itself stays for flows until Studio 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址 #36903; removing it now would send a flow's history to the flow pillar and lose it.?surface=, which the new address does not carry, so it now also reads it from the designer's address (areaDesignerItemOf, as feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 does).error); it is now its own state. The retired-Interfaces notice is latched on the landing path, not the pillar, since the home is the area's object list now.This rework round (L1 7149684173)
StudioDesignSurface.heldDataLeave-26705, new top-level describe): an unsaved edit that is not held asks on › and ×; an edit whose Save was refused asks; a saved edit leaves without asking; nothing pending leaves at once and sends nothing.draftScope ?? packageId(StudioDesignSurface.tsx), pinned inheldDataCreate-26845(a read-only base with a listed pair lands on the pair's address)./metadata/object/X/historyopens the designer on History (StudioMetadataArea.routes-28561);?tab=hooksand?tab=historyopen those tabs,?tab=nonsenseopens Records (DataPillar.flatTabs-12450).copilotChangesLine-34725asserts the partly-refused discard's message is still on screen after the object re-read.studioSurfaceContext(the object, its history address, and the create page, the list and a generic item naming nothing) andstudioSurfaceLabel-8219(the chip shows the label only for the object the address names).ui/packages/app-shell/README.mdsends an object to its designer's address; the changeset is rewritten in user terms.areaItemOpensObjectDesignerandmetadataAddressArtifactare replaced by feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089's helper (above); after feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 landed, main is merged and the list holds both types.objMissing,DataPillar.tsx; pinned indraftOnlyNoLayers-12508).publishCreated,If-None-Match: *), as the flow create does, so an object another writer published under the name since the check is refused, not replaced. Pinned inMetadataListCreateDialog.pairCreate-36897, with the in-package taken notice and its Open.SidebarItemMenu.tsx,studioAddressTable.ts,studioInterfacesRetired.ts, the header-label comment inDataPillar.tsx, which now says what the code does: the draft's label when there is one); two controls carried over (a package with no namespace previews and saves the bare identifier, inMetadataListCreateDialog.pairCreate-36897; a label-less draft-only object is titled by its name, inDataPillar.draftOnlyNoLayers-12508). N7:areaDesignerItemOfreads/metadata/object/newas the create page.Tests
objectDesignerTabs.test.ts(order word for word, address round trip, tool tabs, values that open nothing);metadataArea.test.ts(the designer-page helper,dataPillarRedirect,areaDesignerItemOf);DataPillar.flatTabs-12450rewritten for the ruled order, the two-step fold and?tab=.MetadataListCreateDialog.pairCreate-36897; the app-menu join suite, the OWD select, the labels and the taken-identifier object block ontoMetadataListCreateDialog.objectName, area routes).StudioDesignSurface.emptyPackage(no in-page empty state),StudioDesignSurface.createObjectOwd(duplicated inMetadataListCreateDialog.pairCreate-36897: chosen and defaultsharingModel,mode: 'draft'),DataPillar.railSwitchFlush-27511(its four cases now on the designer's × and ›,heldDataLeave-26705),DataPillar.surfaceRequest(the pillar's own live-request apply; the surface's navigation is pinned inheldDataCreate-26845),DataPillar.draftObjectLabel-11843(the rail's label read; the header's label is pinned indraftOnlyNoLayers-12508, both the labelled and the label-less draft),StudioDesignSurface.aiApplyRefresh(the rail growing on the pulse); and the rail-only cases insideautosaveSwitch-11232,celGate,actionDeepLink-34724,heldDataLeave-26705(the rail switch case became × back to the list),StudioRail.noMatches-26733(Data rail),oneSurface-28572(pair rows on the rail).Local runs at a9e7bb7, the CI follow-up at 562d068, the main merges at 046762e and 64a5a2d, and the seat's additions at d09f2b3 / 2bf127d
Main merge after #37185,
64a5a2d7: app-shell closure rebuilt (VERDICT exit 0); app-shell type-check 0error TS(VERDICT exit 0); every app-shell suite naming the designer, the area, the copilot, the menu model, the permission page, the access redirect or the create dialog, plus every app-shell test #37185 touched (359 files):Test Files 359 passed (359),Tests 3237 passed (3237), VERDICT exit 0.dispatch-gates --commands(39 families) all exit 0;--ran"39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN". Declared narrowing:pnpm --dir ui exec vitest run scripts/was killed by the container's memory limit at the default worker count (twice, once with nothing else running), so it ran with--maxWorkers=2:Test Files 172 passed | 2 skipped (174), exit 0; CI runs it at its own width.check:test-source-aliasexit 0; overlap-check: origin/main merges cleanly.Seat additions,
d09f2b31(code) and2bf127d4(changeset wording): the create dialog's suites plus the create-adjacent surface suites (8 files):Test Files 8 passed (8),Tests 67 passed (67), VERDICT exit 0; app-shell type-check 0error TS(VERDICT exit 0); eslint 0 errors, no warning on an added line;check:test-source-alias,check:nul-bytes,check:cross-package-test-inputsandcheck-empty-changesetexit 0; overlap-check: origin/main0a1b69c0merges cleanly.CI at the head,
64a5a2d7: 62 check-runs, 47 success, 15 skipped, 0 failed. CI at2bf127d4: the same, 45 success, 13 skipped, 0 failed. CI at046762e5: 58 check-runs, 45 success, 13 skipped, 0 failed (Test UI, Type Check UI, Lint UI, Build & E2E UI, Live E2E UI, Test Core, Dogfood Regression Gate, Governed Surface Queue Guard, Check Changeset, Check PR Size among the successes).Main merge,
046762e5(after #37089 landed; 139 files, +1,601 / −2,489 = 4,090 changed lines against the new merge base):pnpm install, then the app-shell dependency closure rebuilt (lock VERDICT command-exit 0); app-shell type-check 0error TS(VERDICT exit 0); every app-shell suite naming the designer, the area, the copilot, the menu model, the permission page or the access redirect (258 files):Test Files 258 passed (258),Tests 2237 passed (2237), VERDICT exit 0;dispatch-gates --commands(39 families) all exit 0,--ran"39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN" (a derived zero); overlap-check: origin/main8b74082fmerges cleanly.Tree of
a9e7bb72= tree of the tested commit3b4d4722(79415e13, compared byte for byte; the commits were reworded for the trailer rule before the push, no file changed).CI follow-up,
562d0689: Test UI (5/16) failed ata9e7bb72onobjectDesignerTabs.test.ts's order pin (this card's own test, unchanged this round): the studio namespace fetches its zh catalogue on demand, so in a worker where no earlier suite had loaded it,t(key, 'zh-CN')answered English. Reproduced locally by running the file alone (1 failed); fixed with the module-topawait loadStudioCatalogue('zh')other suites use (alone: 4 passed); app-shell type-check 0error TS(VERDICT exit 0);check:test-source-aliasexit 0; overlap-check: origin/main merges cleanly.Test Files 10 passed (10),Tests 103 passed (103), lock VERDICT command-exit 0 (before the not-found fix; its suite is in the broad run below).DataPillar,StudioDesignSurface,StudioMetadataArea,StudioAiCopilot,metadataAreaor ametadata/objectaddress (259 files):Test Files 259 passed (259),Tests 2211 passed (2211), lock VERDICT command-exit 0.@object-ui/app-shelltype-check (srctsc --noEmit, thentsconfig.test.json): 0error TS, lock VERDICT command-exit 0. eslint--no-inline-configon the edited files: 0 errors (40 warnings, none in a line this round added).dispatch-gates --commands(39 families): all 39 exit 0;--ranreconciliation: "39 derived, 39 run, 0 NOT-MEASURED, 0 UNRUN", a derived zero. Re-run at3b4d4722after the last commits:check:test-source-alias,check:cross-package-test-inputs,check:nul-bytes,check-empty-changeset,check-changeset-no-major, each exit 0.overlap-checkbefore the push: origin/main merges cleanly; the sibling drafts conflict textually (Acceptance notes).Ablations, each through
scripts/ablation-replace.mjson committed code, restored,git diff HEADempty after (the app-shell suites import the source, so no build leg):unsavedPillarWorkwithoutsaveBar.dirty(M1)packageId(S2)?tab=(S3)?tab=hooksand?tab=historyerror(S4)objMissingalways false (N8)publishCreateddropped (d09f2b31)d09f2b31)Acceptance notes
engine.studio.data.createTaken(read again) and offers 「打开」, which opens that object's designer (studioItemPath). When the holder is elsewhere, it keepscreateTakenElsewhereand offers no Open. TheonOpenExistingprop has the same shape as feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169's flow side.@object-ui/i18n@18.6.0keys this PR leaves unread are kept (the optional drop from ruling 7153326968 is not taken).Clause-②staysno.useRequestedSurfacehas no product reader left after this card; Studio 重构(4-1):删掉分区路由和残留(:packageId/:tab 路由、AREA_PILLAR_FOR_TYPE、pillar 文案、旧 Studio 应用的菜单项) #36909 (route and remnant deletion) removes it with the pillar routes./interfaces→/data→ the object list, two hops; the hop through/datagoes when Studio 重构(4-1):删掉分区路由和残留(:packageId/:tab 路由、AREA_PILLAR_FOR_TYPE、pillar 文案、旧 Studio 应用的菜单项) #36909 retiresSTUDIO_HOME_PILLARand the pillar routes. Only the stale comments are fixed here.@object-ui/i18nstring,engine.form.objectNotFound) under the header, whose × goes back to the list.AreaHistoryRedirect's designer-item exemption line now serves flows only; Studio 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址 #36903 deletes it when the flow designer moves./studio/BASE/data?surface=object:PAIR_OBJECT(what the retired rail mirrored for an object the.custompair adds) now redirects to the base's area, where that name does not resolve; the pair's own address works, and the object list and the Changes sheet link pair objects to it.StudioDesignSurface.tsx, the Data pillar mount removed here.64a5a2d7): two conflicts, each resolved by hand.StudioDesignSurface.entryReadsOnce-11797.test.tsxandStudioDesignSurface.itemDraftLine-12725.test.tsxboth kept the collection-time@object-ui/plugin-detailimport; only main's explanatory comment beside it differed, and main's comment was taken.StudioDesignSurface.readOnlyPosture-12453.test.tsxauto-merged and keeps both sides: this PR's designer address inPILLARSand fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185's header-carrying fetch doubles. Sibling drafts feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) #37169 (Studio 重构(3-1):流程设计器在元数据地址上右侧全屏打开,去掉流程左侧列表,流程类型切到新地址 #36903, flow designer) and feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 still conflict textually; whichever lands later merges main.Verification
Read first (risk order):
views/studio-design/DataPillar.tsx(the removed rail and create, the header and tab block),views/studio-design/StudioMetadataArea.tsx+metadataArea.ts(the mount, the designer-page helper anddataPillarRedirect),views/studio-design/StudioDesignSurface.tsx(the/dataredirect,requestSurfaceandunsavedPillarWork).Two-minute check: on the showcase app, open an app's 「对象设置」. Expected: the URL is
/studio/PKG/metadata/object/NAME, the designer fills the right pane with no object column, the tabs read 记录、字段布局、验证、操作、设置、钩子、API、被引用、历史、源码; › opens the next object on the same tab; × returns to the object list.Browser walk (rework S1), showcase
Run at
a9e7bb72on a live stack: the showcase backend (objectstack dev --seed-admin, its own port and database, closure built at this head) with the Console's dev server from this branch'sui/source, Chromium through Playwright, signed in as the seeded admin. In this bootcom.example.showcaseis a read-only package, so the walk also covers the.custompair. Every step below passed unless it says otherwise./studio/com.example.showcase/metadata/object/showcase_account?package=…; the designer fills the right pane beside the left menu, no object column; tab row Records, Field layout, Validations, Actions, Settings, (Hooks, API folded into Advanced at this width), Referenced by, History, Source; ‹ 1 / 24 ›?tab=hooks; › openedshowcase_announcementon the same tab,2 / 24?tab=history, the History panel/studio/com.example.showcase/metadata/object?package=…/studio/PKG/data?surface=object:showcase_account&view=x&action=nope/metadata/object/showcase_account?action=nope&package=…&tab=actions(viewdropped)/studio/PKG/data/metadata/object/showcase_account/history?tab=history/studio/com.example.showcase/metadata/object/showcase_account?package=…, the designer/studio/com.example.showcase.custom/metadata/object/showcase_custom_walk_gadget?package=com.example.showcase.custom, the designer open on it/metadata/object/no_such_object_36904objMissinginDataPillar.tsx, pin indraftOnlyNoLayers-12508); re-run: "Object not found" with the name, × in the headerConsole: 36
Failed to load resourceerrors over the whole walk; the five read were a 401 (before sign-in) and 404s. Not traced one by one, and nothing on screen failed.HotCRM: NOT MEASURED. Reason: this session's GitHub access is scoped to
objectstack-ai/objectstack, so the HotCRM app (its own repository) cannot be cloned and booted here. The HotCRM leg the card names carries to #36910 (the end-to-end walk-through card) as NOT MEASURED, with this reason.Generated by Claude Code