Repository navigation
fix(spec): dashboard columns and bulk-param allowCreate texts say what the runtime does - #37373
Conversation
…nference The describe said "(default 12)"; when columns is absent the renderer infers 12 if any widget layout reaches past column 4, otherwise 4. Regenerated the reference page; the rest fixture that quotes the describe follows it. No runtime change. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CahVE6H18HGhfsxm57
… as carried Since #36919 a promoted bulk action's field-backed lookup param carries the field's allowCreate. The BULK_PARAM_WIDGET_CONFIG_KEYS prescription, its TSDoc and the list.bulkActionDefs liveness note now say so. Text only. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CahVE6H18HGhfsxm57
📓 Docs Drift CheckThis PR changes 2 package(s): 5 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 5 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 187 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 7def0e988edc3ee272ac78e47e10170c3695d562 && git checkout 7def0e988edc3ee272ac78e47e10170c3695d562
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin 02520ab4808e46fa708ca257b11981499079d3ae 9a3c2894c7e4e7a745dc6f273ad5e3133a2fc13c && git checkout -B drift-repro 02520ab4808e46fa708ca257b11981499079d3ae && git merge --no-ff 9a3c2894c7e4e7a745dc6f273ad5e3133a2fc13c
node scripts/docs-audit/affected-docs.mjs --json 02520ab4808e46fa708ca257b11981499079d3ae
|
The explain table mirrored the old "(default 12)" describe; it now says what the renderer does when columns is absent: 12 if any widget layout reaches past column 4, otherwise 4. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CahVE6H18HGhfsxm57
…tion check:test-source-alias judges edited test files; this one reaches a lazy objectql import through RestServer, so it takes the module-top side-effect import the convention asks for. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Utp6CahVE6H18HGhfsxm57
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X 席位核对Head-sha:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X
Landing on seat ACCEPT 7179165071, named by the maintainer in the seat thread (「合并 #37354 #37377 #37373 #37381」, 2026-11-26T02:14Z): ready + auto-merge. Closes #36913 and #36927 on merge. Generated |
Requested by Bill · project thread
Fixes #36913
Fixes #36927
repo:objectstack#5 · os-bill · session_01Utp6CahVE6H18HGhfsxm57
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
Four commits: one per card, then the CLI mirror of the #36913 sentence (fence widened by the zone) and a test-hygiene import. Text only: no runtime change, no change to any parsed shape or refused key set.
#36913,
DashboardSchema.columnsdescribe. It said(default 12). The renderer (ui/packages/plugin-dashboard/src/DashboardRenderer.tsx,inferredColumns, ~L391–407 at 98bda0a) has no fixed default: withcolumnsabsent it takes the widestlayout.x + layout.w(orlayout.w) over the widgets and returns 12 if that exceeds 4, otherwise 4. The describe now reads: "Number of grid columns. When absent, inferred from the widgets: 12 if any widget layout reaches past column 4 (x + w > 4), otherwise 4". TSDoc follows;content/docs/references/ui/dashboard.mdxregenerated (gen:docs, the only stale artifactcheck:generatednamed). Thepackages/restfixture that quotes the describe follows it, and theos explain dashboardtable inpackages/cli/src/commands/explain.tsnow carries the same sentence. Because that rest test is edited,check:test-source-aliasasked for its module-topimport '@objectstack/objectql'; added.#36927,
BULK_PARAM_WIDGET_CONFIG_KEYSprescription andlist.bulkActionDefsliveness note. PR #36919 made a promoted bulk def's field-backed lookup param carry the field'sallowCreate(resolveActionParamscopies it,ui/packages/plugin-grid/src/resolveBulkActions.tstoBulkParamL191 forwards it). The prescription, its TSDoc, and the liveness note now listallowCreatewithlookupFilters/lookupColumns/lookupPageSize/descriptionField; the counts move from "four picker settings / six keys" to "five / seven". Every other key named is unchanged and still true on main (re-read in the same two files). The spec test comment that paraphrases the prescription follows it.Tests
Local, on 9a3c289:
pnpm --filter @objectstack/spec build·check:generated(aftergen:docs: all artifacts current)vitest runonpackages/spec/src/ui/bulk-action.test.ts,packages/spec/src/ui/dashboard.test.ts,packages/rest/src/meta-types-schema-titles.test.ts(3/3),packages/clitest/explain-rule-id.test.ts(14/14),pnpm --filter @objectstack/cli typecheckexit 0dispatch-gates --commandsset for this diff; rows that need the whole workspace built exit 3 (prerequisite not met) and are NOT MEASURED locally, left to CI. 106 of 115 derived commands exit 0; 7 exit 3 (prerequisite);check:test-source-aliasfixed and re-run green;check:platform-checklistred from main (see notes).Acceptance notes
packages/cli/src/commands/explain.ts:292repeated "(default 12)"; the zone widened the fence and it is fixed here.check:platform-checklistis red locally on an ABSENT SYMBOL anchor (FlowItemMoreMenu) this diff does not touch; it comes from main.skills/**page repeats "default 12" (grep at 98bda0a).Verification
Two-minute check:
grep -n "columns:" packages/spec/src/ui/dashboard.zod.tsshows the inference wording;grep -c allowCreate packages/spec/liveness/view.jsonis non-zero.Read first:
packages/spec/src/ui/bulk-action.zod.tsprescription hunk (the only place with wording risk), thendashboard.zod.tsL1822–1827.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CahVE6H18HGhfsxm57