Repository navigation
fix(studio): permission title, AI panel 正在看 line and field panel header use names, not internal names - #35082
Conversation
…mes, not internal names The open permission set's title is its label alone; the note under it and the tab-row note read in the builder's words. The Access and Automations rails report the open item's label to the copilot's 正在看 line. The Data rail's field panel draws one header row with one close button; the field's machine name stays under 开发者信息; the right slot's foot strip that repeated the 属性 | AI 助手 switch is gone. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa
…s for the edited slot tests Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa
…th the AI panel open Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa
|
repo:objectstack#3 · os-support-ai · session_01WGufzgQsdnyS4QdR8stjDa L1 review — #35082 (Part of #35018, PR 1: Studio items 1–3) · 2026-11-18T02:02ZL1: ACCEPT Surface. All 18 files are inside claim 6964950830 (PR 1 slice) plus amendment 6966717997:
Item 1, permission page.
Item 2, 正在看. Access and Automations now report through
Item 3, field panel.
On the scope of the strip removal, which the requester asked me to weigh: I accept it as slot-wide.
Pins and ablations. The pins are Live (zh-CN 1280, self-built app, before and after) in
Clause-②: no and Metadata-protocol: none are correct: this is display wording and chrome only. Must-fix: none. Notes:
Landing: ordinary queue landing (not Tier H) via the seat. PR 2 (item 4, landing, |
|
repo:objectstack#3 · os-support-ai · session_01WGufzgQsdnyS4QdR8stjDa L1 delta review (L1-d) — #35082 · 2026-11-18T02:18ZL1: ACCEPT Delta from my ACCEPT on adeba01 (6966757774). The only new commit is 534a8d3, a merge of Merge-only check. For each of the 18 files, the PR's sorted Must-fix: none. Should-fix: none. Notes: CI on this head at review time was 1 success, 5 skipped, 16 in progress. Landing waits on all checks being green on 534a8d3. Landing: ordinary queue landing (not Tier H) once CI is green. PR 2 (item 4, |
|
repo:objectstack#3 · os-support-ai · session_01WGufzfrh8TiPJf1i2kMSoa Landing (area o3-H, for the owning seat) · 2026-11-18T02:40Z
State change: ready + auto-merge enabled. |
Requested by Yibo Wang · project thread
Part of #35018 (PR 1 of 2: card items 1–3, the Studio surfaces. Item 4, the landing page app cards and 最近访问, is PR 2.)
Clause-②: no
Metadata-protocol: none
维护者速读
permission · app_…_member_access,字段面板两行标题、两个关闭按钮。StudioDesignSurface.tsx(字段面板 InspectorShellHostProvider 那一段,和权限栏、自动化栏的「正在看」上报)、StudioRightSlot.tsx(去掉底部条)、PermissionMatrixEditor.tsx(标题一行)。meeting_name这类内部名。What changes
PermissionMatrixEditorStudio header: the title is the set's label alone.PermissionStudioChrome.appLabelandAccessPillar'spackageLabelprop (added by Studio 权限页:横幅和术语改成业务说法,批量按钮常显并用中文,对象不带内部名 #34795 only to prefix the title) are removed. The note under the title readsengine.studio.access.origin.app(随应用提供 / "Included with the app") instead ofperm.badge.package(包内置). The Setup page badge keepsperm.badge.package. The tab-row noteengine.studio.access.banner/bannerPairreads 本应用对象 · 发布后生效. Its hover texts (bannerTitle,bannerTitlePair,bannerTitleReadOnly) say "app" for "package" and no longer name a 「Save」 button.AccessPillarandAutomationsPillarreport the open item's label to the copilot throughonSurfaceLabelChange, the seam the Data and Interfaces pillars already use:权限 · LABEL(the record-visibility overview reads权限 · 谁能看到哪些记录) and流程 · LABEL(the label the flow canvas header reads). The chip's hover title keepstype · name, and the agent'scontext.surfaceis unchanged. The Interfaces rail already read labels on main (pinned byStudioDesignSurface.aiChipLabel), so it is not changed here.ObjectFieldInspectorunderInspectorShellHostProvider. This is the objectui#12488 seam the flow inspector uses. The rail'sStudioInspectorheader is now the only header: 字段属性, the field's label, the inspector's own actions (duplicate, reorder, ⋯ menu) portaled into its slot, and one close button. The machine name is no longer under the header. It stays in the inspector's collapsed 开发者信息.StudioRightSlotloses its foot strip. The header's 属性 | AI 助手 switch does the same thing and carries the same pending count.ObjectFieldInspector.tsxitself needed no change.studionamespace keys (lazy namespace, not the eager en pack):engine.studio.access.origin.app,engine.studio.copilot.subject.access,engine.studio.copilot.subject.flow. zh and en are kept in step.Why
Card #35018 items 1–3, measured on main in the card's browser walk and again in this PR's before leg (below).
Tests
Pins (card-named, beside each file's existing tests)
StudioDesignSurface.accessWording-34795.test.tsx: the title's text is exactly the set label (组织成员) and the header holds no app name. A new case checks that the note reads the origin key · default and that the header has no 包内置 and no 本包. The Studio 权限页:横幅和术语改成业务说法,批量按钮常显并用中文,对象不带内部名 #34795 "app · set label" case is rewritten to the card's ruling.StudioDesignSurface.aiChipLabel.test.tsx: a new describe mounts the real surface, dock and ChatPane at/access?surface=permission:SETand/automations?surface=flow:FLOW. The chip reads正在看:权限 · 组织成员/正在看:流程 · 新会议提醒, contains neitherpermission/flownor the machine name, its title istype · name, and the agent surface is the URL's.DataPillar.readOnlyRailReason-12303.test.tsx(real registeredObjectFieldInspector): exactly oneClosebutton in the rail, oneheader, the header titled by the field label and holding the ⋯ menu, the inspector hosted (inspector-shell-hosted). The field's machine name is not in the visible text by default. CONTROL: the developer section's API-name input becomes visible after its toggle.pillarsClaimSlot-12725,rightSlot-12725,leafColumnSelection-12725,kanbanCardSelection-12725and__tests__/studioRightSlot-12725now drive the header switch and assert no strip. The Studio badge text inaccessTabs-12456,accessPairCopy-29674andPermissionMatrixEditor.badge(studio site only) is updated.baseObjectExtension-28575reads the field's name from 开发者信息 instead of the header.Ablations (scripts/ablation-replace.mjs, at 992a138; each restored to HEAD, `git diff HEAD` empty)
const studioTitle = headerLabel || name;→ an app-prefixed title.accessWording-34795: 1 failed / 12 passed (the title case). Restored blob 91c0958ffd00 == HEAD.`${accessSubject} · ${currentSetLabel}`→undefined.aiChipLabel: 1 failed / 3 passed (the Access case, chip fell back totype · name). Restored blob f55bc71521c0 == HEAD.InspectorShellHostProvider value={{ … fieldHeaderSlot }}→value={null}.readOnlyRailReason-12303: 2 failed / 4 passed (one-header case and the ⋯-menu-in-header case). Restored blob f55bc71521c0 == HEAD.Suites (local, under os-verify-lock)
pnpm --dir ui exec vitest run packages/app-shell/src/views/studio-design/ …/PermissionMatrixEditor …/inspectors/at 21b627f: Test Files 626 passed, 1 failed (627). The one failure wasPermissionMatrixEditor.badgestudio site, fixed in 992a138. Re-run there: 3 files / 33 tests passed.pnpm --filter @object-ui/app-shell --filter @object-ui/i18n run type-check(src andtsconfig.test.json): exit 0.pnpm --dir ui exec vitest run scripts/: 171 files passed, 2 skipped. The first run was killed by the box's OOM killer while the studio suite ran beside it, so it reads NOT MEASURED. This re-run ran alone.check:test-source-aliaswere re-run there: exit 0.Acceptance notes
com.qa.mtg会议纪要, object 会议 with 会议名称, permission set 组织成员, flow 新会议提醒. Stand-in:/api/v1/ai/**answers an agents list with a build agent, so Studio serves its AI panel; no model is called. Before = the five changed source files checked out at the merge base, vite restarted with--force, served code checked withcurl. After = branch head, served code checked the same way.meeting_namevisible, foot strip present.meeting_namenot visible by default, no foot strip.StudioRightSlot.tsx, notObjectFieldInspector.tsx. The claim's PR 1 surface named the inspector file, so this file is an addition to the claim's surface. The strip is shared slot chrome, so it also goes on the Automations and Interfaces rails. Their property panels themselves (Studio 自动化栏与界面栏:节点和视图的属性面板先标签后内部名,删除收进菜单,导航项类型用中文 #34796) are not touched.Verification
Gates derived by
node scripts/pm/dispatch-gates.mjs --commands(38) pluspnpm check:changeset-fixed(a roster under.changeset/), run locally at 21b627f / 992a138. All exit 0, except three first-run reds, each resolved:pnpm check:test-source-alias: exit 1 (two edited slot tests and the badge test lacked module-top preloads). Fixed in 992a138, re-run exit 0.pnpm check:type-check-debt: exit 3, PREREQUISITE NOT MET (its build did not get the lock). Re-run: exit 0, "0 ledger entr(ies) re-measured … none above its recorded number".pnpm --dir ui exec vitest run scripts/: SIGKILL (OOM, box contention). Re-run alone: exit 0.node scripts/check-platform-checklist.mjs --changed-from origin/main: exit 0 (no anchored files).pnpm --dir ui run check:new-line-citations: 0 new citations.node scripts/pm/overlap-check.mjs --branch=claude/issue-35018-studio-names-a: VERDICT clean (main, fix(objectql)!: a required field hidden by its own visibleWhen is required only when shown #34978, feat(ui): a timesheet list view, an editable row × weekday entry grid #34925 merge cleanly).🤖 Generated with Claude Code
https://claude.ai/code/session_01WGufzfrh8TiPJf1i2kMSoa