Repository navigation
docs(spec): page:header maxVisible describe states the renderer's per-host fallbacks - #35821
Conversation
…-host fallbacks Co-Authored-By: Claude <noreply@anthropic.com>
📓 Docs Drift CheckThis PR changes 1 package(s): 1 hand-written doc(s) NAME something this change touched and may need an implementation-accuracy re-verification:
⛔ 2 release-owned page(s) also name something this change touched. These are read-only:
What this run could not see
Coarse fallback — 174 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 8fde2cc751d57d558b7d65436b9b9b63a0a9060c && git checkout 8fde2cc751d57d558b7d65436b9b9b63a0a9060c
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin cbc50a5a8ecc47eb5c5246fe90ab67d3570e625a 263001fa76362cbf617179f85706cecedb83075b && git checkout -B drift-repro cbc50a5a8ecc47eb5c5246fe90ab67d3570e625a && git merge --no-ff 263001fa76362cbf617179f85706cecedb83075b
node scripts/docs-audit/affected-docs.mjs --json cbc50a5a8ecc47eb5c5246fe90ab67d3570e625a
|
Co-Authored-By: Claude <noreply@anthropic.com>
|
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU Final head · area ux-4 · 2026-11-20T10:37Z
os-dev-report: 7036568619 on #35660. |
|
repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4 维护者速读
席位核对ACCEPT · head reviewFace ( Checked, sentence by sentence against the renderer at this head (
Required before landing:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CbUb7TcZK1XUAddUmQ Contract reviewVERDICT: PASS Served-tier: No file in the diff implements the two strings: the renderer they describe is outside it. Read, not reviewed: ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
No must-fix, no should-fix.
Implemented-by: |
|
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU Landing · area ux-4 · 2026-11-20T10:47Z
Head
Ready + auto-merge now. #35660 closes on merge. |
Requested by Bill · project thread
Fixes #35660
repo:objectstack#5 · os-bill · session_01Utp6Cb8qTxAVaE2QKwquQU
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
packages/spec/src/ui/component.zod.ts,page:header:maxVisibledescribe: "(renderer default 3)" becomes "Renderer default when unset: 1 in a record page's one-row header bar, 3 on any other header."mobileMaxVisibledescribe: "(renderer default 1)" becomes "Renderer default when unset: 2 in a record page's bottom action bar on a phone, 1 on any other header."content/docs/references/ui/component.mdxregenerated withpnpm --filter @objectstack/spec gen:docs(2 rows).35660-page-header-max-visible-describe.md,patchon@objectstack/spec.content/docs/ui/pages.mdx:303(hand-written, claim surface amendment 2, comment 7036602364): the Default cell of themaxVisible/mobileMaxVisiblerow said "3 / 1"; it now states the same per-host fallbacks. The docs-drift bot flagged it (comment 7036588828). The release-owned pages it also names are untouched.No schema shape change, no
.default(), no renderer code.Tests
Renderer fallbacks measured at origin/main 65fddc8 (A1)
All in
ui/packages/components/src/renderers/layout/containers.tsx, the one resolverPageHeaderActions::2603-2607: bar face usesmobileMaxVisible ?? PHONE_ACTION_BAR_BUTTONS; mobile row usesmobileMaxVisible ?? 1; desktop usesmaxVisible ?? defaultMaxVisible ?? 3.:1929:PHONE_ACTION_BAR_BUTTONS = 2.:3153:page:headerpassesdefaultMaxVisible={inBar ? 1 : undefined};inBaris true only at:3492, the record page's one-row header bar (drawsInBar,:3168). The in-page record header (:3547) and the non-record header (:3570) pass nothing, so 3.:3149:face="bar"when the host gives a phone face (the record page's bottom action bar).ui/packages/app-shell/src/views/RecordDetailView.tsx:5775: the print chrome drawsPageHeaderActionswith no budget props (3 / 1), but that row has nopage:header, so the keys do not reach it.Generated artifacts (A2) and gates, local, head 3af5715; pages.mdx commit 263001f re-ran affected-docs, drift-comment, doc-anchors, doc-authoring, docs-spec-enumerations, nul-bytes, all exit 0
git grepof both old strings: onlycomponent.zod.tsandcontent/docs/references/ui/component.mdx.pnpm --filter @objectstack/spec build: VERDICT command-exit 0.pnpm --filter @objectstack/spec check:generated: "All 14 generated artifacts are up to date" (exit 0).check:docs,check:liveness,check:authorable-surface,check:api-surface,check:llms-txt(spec);check:adr-0087-registration --base origin/main,check-changeset-no-major,check-empty-changeset,check-comment-mask-corpus,check-issue-citations,docs-audit/check-affected-docs,docs-audit/check-drift-comment,check:doc-anchors,check:docs-spec-enumerations,check-nul-bytes.overlap-check --branch=HEAD: VERDICT clean.Acceptance notes
containers.tsx:2574("default to 3 / 1"), the prop docs atcontainers.tsx:1947/1949,ui/packages/types/src/ui-action.ts:1072"(default: 1)" andui/packages/components/src/renderers/action/auto-trigger.ts:24still state the old pair. They are code comments, no metadata or author-facing reference; carrier: none.Verification
pnpm --filter @objectstack/spec gen:docs && git diff content/docs/references/ui/component.mdxshows no change: the twopage:headerrows read as above.🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CZh8cPvxZUjw1JuYzZ