Repository navigation
feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903) - #37169
feat(studio): the flow designer opens full-screen on its metadata address; no flow rail (#36903)#37169objectstack-fleet[bot] wants to merge 29 commits into
Conversation
…on the area (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…, the old address redirect (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…create pins on the list dialog (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…'s address (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYkkwuF6UuFtu85Yd5H Co-authored-by: Claude <noreply@anthropic.com>
…-only cases (#36903) 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>
…ow-designer-fullscreen
…ge-less scope's flow leg on its own helper (#36903) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
… the list, another flow is another address, the area's read-only gate (#36903) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
…low's page (#36903) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
…dynamic imports at collection; the changeset names the review links (#36903) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
…orts and a dead assignment go (#36903) Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QSeKYoua951EYpayDLjTom
|
repo:objectstack#4 · os-justin · session_01QSeKYkkwuF6UuFtu85Yd5H Finalized head for L1 · 2026-11-25T03:31Z ·
|
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ Contract reviewServed-tier: Full review of this head, made without the L1's conclusions. Inputs:
The recogniser decides no face from the paths and defers to the changeset. The changeset reads ① Derived judgmentsPublished
i18n, checked against the released tarball. I read
M1 (must-fix) — the PR removes 10 locale keys that
Redirects. Each is judged against what the retired pillar wrote to the address bar at the merge base.
S1 (should-fix) — no case pins the pair class of old flow bookmarks, and the old pin was repointed rather than kept as a redirect case.
Unsaved-edits guards. ×, ‹ ›, the menu and a reload are pinned with a no-edit CONTROL in api-surface baselines. The only baselines are Accept sets. No schema, spec or authorable key moves.
N1 (nit) — the last case of ② Semver levelThe changeset has
③ Boundary flags
Implemented-by: VERDICT: FAIL |
|
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ 席位核对 — REWORK · L1 · head
|
…e leave guard of an unsaved, not-held flow edit (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
… button (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
…taken flow identifier in this package offers to open it (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
… the flow's address, a pair-added flow writable with its chip (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
…er's address tab are pinned on the real designer (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
…nce — change a packaged flow in its package, with New similar (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
…et in user terms; stale comments go; the Restore case reads the header's title (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
…r beside the flow designer) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
… dialog needs no router; the home-loop case opens on the Data pillar (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
…longer reads, declared for 19.0.0 (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
…h beside the flow's ⋯ menu) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
… designer page, as main did for the permission set; the copilot's ~org leg says why it is dormant (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
…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>
…sharing overview or the area; no type opens a pillar; review links in user terms in the changeset (#36903) Claude-Session: https://claude.ai/code/session_01QSeKYnHH41MS5hWVGPia4F Co-authored-by: Claude <noreply@anthropic.com>
Fixes #36903
Clause-②: yes (narrowing)
Metadata-protocol: none
Skills-docs: none — no page under
skills/orcontent/docs/names the Automations rail's strings or teaches overriding a Studio console string维护者速读
What changes
/studio/PACKAGE/metadata/flow/NAMEmounts the designer (AutomationsPillar, now fixed on one flow named by the route). The area decides it through the shared designer-page helper inmetadataArea.ts(AREA_DESIGNER_PAGE_TYPES,areaItemOpensDesignerPage,areaDesignerItemOf), now on main from feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089; after the merge the list is['permission', 'flow']. Header: the shared full-screen item header (ResourceDetailHeader): × back to the list with its filters, ‹ › in the list's order (decision 10), title, type, package, and the flow's ⋯ (New similar, Delete). Tabs: Canvas, Variables, Runs, Problems, Debug, then References, History, Source fromitem-tools/ItemToolTabs(hand-off §2); the open tab is?tab=(flowDesignerTabs.ts).MetadataListCreateDialog, same presets).engine.studio.auto.*keys only the rail read (heading,none,emptyMain,group.noObject,kind.record,kind.scheduled,kind.screen,kind.autolaunched,legend) are removed fromenandzhof@object-ui/i18n's studio namespace. The changeset declaresClause-②: yes (narrowing), carries the BREAKING note, the ADR-0087not-required (no-migration-prescription)disposition and a 「Removed translation keys」 list, and keeps'@object-ui/i18n': patch(the onemajoris 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223's).engine.studio.org.noneis kept: S5 reads it.flowleavesSTUDIO_ITEM_PILLAR(after the merge onlyobjectis left), sostudioItemPath, ⌘K, the AI artifact links and the Changes drawer open the new address. Old addresses redirect (automationsPillarRedirect.ts):/automations?surface=flow:NAMEto the flow, bare/automationsto the list;?view=/?nav=dropped, everything else kept (including?changes=review).~orgflows live on the package-less scope's own area leg: list/studio/~org/metadata/flow?source=runtime, flow/studio/~org/metadata/flow/NAME?source=runtime. Its list offers no 「新建」, and when it is empty it says how a packaged flow is changed instead (engine.studio.org.none, ADR-0146 D11), through a new optionalemptyListHinton the area host. An empty, unsearched list there reads as empty, not as "No matches for """.{ pillar: STUDIO_METADATA_AREA, artifact }, the same block as feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 (on main) and feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168, plusorgScopeFlowOffor the~orgleg.?review=1and?scope=environmentkeep an item on the generic item page throughareaItemAsksGenericPage, with feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168's text, for a designer type whose generic page serves that review (the flow). A type whose item page is its own editor (registerMetadataResource'sEditPage: the permission set's matrix) has no generic review, so it keeps its designer page, exactly as main does. See Acceptance notes.engine.studio.auto.createTaken) and offers Open, to the flow's address, when the flow holding the identifier is this package's;createTakenElsewhereotherwise.useMetadataRefreshNonce) and its current-item report (onSurfaceLabelChange). Studio Save: the object extension, hook, action and flow editors still publish unpinned, so two admins saving one of them, the later save silently overwrites the earlier (after #36601) #36726's pinned publish on Save and on the switch is unchanged; the list dialog's flow create publishes withpublishCreated.packages/specchange; the column question is a fork for the maintainer.Empty state and old deep links (card item 7)
~orginstead (objectui#11553)./studio/PACKAGE/automations,/studio/BASE.custom/automationsand/studio/~org/automationslinks redirect as above.…/metadata/flow/NAME/historyopens the History tab.Tests
heldFlowLeave-26705: an unsaved, NOT held edit. × asks, Cancel keeps the edit, OK lands on the list with nothing sent; › the same, onto the next flow; CONTROL: after Save neither asks. The Changes sheet's flow request: over a dirty or a held edit it asks, then lands; on the open flow it does nothing; CONTROL: no edit, no question.packageLessFlows-11553, through the real surface: the old address of a package flow lands on its address with the designer open; a read-only base's old address naming a pair-added flow lands on the base's address, writable, with the pair chip; the pair's old address lands on the pair's own address; CONTROL: the base's own flow stays read-only. Also the~orgChanges request landing on the scope's flow, and the empty~orglist's guidance.tabs-12454:?tab=runsand?tab=historyopen their panel on the real designer; CONTROL: no tab, Canvas.createTaken-26917: a published flow in this package readscreateTakenand Open lands on/studio/PKG/metadata/flow/escalate; another package's keepsElsewhereand no Open.aiChipLabel: repinned to{ pillar: 'metadata', artifact }.customizeFlow-28570: the Restore dialog's label is read off the header's title.AutomationsPillar.*suites and theStudioDesignSurface.*/StudioMetadataArea.*suites that open a flow, converted to the address. Deleted as rail-only, each with the pin that covers what is left:AutomationsPillar.railSearch-11794,FlowStatusDot,FlowStatusDot.registration-12349,StudioDesignSurface.railUnboundReason-11281(the unbound reason is on the header's Status pill,flowStatusTruth-11779),.automationsRailOrder-12612,.draftObjectFlowGroup-29706, and the rail cases in.emptyStates-12514,.homeLoop-12513,.oneSurface-28572,.autosaveSwitch-11232,.heldFlowCreate-26845,StudioRail.noMatches-26733. New pins:automationsPillarRedirect.test.ts,flowDesignerTabs.test.ts, the helper and predicate cases inmetadataArea.test.ts, the designer and/historyroutes inStudioMetadataArea.routes-28561.Ablations (each: committed fix, anchored mutation through the ablation-replace script, restored to the HEAD blob)
dirty: autoDirty→dirty: falseatAutomationsPillar.tsx:803: the two new guard cases go red onexpected "vi.fn()" to be called 1 times, but got 0 times(lines 315, 338), the CONTROL goes red on Save not offered, and the 5 held-step cases stay green (Tests 3 failed | 5 passed (8)). Restored: blob068563e042de== HEAD,git diff HEADempty.here: own.some(…)→here: false: the in-package case goes red, the others stay green (1 failed | 9 passed (10)). Restored: blobc5263910bff6== HEAD.emptyListHintspread deleted: the empty~orglist case goes red (1 failed | 23 passed (24)). Restored: blob5386130ea404== HEAD.Local readings (final head first; earlier heads named)
d3e30576(on top of3f65d38b, below): app-shell type-check exit 0.StudioMetadataArea.*,StudioPermissionSetPage.*,metadataArea.*,packageLessFlows-11553,heldFlowLeave-26705,oneSurface-28572andAppContent.setupMetadataStudio-28578: Test Files 8 passed (8), Tests 218 passed (218). Ablation as above. Full dogfood battery ond3e30576under the lock: Test Files 487 passed, 3 skipped (490); Tests 4128 passed, 68 skipped (4196); VERDICT command-exit 0.check:test-source-alias: exit 0 before the push. CI ond3e30576: 58 check-runs, 45 success, 13 skipped, 0 failed.3f65d38b(the second merge oforigin/main, at6211ddf4). app-shell type-check: exit 0.studio-design,metadata-admin,CommandPalette.studioScope-11863,console/ai,packages/i18n/andclickableNonControlCensus-13461: Test Files 1265 passed (1265), Tests 13230 passed, 14 skipped (VERDICT command-exit 0). Full dogfood battery,pnpm --filter @objectstack/dogfood testunder the lock: Test Files 487 passed, 3 skipped (490); Tests 4128 passed, 68 skipped (4196); VERDICT command-exit 0. The derived gate list is unchanged (38); its 36 light families re-ran, all exit 0.check:test-source-alias: exit 0 before the push.overlap-check:origin/mainmerges cleanly; feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 and feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 conflict.origin/mainat3f65d38b: 94 files, +2,235 / −2,787.576f67d3.check-adr-0087-registration --base origin/main: exit 0, one declared-breaking changeset withnot-required (no-migration-prescription).check-changeset-no-major: exit 0.check-empty-changeset: exit 0.uicheck:i18n-keys,check:i18n-drift,check:i18n-dead-keys: exit 0 each.packages/i18n/plusplainLanguage-11659,studio-locale.i18nandpackageLessFlows-11553: Test Files 114 passed (114), Tests 2060 passed, 13 skipped (VERDICT command-exit 0). app-shell type-check: exit 0. The 36 light derived families re-run: all exit 0. Full dogfood battery (owed by the(narrowing)arm),pnpm --filter @objectstack/dogfood testunder the lock: Test Files 487 passed, 3 skipped (490); Tests 4128 passed, 68 skipped (4196); VERDICT command-exit 0.check:test-source-alias: exit 0 before the push.pnpm --filter @object-ui/app-shell type-check(src andtsconfig.test.json): exit 0 on49bf2233, after the@object-ui/*dependency closure was rebuilt from this tree (turbo, 68 tasks).1d6b2854(the merge plus its seam fixes), overpackages/app-shell/src/views/studio-design,packages/app-shell/src/views/metadata-admin,CommandPalette.studioScope-11863,console/aiandclickableNonControlCensus-13461: Test Files 2 failed, 1150 passed (1152); Tests 3 failed, 11175 passed, 1 skipped. The failures came from the merge:homeLoop-12513opened on/access, which feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 turned into a redirect; andMetadataListCreateDialog.pairCreate-36897mounts the dialog without a router, where this round's Open useduseNavigate. Both are fixed at49bf2233, where the touched files re-ran: Test Files 24 passed (24), Tests 176 passed (176).dispatch-gates --commands: 38 families.--ranreconciliation: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN, all with exit codes, all 0.pnpm --dir ui exec vitest run scripts/was OOM-killed on its first run beside the full suite; re-run alone under the lock it exited 0 (Test Files 172 passed, 2 skipped).check:type-check-debtre-measured under the lock: OK, 0 raw errors.check:test-source-alias: exit 0 before each push.overlap-check:origin/mainmerges cleanly; feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168, feat(studio): remove the Studio home; /studio opens the last package or Setup > Packages #37166 and fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185 conflict (exit 1).--no-inline-config) over every changedui/file: 0 errors, 59 warnings.Acceptance notes
engine.studio.org.none, is read again by the~orglist (S5) and stays.studioAutomationCopy.plainLanguage-11659's heading case went with its row (N1, first option). The ~35 keys main had already removed are 大版本声明:18.6.0 已发布、主干已删除的界面文案统一写入发版说明(约 35 条) #37223's, not declared here.origin/mainatbc3ec37a, which holds feat(studio): a permission set opens full-screen at its metadata address; the sharing overview gets its own route #37089 (the permission designer). The merge unions the two designers:AREA_DESIGNER_PAGE_TYPES = ['permission', 'flow'],STUDIO_ITEM_PILLARkeepsobjectonly, andAreaItemOpenmountsAutomationsPillarfor a flow andStudioPermissionSetPagefor a set. Two consequences, both deliberate:?review=1keeps main's behaviour: it opens the matrix page. Seat 4 first chose uniform (A), on this branch's recommendation. Checking it showed the premise was false. For a type whose item page is its own editor, the generic page never draws:MetadataResourceEditPagehands the item to the registeredPermissionMatrixEditPage, which has no draft review. Neither it nor main'sStudioPermissionSetPagereads?review=1. Uniform would therefore have sent a set's review link to Setup's matrix editor, with no review sheet and outside the Studio page: a regression. SoAreaItemOpenasks the generic page only for a type with no ownEditPage. That is the flow here and the object in feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 (feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 should check the object's registry before relying on it). Pinned inroutes-28561(?review=1keeps the matrix page), and ablated: dropping theEditPageguard reds it,1 failed | 31 passed (32), restored to the HEAD blob. The flow's?review=1still opens the generic page and its review (the case beside it).AccessPillar.tsxandAutomationsPillar.tsxsetRailOpenboth go: both rails are gone.origin/mainagain at6211ddf4, after fix(app-shell,console): the shell package list, AI chat lists and studio-design reads and writes send the stored bearer token #37185 (the authenticated fetch) and feat(studio): one table holds the menu's type order and its 常用 / 高级 tier #37232 (the menu's type table) landed and the PR showed a conflict. Two files conflicted, each resolved so both sides survive:CommandPalette.studioScope-11863.test.tsx(one comment above the shared@object-ui/plugin-detailwarm-up; main's wording kept) andFlowItemMoreMenu.tsx(main'sauthFetchfor the clone door kept; theSTUDIO_HEADER_ICON_BUTTONimport this branch had dropped as unused stays dropped). feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 had still not merged, so the exemption below stands.AreaHistoryRedirect's designer-item exemption (pillarItem) is kept. feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168 had not merged into main atbc3ec37a, so under seat 4's routing the deletion is feat(studio): the object designer opens full-screen on its metadata address, tabs in #36513's order #37168's when it lands second. At this head it coversobjectalone;routes-28561's object CONTROL still pins it./studio/~org/automationscomments insrc/index.tsandstudioScope.tsnow name the scope's area addresses.title="API name: …"predates this PR: main's pillar header set the sametitleProps.title, and 20 test lookups across 15 suites key on it. A cut label's hover still shows the API name; the changeset now names the api-name chip instead of a tooltip.orgScopeFlowOf(seat 4: keep it): a one-line comment at the leg says it is dormant because the package-less scope mounts no copilot (objectui#11553). No surface-level~orgcopilot case is possible: the package-less scope mounts no copilot (slotHostneeds a package, objectui#11553;packageLessFlows-11553pinschatDock.mounts === 0). The~orgleg's context is pinned on the pureorgScopeFlowOfinmetadataArea.test.ts.docs/qa/platform-checklist/areas/studio-authoring.jsonitems still describe the deleted rail and the~orgpillar:automations-rail-and-new-flow,org-scope-flows,flow-status-matches-runtime,flow-edge-type-authoring. They carry to Studio 重构(4-2):新形态的端到端测试、总走查,更新平台测试清单、文档和技能里的 Studio 地址与说法 #36910, whose item 3 owns that rewrite.5d9bb8dawas 47 success and 15 skipped, and "Check PR Size" was skipped, not passed.auto-canvas-caption), so it still cross-checks the dialog.ui/packages/app-shell/README.md's package-less section describes the scope's area leg; the changeset is in user terms, with no route templates and no query parameters.@objectstack/lintand@object-ui/plugin-detailat module top, so the dynamic imports their source reaches are paid at collection (check:test-source-alias).origin/mainmerges cleanly. Whichever lands later merges main.groupFlowsByObject,withContributedFlowGroups,ContributedRailRow,useOpenContributor, the console's/studio/~orgbare route, and producers still writing the old/automations(all redirect).Verification
First read, by risk:
StudioMetadataArea.tsx(AreaItemOpen: the designer decision for both types, the~orgleg),metadataArea.ts(the shared helper andareaItemAsksGenericPage),MetadataListCreateDialog.tsx(the taken-name branch).Two-minute check: open
/studio/com.example.showcase/automations?surface=flow:showcase_urgent_task_alert; expect the flow full-screen at/studio/com.example.showcase/metadata/flow/showcase_urgent_task_alert?package=com.example.showcase, with × to the list and ‹ › enabled.Live walk-through (showcase, earlier round, head 5d9bb8d)
Stack:
pnpm dev -- --fresh -p 38917afterpnpm build, and the Console dev server, driven with Playwright. It covered the list, the full-screen canvas, › and ×, a~orgflow, an old bookmark, bare/automationsand/history. No page errors. HotCRM was not walked: this container holds only this repository. This round adds no new screen path that the cases above do not drive through the real surface; it was not re-walked.Generated by Claude Code