Repository navigation
feat(studio): flow node and list-view panels lead with labels; node delete moves to the title-bar menu; nav kinds read in words - #34983
Conversation
…the header menu, nav kinds read in words The flow node panel leads with its label; the node id sits in a collapsed "Developer info" section, and "Remove node" moves from the footer to the header's "···" menu (in Studio, the automation aside's title bar). Object sentences in the node panel name the object by its label, the object picker keeps the machine name on hover, and the node help says "formula" instead of "CEL expression". The new-automation dialog's name field reads "Automation name". The list-view panel drops the object.view machine name and shortens the not-yet-created sentence; its column rows keep field names on hover only. Studio's navigation editor badges each entry with the kind the navigation list shows. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
… names on hover and nav kind names Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…w the new wording The flow node panel lends object labels to its sentences from one catalog read, made only once a sentence names an object. Tests read "formula", the quoted object names, and Remove node from the header menu. Changeset added. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…udio-automation-interface
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…udio-automation-interface
…ay space before 公式 Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
check:test-source-alias judges the test files a change edits; each now imports @objectstack/lint (and @objectstack/formula where reached) at module top, so no clocked case pays the first load. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
|
repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB L1 review · 2026-11-17T21:49ZL1: ACCEPT What I read at this head
ChecklistShape. Draft, Scope. Every source file is in the claim or the amendment:
Changeset. Patches app-shell, i18n and console (the SPA bundle). Its text matches the diff, including the Decision-row carve-out. Code. I read each item against the card and the amendment.
Tests. The commands are real and exit codes are recorded. There are 3 new files with 11 cases, including three CONTROL cases: the canvas Delete key, a Docs. None made false. UI strings. Both new keys and every reworded value are in en and zh, which is all the lazy Must-fixNone. Should-fixNone. Notes
CI at review timeThere are 55 check-runs on this sha: 17 success, 13 skipped, 25 in progress (Test UI 1–16, Build & E2E UI, Type Check UI, Lint UI and several core lint/type lanes), 0 failed. Landing needs every run on the landing head green. RoutingL1 ACCEPT. No L2 is owed (N2), and the PR is not governed. The Decision-row alignment with #34955 (N1) is the seat's call. The area lands this PR once CI is fully green. |
…udio-automation-interface
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
… formula Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…式 too Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
|
repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB L1 delta review (#34796) · 2026-11-17T23:01ZL1: ACCEPT Delta from my ACCEPT 6961995376 at Must-fixNone. Should-fixNone. Delta read
Notes
|
|
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz Landing · area o3-C · head a70ab51
Dev-effort: high · Rounds: 2 State: ready + auto-merge now; on MERGED, #34796 closes via |
Requested by Yibo Wang · project thread
Fixes #34796
Clause-②: no
Metadata-protocol: none
维护者速读
对象.视图内部名,未创建提示缩成一句「改动先存为草稿。」,列行只显示字段名称、内部名放到悬停提示;导航编辑模式的类型标签改成与左侧列表一致的中文(对象 / 视图 / 仪表盘 / 页面)。ui/packages/app-shell/src/views/metadata-admin/inspectors/FlowNodeInspector.tsx(删除按钮移入菜单、开发者信息折叠)、ui/packages/app-shell/src/views/metadata-admin/inspectors/_shared.tsx(菜单经 portal 画进宿主标题栏)、ui/packages/app-shell/src/views/metadata-admin/inspectors/ObjectPicker.tsx(对象名称一次读取、按需读取)。node_1。What changes
All seven items of the card, in the Studio (
/studio/...) surfaces; Setup's designers are byte-identical in behaviour.FlowNodeInspectordrops the top-of-panel ID field; the ID (and the nested-node hint) now sits in adetailssection "Developer info" / 「开发者信息」 that starts closed, at the end of the panel.ObjectLabelsProvider(inObjectPicker.tsx) wraps the node panel and lends object labels touseObjectDisplayName, used by the "Targets / Updates the “{object}” record…" and "Fields of “{object}”." sentences. It reads the object catalog once per panel, and only after a sentence that names an object mounts (a panel naming no object reads nothing).ObjectPickergains an opt-innameOnHover(used byFlowReferenceField): no visible name line, machine name on the input'stitle. Studio-namespace values:kv.asExpression写成公式 / "Write as a formula",kv.expressionNeeded(the blank-formula notice) 这个值需要一个公式… / "This value needs a formula…", the expression and recipient placeholders, and the zh flow-field help table (metadata-admin/i18n.ts) for the trigger, Decision (branch help, theexpressioncolumn and its help, legacycondition), record, loop, map, HTTP, action, screen, subflow and notify rows say 公式; the Update Records filter help no longer namesrecordId; the zh Update Recordsmultirow is added (it showed English). The 「了解更多」 link is untouched.InspectorRemoveButtonis gone;headerActionscarries aDropdownMenuwhose item calls the sameremovehandler.InspectorShellHostgainsheaderActionsTarget; in hosted mode the shell portalsheaderActionsinto it.AutomationsPillarhands the aside'sStudioInspectoranactionsslot element and passes it as that target, so the menu sits in the automation panel's title bar. Read-only disables the trigger. The canvas Delete key is unchanged.engine.studio.auto.nameLabel自动化名称 / "Automation name".list-view-name(object.view) line is removed (the view id stays on the root asdata-view-id);listView.notCreatedis 改动先存为草稿。 / "Changes save as a draft first."ViewColumnPanes.FieldListRowtakesnameOnHover(prop, else the newFieldListRowNameOnHovercontext, default false);ObjectListViewInspectorprovidestrue. Setup provides nothing, so its rows still show thecodename.AppNavCanvastakes an optionalkindLabel; Studio passesnavKindName(the same words the navigation list tags entries with), so a kanban entry reads 视图. Setup passes nothing and keeps the raw type.New
studio-namespace keys (lazy namespace only):engine.inspector.flowNode.moreActions,engine.inspector.flowNode.developerInfo.engine.inspector.action.target.flow.label(「流程名称」, the action-target surface) is not touched. en strings are rewritten in the same plain spirit.Before / after (live, zh-CN, 1280×800, self-built app 会议纪要, object 会议 = huiyi_jiyao_huiyi)
IDfirst (ID, 标签, 节点类型…)标签; labels标签, 节点类型, 对象*, 筛选node_1in an always-visible fielddetailsclosed; id inputcheckVisibility()false, panelinnerTexthas nonode_1; after expanding: visiblehuiyi_jiyao_huiyiunder the picker, in 「目标为启动此流程的那条 huiyi_jiyao_huiyi 记录。」 and 「huiyi_jiyao_huiyi 的字段。」huiyi_jiyao_huiyiin panel text; picker value 会议,titlehuiyi_jiyao_huiyi; 「目标为启动此流程的那条「会议」记录。」, 「「会议」的字段。」CEL/recordIdin panel text···(insideauto-config-header-actions) → menu["删除节点"]→ node removed, no confirm dialog["流程名称", …]["自动化名称","标识",…], title 新建自动化huiyi_jiyao_huiyi.defaultline; long not-created paragraphobject.viewtext (data-view-idattribute only); 「改动先存为草稿。」codenametitle="name", 0codeelementsobjectInterfacesNavRail.editKinds-34796.test.tsxBackend for the live stack ran from
dist/built at the round-1 base (UI served from this branch's source by vite dev); none of the readings depend on the backend changes merged since.Tests
New:
inspectors/FlowNodeInspector.labelFirst-34796.test.tsx(6): Label first + closed Developer info holding the id; object by label with picker hover title; menu remove patch equalsedgesAfterNodeRemovaland clears selection; read-only trigger disabled, no menu item; control canvas Delete key makes the same removal; hosted portal into the host title-bar element.studio-design/ObjectListViewInspector.namesOnHover-34796.test.tsx(2): Studio rows label-only withtitle; controlFieldListRowwithout provider keeps thecodename.studio-design/InterfacesNavRail.editKinds-34796.test.tsx(3): zh object / view (kanban) / dashboard / page read 对象 / 视图 / 仪表盘 / 页面; en; control withoutkindLabelthe raw type.Updated (wording or the menu, behaviour unchanged):
FlowNodeInspector.test,.readOnlyReason-28985,.removeEdges-11772,.removeRefusal-11838,.connectorInputEnvelope-28164,.fieldValueMap-11788,.updateRecordTarget-27834,ResourceEditPage.inspectorReadOnlyReason-29079,FlowPreview.removeNode-11772,FlowPreview.nodeIdPositions-11838,FlowKeyValueField.valueEnvelope,.stackedRows-27356,FlowRecipientsField.test,flowValueSlots-12101,flowValueSlots-12372,inspectorStrings.i18n-10586,AutomationsPillar.problemsAgree-27799,InterfacesPillar.offNavListViews-30046,StudioDesignSurface.listViewSwitch-27896,StudioDesignSurface.listViewInspector-11823,ObjectListViewInspector.addView-27836,ObjectListViewInspector.displayTitle-13151. Edited tests also import@objectstack/lint(and@objectstack/formulawhere reached) at module top, ascheck:test-source-aliasasks.Ablations (each red, then restored; git diff HEAD empty after)
Run through
scripts/ablation-replace.mjs(anchor hit 1→0, restore blob == HEAD) underos-verify-lock:onSelect={remove}→ no-opdetails→details opentitle→ undefineduseObjectDisplayNamereturns the nameFieldListRowNameOnHoverproviderfalsekindText = kindFinal:
=== git diff HEAD (must be empty):printed nothing; lock VERDICT command-exit 0.Acceptance notes
engine.inspector.flowEdge.conditionHint(「CEL 表达式 —— 为真时走此连线」), the condition builder'sengine.condition.celLabel, and the list-view panel's conditional-formatting empty state (「添加一条以按 CEL 条件为行着色」). The engine-served en help for flow node fields (service-automationconfigSchema) and the en flow-node-config table are not reworded here.label (name).StudioNavItemInspector) still prints the entry id (nav_item_2) under its title; not in this card.FieldListRowNameOnHover) soFieldsListEditor.tsx, outside the amended claim, is untouched.Verification
Round 2 (gate and test readings at
c24eb5aad5, origin/maindb1a05cdaemerged, #34955 included). The final heada70ab517e2adds only the changeset wording; at that head the changeset families were re-run (check-changeset-no-major0,check-empty-changeset0,check:changeset-gate-self-tests0,check:nul-bytes0,check:closed-ceremony-text0) andoverlap-checkexited 0 before the push. Round-1 readings at0d906c6e7dare kept below.Round 2: derived gate families (38) and the --ran reconciliation
dispatch-gates --ran FILE --repo objectstack-ai/objectstack-> exit 0: "38 derived famil(ies) accounted for — 37 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)".NOT MEASURED:
check:type-check-debt, reason: os-verify-lock queue-timeout (exit 99) twice behind another seat's@objectstack/dogfoodrun (pid 30708, held 22+ min), so its re-measure never built; CI's run is the reading. The same gate exited 0 at0d906c6e7d; round 2 changes only zh/en string values. Thevitest run scripts/family ran with--maxWorkers=2.Round 2: tests, type-check, i18n gates, overlap
FlowNodeInspector*,inspectorStrings*, the zh flow-field table readers, feat(flow designer): add variables, say why Runs is empty, Debug takes the side column, and autosave reads 已保存 in the header #34955'sflow-node-config.zhPanel-34818,FlowVariablesPanel-34818,emptyCollection-8526,flowFieldChrome.i18n-10862-s4,StudioDesignSurface.flowAutosave-34818,FlowRunsPanel.render, thekv.expressionNeededreadersFlowKeyValueField.valueEnvelopeandAutomationsPillar.problemsAgree-27799, the three-34796tests) pluspackages/i18n/: 160 files, 2849 passed, 14 skipped (os-verify-lock VERDICT command-exit 0).pnpm --filter @object-ui/app-shell --filter @object-ui/i18n run type-check-> exit 0 (same lock run).check:i18n-drift0 (designer table: 9 en values changed, 9 zh followed) ·check:i18n-keys0 ·check:new-line-citations0 · rootcheck:i18n0 (after building its CLI prerequisite).check:i18n-coverageNOT MEASURED, reason: exit 3,examples/app-showcasecannot load an unbuilt@objectstack/connector-slack(example build closure); not a derived family for this diff.overlap-checkexit 0 before the push (fix(objectql)!: a required field hidden by its own visibleWhen is required only when shown #34978, feat(spec): a named import mapping's label is translatable at mappings.NAME.label #34976, feat(ui): a timesheet list view, an editable row × weekday entry grid #34925, feat(studio): switch an installed app's action on or off on the action, in Studio; retire Setup's Packaged Actions #34799 clean; branch 0 behind origin/main).Round 1 (head 0d906c6)
--ran38 run / 0 NOT-MEASURED. Edited tests 22 files / 221 passed; uiscripts/171 files / 5077 tests passed; wide run 841 files (4 failures inlistViewInspector-11823, fixed, 7/7); type-check app-shell + i18n exit 0.check:eager-closure0 on a fresh console build:i18n-locale-en60.4 KB / 78.7 KB ceiling (headroom 18.3 KB); ceiling untouched.check:eager-locale-catalogues0.StudioDesignSurface.tsxwas cleared by moving the slotuseStatethree lines down.Generated by Claude Code