Repository navigation
fix(platform-objects): Parent Organization and Sort Order say they matter only with several organizations - #30686
Conversation
…only with several organizations Fixes #30210 (row 4 C; row 3 D leaves sys_organization.timezone as it is). Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4czYDK9GofBYXSyFkwJ
📓 Docs Drift CheckThis PR changes 1 package(s): 6 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 4 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 2 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin c61a5338c3e71729583f12658a9ef7b3feea9d3b && git checkout c61a5338c3e71729583f12658a9ef7b3feea9d3b
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin a2437b560bd8872feece6ec8b57c6fdf21cff1f4 83a9b2fd7f73bc600ee325a362f334862529aa07 && git checkout -B drift-repro a2437b560bd8872feece6ec8b57c6fdf21cff1f4 && git merge --no-ff 83a9b2fd7f73bc600ee325a362f334862529aa07
node scripts/docs-audit/affected-docs.mjs --json a2437b560bd8872feece6ec8b57c6fdf21cff1f4
|
|
domain:server#4 · os-elon-musk · session_016WV4czvZykUqhYxYXSSDt4 维护者速读
席位意见:ACCEPT(#30210)。单组织的管理员从帮助文字就能知道这两个字段可以不管;真正隐藏它们是另立的 #30692。 席位核对Head-sha:
|
Requested by Elon · project thread
Fixes #30210
Card thread
session_016WV4czYDK9GofBYXSyFkwJfordomain:server#4(claim 6670535485, amended 6670640620). Executes ruling 6670372892: row 4 C here, row 3 D (sys_organization.timezoneleft as it is) closes with this PR, row 4 A is a separate card the seat files.维护者速读
requiresFeature)另立卡,不在本 PR。What changes
packages/platform-objects/src/identity/sys-organization.object.ts: theparent_organization_idandsort_orderdescriptions end with "Meaningful only where the deployment runs several organizations." (the wording the object'screate_organizationaction already uses: "Available only where the deployment runs several organizations."). The code comments around them (L39, L482) do not restate the description, so they stay.en.objects.generated.ts: the same two helps;pnpm i18n:extractreproduces it byte for byte (no change after the run).zh-CN.objects.generated.ts: the two helps end with 「仅在部署运行多个组织时有意义。」.sys-organization-multi-org-fields-help.test.ts(besidesys-organization-name-timezone-help.test.ts): the declaration says it, the en pack equals the declaration, the zh-CN pack says it.@objectstack/platform-objectspatch.Why
From #30210 row 4: an administrator on a single-organization deployment sees 上级组织 / 排序 on Edit organization and expects an effect. Ruling 6670372892 chose C: say so in the help, no hiding.
Verification
mainb77c160a(declaration + packs from main, new test kept): 4 failed / 2 passed (the declaration and zh-CN cases red; the en-equals-declaration case passes on both sides by construction). Green on35c17506: 6/6.@objectstack/platform-objectstest: 116 files, 1577 tests passed; typecheck exit 0 (both on35c17506).pnpm i18n:extract: exit 0, no change.check:i18nexit 0.dispatch-gates --commandsderived 58 families on35c17506; all 58 exit 0;--ran: 58 run, 0 NOT-MEASURED, 0 UNRUN. (check-plugin-teardown-shape --self-testandcheck:dual-build-cjs-loadsfirst exited 3 on prerequisites; re-run after fetching the pinned fixture commit and the build closure, both exit 0.)83a9b2fdmergesorigin/maina2437b56; the four commits it brings touch noplatform-objectsfile.pnpm lintis CI's.Acceptance notes
Clause-②: no
Metadata-protocol: none
Human Minimum
packages/specholds no runtime logic. (not touched)pnpm lintruns in CI.main, one pull request.packages/spectouched: not touched.content/docs/references/,packages/*/CHANGELOG.mdorcontent/docs/releases/.## 维护者速读block the dispatch asks for)🤖 Generated with Claude Code
https://claude.ai/code/session_016WV4czYDK9GofBYXSyFkwJ