Repository navigation
feat(studio): the permissions page speaks business wording; bulk buttons show on every row - #34914
Conversation
…ways shown 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
…collection; changeset 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
…ew names objects by label The plain sharing labels are longer than the old ones and wrapped inside the fixed-height chip. The package overview showed each object's machine name under its label; the name is now the label's tooltip. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
…udio-permissions-wording
…deways At 1440 px the Studio matrix is wider than its pane, so the always-shown strip's third and fourth buttons sat past the right edge. The bulk column is now pinned to the right edge, as the Object column is to the left. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
The hint shares its neighbourhood with an open flow-designer change, and every other pack still names the old label; one follow-up renames it in all packs and the Draft Changes default together. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WGufziunkXbDT7wUWqfmWz
|
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz CI red on 58be6ed ·
|
…udio-permissions-wording
…ty setting The Draft Changes refusal still sent the author to Settings → Record sharing, a label this branch renamed. All 11 packs and the panel's default now name Settings → Who can see which records. The permission e2e spec finds the Studio row by its label alone, as the row now reads; the environment table keeps the label-plus-name lookup. 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
|
repo:objectstack#3 · os-support-ai · session_01WGufzhshTXCAmv9KJXRZkB L1 review · 2026-11-17T17:28ZL1: REWORK This is the first L1 on this PR, a full read at this head:
Must-fixM1. A platform-checklist clause this PR makes false.
This PR draws the bulk strip on every row and deletes
Should-fixNone. What holds (no action)
Notes / nits
CI at review timeThere are 61 check-runs on this sha, 0 failed. Build & E2E UI, Live E2E UI, Lint UI, Type Check UI and Test UI 1–8 and 10–16 are green. Test UI 9/16 is re-running after a checkout timeout. A second Check Changeset run started at 17:26Z, after the body edit. Landing needs every run on the landing head green. RoutingREWORK on M1 only, a single docs/qa clause. The seat amends the surface, the fix round edits the clause, and the delta L1 reads that commit. No L2 is owed (Clause-② no) and the PR is not governed. |
…trip The studio-authoring checklist's read-only Access verify still said the object row's bulk appears only on hover or keyboard focus and cited engine.studio.access.bulkHint. Every object row now draws its bulk strip and that key is gone, so the clause says every row draws the strip and every button in it is disabled in read-only Studio. The FAIL condition (an operating bulk control) is unchanged. 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 · 2026-11-17T17:34ZL1: ACCEPT This supersedes REWORK 6955723311 at 5ba8869. The delta is one commit, f68ccf6, touching only M1 is closedThe permission-matrix-editor-ux item's
Every other finding of 6955723311 stands as written. "What holds" is unchanged, and the nits N1–N3 stay optional. Must-fixNone. Should-fixNone. CI at review timeThe run on this sha just started: 23 check-runs registered, 6 skipped, 17 in progress, 0 failed. The UI lanes have not registered yet. On 5ba8869 everything was green except Test UI 9/16, which was re-running. Landing needs every run on the landing head green. RoutingL1 ACCEPT. No L2 is owed (Clause-② no) and the PR is not governed. The area lands it once CI is fully green. |
|
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz Landing · area o3-C · head f68ccf6
State: ready + auto-merge now; on MERGED, #34795 closes via |
⛔ merge queue 构建失败 — 先分诊,再决定要不要重排队列构建 44142383288 红了。队列跑的是全量套件(PR 侧 CI 只跑 affected 子集), 分类: 失败的 job(日志抽取,best effort):
跨 PR 相同签名(24h,按失败测试文件聚合):
历史信号:
分诊清单:
Generated by Claude Code · merge-queue-triage workflow (#4859) |
|
repo:objectstack#3 · os-support-ai · session_01WGufziunkXbDT7wUWqfmWz Re-queue · head f68ccf6The queue removed this PR at 18:18Z. Its group's CI run 44142383288 failed only on |
Requested by Yibo Wang · project thread
Fixes #34795
Clause-②: no
Metadata-protocol: none
维护者速读
PermissionMatrixEditor.tsx(StudioObjectRow的批量按钮和固定在右侧的批量列、renderStudio的标题);namespaces/studio/zh.ts(engine.studio.access.suggest*一组文案);StudioDesignSurface.tsx(AccessPillar的左栏行和appLabel)。pnpm --dir ui exec vitest run packages/app-shell/src/views/studio-design/StudioDesignSurface.accessWording-34795.test.tsx,预期 12 个测试全部通过;或者用中文界面打开 Studio → 权限,预期每一行都能看到「全选 · 只读 · 清空 · 增删改查」,页面上不出现 OWD、CRUD 或权限集的内部名。What changes
The Studio Access pillar now reads in an app builder's words, in zh-CN and in English. It changes wording and presentation only. The permission model, the ADR-0090 D5/D9 suggestion and confirmation flow, and every request stay the same. ADR-0090 D4 holds: display labels change, stored
sharingModelvalues do not.dismissSuggestedBinding). The pending, not-in-force, dismissed, guest, confirm and toast lines use the same tone. Pending rows name the set by its label.appLabel · set label.AccessPillarpasses the package's name as the newPermissionStudioChrome.appLabel. The machine name moves to the title's tooltip, and the provenance, default and lock labels move to the line under the title. The title is not truncated: measured live,scrollWidth == clientWidth.engine.studio.access.bulkHint. The bulk column is pinned to the right edge of the scroll pane, the way the Object column is pinned to the left. Without that, the third and fourth buttons sat past the right edge at 1440 px (live reading below).defaulttag now uses the localizedperm.badge.default. The rail's OWD row and the pillar subtitle (对象 × CRUD) use the new terms. All of this falls under the card's acceptance line that the page shows no internal name, OWD or CRUD.Wording, old → new
engine.studio.access.suggestAcceptedStateengine.studio.access.suggestRevokeengine.studio.settings.sharing/access.colOwd/owd.railLabelperm.owd.private·public_read·public_read_writeengine.studio.owd.byParentengine.studio.access.tab.*perm.bulk.read·perm.bulk.crudperm.rls.title·perm.tabs.title·perm.field.systemCapabilitiesengine.studio.access.subtitlepreview.changes.securityBlockWhere(eager packs, all 11)perm.bulk.all/perm.bulk.nonewere already 全选 / 清空 (All / None) and are unchanged. Every changed key is a value edit. Most are in the lazystudionamespace (en and zh). One key was removed (bulkHint), and none was added. The only eager edit issecurityBlockWhere, changed in all 11 packs, and theDraftChangesPaneldefault value was changed to match it (seat ruling A, claim amendment on #34795). The new label is translated in the other packs, the same way the old one was.Reach: Setup's permission-set page
Setup reads some of the same keys, so it changes too, as the card expects:
perm.bulk.read/crud,perm.owd.*values,perm.rls.title,perm.tabs.titleandperm.field.systemCapabilities. Setup's layout is unchanged. The Setup-onlyperm.owd.chip/perm.owd.tipkeys are untouched, so Setup's column chip still reads 记录共享模型:只有负责人能看(默认) in zh andOWD Only the owner can see (default)in en.engine.studio.settings.sharing*also feeds the Data pillar's object settings panel, which now offers the same four labels.i18n budget
check-eager-closure-budget(pnpm --dir ui check:eager-closure) on a console built fromfafc1d6260, which carries the hint edit, exited 0. It read:i18n-locale-en 60.4 KB / 60.5 KB ceiling (headroom 0.2 KB), and the whole closure1896.8 KB gzipped across 103 of 2536 chunks (budget 2431.6 KB). The en value grew by 11 bytes raw. The ceiling is not edited.Tests
New tests:
StudioDesignSurface.accessWording-34795.test.tsx(12 tests, zh-CN):dismiss('sug_member')exactly once, with confirm and reopen never called;Everyone,OWDorCRUD, and the machine name stays reachable as the tooltip;PackageOwdOverviewPanel.objectName-34795.test.tsx(2 tests): the overview row shows the label with the machine name as tooltip, and an unlabelled object shows its name once.Existing tests updated because they asserted the old wording or the old markup:
StudioDesignSurface.accessTabs-12456: the header tooltip; the always-shown strip replaces the hover tests; the button order.StudioDesignSurface.accessGuard,StudioDesignSurface.pillarNavGuard: the renamed rail row; title lookups.StudioDesignSurface.accessPairCopy-29674,accessRailLabels-11862,accessCreateTaken-26836: the rail and header tooltip.ObjectSettingsPanel.test,ObjectSettingsPanel.designerRegistryMissing: the shared sharing labels.PackageOwdOverviewPanel.test: the shared sharing labels.DirectoryPage.stateVocabulary-29705:colOwdandperm.owd.private.PermissionMatrixEditor.columnHeaders-29729,.scope: the Setup chip text with the new value.PermissionMatrixEditor.rlsAddPolicyHold-13113,.serverVerdict-26858,.serverVerdictHold-27482,.packageDoorFacets: the renamed headings.PermissionMatrixEditor.bulkMergeKeys,.exportColumn-26885,.artifactTier,.readonly,.objectGrantInherited-27010: the bulk labels.PermissionMatrixEditor.gridChrome-27866: the object button's accessible name is now the label alone.DraftChangesPanel.securityProblems,DraftChangesPanel.securityLink: the refusal hint's new en wording. What they pin is unchanged: the panel names where to fix it.ui/e2e/permission-field-panel-scroll.spec.ts: the Studio row's expand button is found by its label-only name,^Project$. The environment-host lookup still matches label plus name, because the Setup table still prints both. The scroll assertions are unchanged.18 of these files gained module-top side-effect imports (
@objectstack/lint, plus@objectstack/formulaand@objectstack/spec/identityin the matrix files), ascheck:test-source-aliasrequires of an edited test file.Acceptance notes
objectstack devboots the showcase set as the baseline, so the panel draws nothing. The banner is covered by the zh-CN unit test above.bindingCreated. A row read back after a not-in-force confirmation therefore shows the in-force sentence. This behaviour is unchanged: only the wording is new.Verification
All local readings below are on head
5ba8869eae, after mergingorigin/mainat189358f212. CI runs the full farm, and its check-runs are the authoritative readings. On5ba8869eae,Build & E2E UIandLive E2E UIpass.ui/e2e/permission-field-panel-scroll.spec.tsin Chromium: 6 passed. A control run swapped the old label-plus-name lookup back in for the studio host and gotTimeoutError: locator.waitFor: Timeout 30000ms exceeded, the CI failure on58be6ed5. The spec was then restored to HEAD andgit diff HEADwas empty.DraftChangesPanel*,PermissionMatrixEditor*,StudioDesignSurface.access*,PackageOwdOverviewPanel*), 597/597 passed.@object-ui/i18ntests: 102 files, 1894 passed and 13 skipped. LockVERDICT command-exit 0.type-check,@object-ui/app-shelland@object-ui/i18n: bothDone,VERDICT command-exit 0.check:i18n-keys0;check:i18n-drift0 ("Every changed en value was followed by all 10 translation packs");check:new-line-citations0.gen:zh-hantregenerated zh-Hant from zh-Hans.check:eager-closure: exit 0,i18n-locale-en 60.4 KB / 60.5 KB.overlap-check:VERDICT clean exit 0againstorigin/mainand the open PRs feat(studio): the Records tab keeps Add field on screen, a header click opens the field, the name field leads, the inspector puts the label first #34926, feat(ui): a timesheet list view, an editable row × weekday entry grid #34925 (which shares the locale packs) and feat(studio): switch an installed app's action on or off on the action, in Studio; retire Setup's Packaged Actions #34799.Derived families: node scripts/pm/dispatch-gates.mjs --commands, 40 families, each with its exit code; --ran reconciliation: 40 derived, 40 run, 0 NOT-MEASURED
node scripts/check-adr-0087-registration.mjs --base origin/main: exit 0node scripts/check-adr-0087-registration.mjs --self-test: exit 0node scripts/check-changeset-no-major.mjs --base origin/main: exit 0node scripts/check-closing-keyword-parity.mjs: exit 0node scripts/check-closing-keyword-parity.mjs --self-test: exit 0node scripts/check-comment-mask-corpus.mjs: exit 0node scripts/check-empty-changeset.mjs --base origin/main: exit 0node scripts/check-empty-changeset.mjs --self-test: exit 0node scripts/check-sdui-manifest.mjs: exit 0node scripts/check-sdui-manifest.mjs --self-test: exit 0node scripts/ci/snapshot-next.mjs --self-test: exit 0node scripts/pm/check-governed-queue-guard.mjs --self-test: exit 0node scripts/pm/release-rehearsal-clone.mjs --self-test: exit 0node scripts/release-pending-publish.mjs --self-test: exit 0pnpm --dir ui exec vitest run scripts/: exit 0pnpm --filter @objectstack/spec run check:duration-unit-keys: exit 0pnpm check:adr-anchors: exit 0pnpm check:changeset-gate-self-tests: exit 0pnpm check:closed-ceremony-text: exit 0pnpm check:cross-package-test-inputs: exit 0pnpm check:dispatcher-error-vocabulary: exit 0pnpm check:driver-memory-census: exit 0pnpm check:engine-double-contract: exit 0pnpm check:gitlink-declared: exit 0pnpm check:merge-driver: exit 0pnpm check:nul-bytes: exit 0pnpm check:published-files: exit 0pnpm check:query-options-erasure: exit 0pnpm check:refd-timer-probe: exit 0pnpm check:registry-log-declared: exit 0pnpm check:rest-log-spy-declared: exit 0pnpm check:role-word: exit 0pnpm check:skill-identifier-liveness: exit 0pnpm check:test-source-alias: exit 0pnpm check:tier-file-adoption: exit 0pnpm check:type-check-coverage: exit 0pnpm check:type-check-debt: exit 0pnpm check:undeclared-dep-imports: exit 0pnpm check:watch-hint-literal: exit 0pnpm check:where-matcher: exit 0Ablations: each new behaviour mutated on disk with scripts/ablation-replace.mjs, then restored with git diff HEAD empty
git diff HEADemptygit diff HEADemptygit diff HEADemptyappLabeldropped from the chromegit diff HEADemptygit diff HEADemptyLive readings: zh-CN, Chromium, own objectstack dev backend (showcase) and console dev server
Studio → 权限 → 示例贡献者 (
showcase_contributor):ObjectStack Showcase · 示例贡献者, with tooltipshowcase_contributor. Not clipped at 1440 or 1920 px. The line under the title reads 包内置.Account (Success Overlay), with tooltipshowcase_account. Rail row: 示例贡献者, with tooltipshowcase_contributor.document.body.innerTextholds 0 hits forOWD|CRUD|Everyone|showcase_|记录共享|受父级, both on the access page and on the 谁能看到哪些记录 overview.Generated by Claude Code