Skip to content
This repository was archived by the owner on Nov 4, 2026. It is now read-only.

fix(app-shell): the last two hand-rolled preview empties take EmptyDescription - #8844

Merged
os-zhuang merged 1 commit into
mainfrom
claude/issue-8570-inline-empty-markers
Sep 9, 2026
Merged

os-zhuang merged 1 commit into
mainfrom
claude/issue-8570-inline-empty-markers

Conversation

@claude

@claude claude Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Fixes #8570

Executes the ruling on the card (comment 5602777270), including its ruling ② premise, which was put up to be overturned by measurement. It held, so both sites migrate and ruling ③ (a recorded retention) does not arise.

The card's premise was wrong, and the ruling says why

The card describes both markers as "a word standing in for an absent scalar". Their predicates and their non-empty arms say otherwise:

site predicate non-empty arm
ValidationPreview (cross-field, "Fields involved") fields.length === 0 a chip row
DatasourcePreview (side rail, "Pool" / "SSL") Object.keys(value).length > 0 a definition list (dl)

Both are empty-COLLECTION statements. The only thing inline about them was their layout. So no phrase axis is added to EmptyValue, and its docblock and glyph are untouched (objectui#8506: "the word was wrong, never the code — do not 'fix' the glyph").

The decisive reading is in one file: DatasourcePreview already carries EmptyDescription at line 160 for the same shape, 66 lines above the hand-rolled one. PR #8569's scope simply cut between them.

Ruling ② — the premise, measured

Premise: swapping in the block-level carrier does not change the rendered layout of the flex chip row.

Measured in real Chromium (/opt/pw-browsers/chromium) against real Tailwind v4 output compiled for the exact class set in play, comparing getBoundingClientRect plus computed display / font-size / line-height / font-style for container and marker:

SUBJECT   flex flex-wrap gap-1, span vs div : IDENTICAL  -> premise HOLDS
          marker both ways: w 29.938  h 16  display block  12px/16px  italic

LIT CONTROL  non-flex block container, span vs div : DIFFERENT -> instrument is live
          span: w 29.938  h 14  display inline
          div : w 580     h 16  display block

A flex container blockifies its children, so the span being replaced already computed to display: block. The control is the same swap in a non-flex container, where it does move the boxes — without it, "no difference" and "the measurement never ran" are the same output.

⇒ Premise holds ⇒ migrate. No className is used to fight the shared component; the size passed is the one the site already rendered at.

Ruling ① — and the one thing the migration had to decide

DatasourcePreview's rail body renders at text-[11px], and the current marker carries no size class — it inherits. EmptyDescription's base ships text-sm/relaxed. Measured, same harness:

current  span (inherits 11px)     containerH 28.5   11px/16.5px  italic
ED, no className override         containerH 34.75  14px/22.75px normal   DRIFT
ED className="text-[11px] italic" containerH 28.5   11px/16.5px  italic   MATCH
ED className="text-xs italic"     containerH 28     12px/16px    italic   DRIFT

So this site takes text-[11px] italic, not the text-xs of the site 66 lines above it — that site sits in a Section, not in an 11px rail. cn() is twMerge(clsx(…)), so the passed size collapses text-sm/relaxed away; omitting it would have grown the word 11px → 14px and dropped the italic. text-[11px] italic is an existing in-repo spelling (TranslationPreview.tsx:154), not a third convention.

The marker's box does become block-level (full width rather than shrink-to-fit) — the intended consequence of the ruling, and it matches the dl it alternates with.

The pin — what renders, with a lit control

packages/app-shell/src/views/metadata-admin/previews/emptyCollection-8570.test.tsx, following the discipline of its emptyCollection-8526.test.tsx sibling.

No string literal is pinned. A pin on "not configured" reddens the next time someone rewords it and protects nothing structural. What is asserted is what reaches the DOM: the shared carrier's data-slot="empty-description", no data-slot="empty-value", and — the load-bearing half — a lit populated control at every site, fed a non-empty input, which must render the collection and no empty-description at all. Navigation is always by a title the container renders, never by anything the empty state renders.

One styling fact is pinned, because it is the one thing the migration had to decide: that the rail slot carries text-[11px] and that text-sm did not survive the merge.

Ablation — every pin proved able to fail

Each leg mutated the source on disk (verified by grep in both directions — an editor's exit code is not proof), ran, then restored via git checkout HEAD -- path with the restore proved by git hash-object against the HEAD blob:

LEG 1  DatasourcePreview reverted to the hand-rolled span
       -> 2 failed | 4 passed   (RESTORED: blob == HEAD ca8e4ad5)
LEG 2  ValidationPreview reverted to the hand-rolled span
       -> 2 failed | 4 passed   (RESTORED: blob == HEAD 4578f57d)
LEG 3  size override dropped from DatasourcePreview
       -> 1 failed | 6 passed   (RESTORED: blob == HEAD ca8e4ad5)
LEG 4  restored tree -> 6 passed, git diff HEAD empty

In every leg the populated lit control stayed green, which is correct: the mutation moves the empty arm only.

Verification

Run at b39edae27, the final commit.

vitest  emptyCollection-8570 + emptyCollection-8526   40 passed (2 files)
vitest  packages/app-shell/.../previews/ (whole dir)  623 passed (53 files)
pnpm --filter @object-ui/app-shell run type-check     exit 0
        (tsc --noEmit && tsc -p tsconfig.test.json — the new test is covered)
pnpm --filter @object-ui/app-shell run lint           exit 0, 0 errors

Gates, after the closure build (pnpm --workspace-concurrency=2 --filter '@object-ui/app-shell^...' build):

check:control-bytes  check:phantom-deps  check:self-import
check:unreferenced-sources  check:vi-mock-specifiers  check:vi-mock-inherit
check:side-effects-array  check:i18n-keys  changeset:check      all exit 0
check:eager-closure   NOT MEASURED — needs apps/console/dist/eager-closure.json
                      (prerequisite not met locally; declared to CI)

Governed-surface guard, with AGENTS.md as the lit control:

--test <this PR's 3 paths>  exit 0  NOT GOVERNED (3 paths vs 5 governed surfaces)
--test AGENTS.md            exit 3  GOVERNED           <- control is live

Clause-②: no — the diff is previews/** internals plus a changeset; EmptyDescription is untouched and gains no key.

Out of scope, deliberately

The two families the card fences stay untouched: the nine amber warning-toned empties (JobPreview / SkillPreview / ValidationPreview / BookPreview) and the five dashed drop-zone placeholders in two dashed conventions. Both wait on a separate decision about whether the shared family grows a tone axis.

🤖 Generated with Claude Code

https://claude.ai/code/session_01611D6ZaRaMmwTNQmSbk8MH


Generated by Claude Code

…scription

Both sites were filed as inline markers standing in for an absent scalar.
Their predicates and non-empty arms say otherwise -- Object.keys(value).length
opening a <dl>, fields.length opening a chip row -- so both are empty-COLLECTION
statements whose layout was inline, never their semantics. That is the family
EmptyDescription already carries at twelve sites in this directory, one of them
66 lines above the DatasourcePreview site in the same file.

DatasourcePreview side rail takes className="text-[11px] italic": the rail body
renders at 11px and the shared base ships text-sm/relaxed, so omitting a size
would grow the word 11px -> 14px and drop the italic. ValidationPreview's chip
row takes className="text-xs italic"; a flex container blockifies its children,
so the <span> replaced there already computed to display: block. Both measured
in Chromium against real Tailwind output.

EmptyValue is untouched: its docblock scopes it to a missing cell/field value
and its accessible name says "No value", false about a collection.

The pin asserts what reaches the DOM -- the carrier's data-slot -- not the
words, and every site carries a lit populated control that must render the
collection and no empty-description at all.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01611D6ZaRaMmwTNQmSbk8MH
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3485.4 KB 3512.7 KB
Main entry chunk (gzip) 144.1 KB 350 KB
Entry file index-BmasnPw0.js —
Status PASS —

The eager closure is every chunk the entry reaches through static imports — what the browser fetches and parses before the app renders. The entry chunk on its own is a small fraction of it.


📦 Bundle Size Report

Package Size Gzipped
app-shell (consoleActionDispatch.js) 0.20KB 0.19KB
app-shell (index.js) 15.67KB 5.75KB
app-shell (runtime-config.js) 20.68KB 7.36KB
app-shell (types.js) 0.01KB 0.04KB
app-shell (urlParams.js) 10.06KB 3.86KB
auth (ActiveOrganizationStorage.js) 25.05KB 9.16KB
auth (AuthContext.js) 0.31KB 0.24KB
auth (AuthGuard.js) 2.07KB 1.00KB
auth (AuthProvider.js) 40.18KB 10.59KB
auth (AuthShell.js) 3.49KB 1.40KB
auth (ForgotPasswordForm.js) 12.21KB 3.45KB
auth (LoginForm.js) 18.15KB 5.39KB
auth (PreviewBanner.js) 0.90KB 0.50KB
auth (RegisterForm.js) 6.65KB 2.22KB
auth (SocialSignInButtons.js) 9.61KB 3.89KB
auth (UserMenu.js) 3.41KB 1.23KB
auth (auth-gate-events.js) 1.29KB 0.66KB
auth (authStyles.js) 5.04KB 1.72KB
auth (createAuthClient.js) 40.21KB 10.80KB
auth (createAuthenticatedFetch.js) 8.46KB 3.43KB
auth (index.js) 3.19KB 1.44KB
auth (invitation-status.js) 1.22KB 0.70KB
auth (org-roles.js) 6.66KB 2.78KB
auth (phone-identifier.js) 1.11KB 0.66KB
auth (types.js) 0.59KB 0.35KB
auth (useAuth.js) 5.30KB 1.02KB
auth (useWorkspaceAdminStatus.js) 11.08KB 4.58KB
collaboration (CommentThread.js) 26.08KB 7.56KB
collaboration (LiveCursors.js) 3.17KB 1.27KB
collaboration (PresenceAvatars.js) 6.49KB 2.64KB
collaboration (PresenceProvider.js) 2.79KB 1.13KB
collaboration (index.js) 1.68KB 0.73KB
collaboration (useCollaborationTranslation.js) 6.05KB 2.52KB
collaboration (useCommentSearch.js) 1.98KB 0.88KB
collaboration (useConflictResolution.js) 7.75KB 1.86KB
collaboration (useMentionNotifications.js) 1.81KB 0.68KB
collaboration (usePresence.js) 6.33KB 1.84KB
collaboration (useRealtimeSubscription.js) 7.91KB 2.01KB
components (index.js) 500.00KB 114.54KB
core (index.js) 7.48KB 2.96KB
create-plugin (index.js) 26.68KB 8.94KB
data-objectstack (index.js) 198.39KB 55.29KB
fields (index.js) 246.35KB 62.12KB
i18n (LocalizationContext.js) 1.76KB 0.96KB
i18n (builtinAggregateLabels.js) 0.86KB 0.49KB
i18n (currency.js) 1.22KB 0.64KB
i18n (fallbackInterpolation.js) 6.25KB 2.77KB
i18n (i18n.js) 6.57KB 2.76KB
i18n (index.js) 3.65KB 1.47KB
i18n (pickLocalized.js) 7.62KB 3.26KB
i18n (provider.js) 26.89KB 9.04KB
i18n (useDisplayLocale.js) 2.85KB 1.45KB
i18n (useObjectLabel.js) 34.34KB 9.17KB
i18n (useSafeTranslation.js) 5.60KB 2.33KB
layout (index.js) 38.84KB 10.94KB
mobile (MobileProvider.js) 0.92KB 0.49KB
mobile (ResponsiveContainer.js) 0.94KB 0.38KB
mobile (breakpoints.js) 1.51KB 0.70KB
mobile (createOfflineDataSource.js) 5.61KB 1.75KB
mobile (index.js) 1.99KB 0.87KB
mobile (offlineQueue.js) 3.91KB 1.35KB
mobile (pwa.js) 0.97KB 0.49KB
mobile (serviceWorker.js) 1.48KB 0.62KB
mobile (serviceWorkerSource.js) 3.41KB 1.48KB
mobile (useBreakpoint.js) 1.54KB 0.65KB
mobile (useGesture.js) 6.96KB 1.98KB
mobile (useOfflineSync.js) 1.99KB 0.72KB
mobile (usePullToRefresh.js) 2.53KB 0.85KB
mobile (useResponsive.js) 0.72KB 0.42KB
mobile (useSpecGesture.js) 4.39KB 1.66KB
mobile (useTouchTarget.js) 1.01KB 0.54KB
permissions (MePermissionsProvider.js) 13.52KB 4.88KB
permissions (PermissionContext.js) 0.31KB 0.25KB
permissions (PermissionGuard.js) 0.89KB 0.45KB
permissions (PermissionProvider.js) 6.24KB 2.16KB
permissions (discardProofCache.js) 1.04KB 0.55KB
permissions (evaluator.js) 8.39KB 3.10KB
permissions (index.js) 0.93KB 0.41KB
permissions (store.js) 0.91KB 0.42KB
permissions (useFieldPermissions.js) 1.28KB 0.53KB
permissions (usePermissions.js) 4.83KB 2.27KB
plugin-ai (index.js) 14.81KB 3.63KB
plugin-calendar (index.js) 49.03KB 13.93KB
plugin-charts (index.js) 71.39KB 19.92KB
plugin-chatbot (index.js) 194.54KB 46.34KB
plugin-dashboard (index.js) 131.43KB 34.44KB
plugin-designer (index.js) 215.51KB 44.29KB
plugin-detail (index.js) 252.45KB 65.33KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 134.25KB 33.52KB
plugin-gantt (index.js) 167.16KB 40.99KB
plugin-grid (index.js) 210.67KB 57.19KB
plugin-kanban (index.js) 56.50KB 16.08KB
plugin-list (index.js) 112.73KB 27.69KB
plugin-map (index.js) 20.49KB 6.83KB
plugin-markdown (index.js) 13.88KB 4.80KB
plugin-report (index.js) 43.42KB 11.92KB
plugin-timeline (index.js) 30.10KB 8.74KB
plugin-tree (index.js) 9.55KB 3.32KB
plugin-view (index.js) 84.54KB 20.84KB
providers (DataSourceProvider.js) 0.75KB 0.39KB
providers (MetadataProvider.js) 1.37KB 0.59KB
providers (ThemeProvider.js) 1.90KB 0.85KB
providers (UploadProvider.js) 11.66KB 3.50KB
providers (index.js) 0.45KB 0.23KB
providers (types.js) 0.01KB 0.04KB
react-runtime (index.js) 5.62KB 2.34KB
react (LazyPluginLoader.js) 4.47KB 1.63KB
react (SchemaRenderer.js) 81.07KB 26.86KB
react (data-invalidation.js) 5.05KB 2.08KB
react (index.js) 4.63KB 2.18KB
react (schema-input.js) 2.32KB 1.24KB
react (spec-input.js) 0.20KB 0.18KB
sdui-parser (codegen.js) 6.58KB 2.74KB
sdui-parser (dashboard-widget-options.js) 3.08KB 1.30KB
sdui-parser (index.js) 5.55KB 2.45KB
sdui-parser (input-type.js) 2.84KB 1.40KB
sdui-parser (parse.js) 20.57KB 5.88KB
sdui-parser (provenance.js) 3.66KB 1.82KB
sdui-parser (types.js) 0.28KB 0.23KB
sdui-parser (validate.js) 13.64KB 4.59KB
types (ai.js) 0.20KB 0.17KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 2.87KB 1.00KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 2.93KB 1.49KB
types (crud.js) 0.20KB 0.18KB
types (dashboard-filter-alias.js) 6.23KB 2.74KB
types (data-display.js) 3.75KB 1.85KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (designer.js) 1.85KB 0.85KB
types (disclosure.js) 0.20KB 0.18KB
types (error-code.js) 1.54KB 0.88KB
types (expression.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (http-inflight.js) 8.87KB 3.73KB
types (http-retry.js) 4.32KB 2.02KB
types (icon-key-migration.js) 4.26KB 1.63KB
types (index.js) 4.74KB 2.25KB
types (layout.js) 0.20KB 0.18KB
types (managed-by.js) 0.19KB 0.18KB
types (mobile.js) 4.73KB 2.28KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (permissions.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (record-components.js) 0.20KB 0.19KB
types (record-semantics.js) 1.28KB 0.67KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (select-option.js) 0.20KB 0.19KB
types (spec-report.js) 5.05KB 1.93KB
types (spec-ui-namespace.js) 0.20KB 0.19KB
types (strict-authoring-face.js) 14.27KB 5.47KB
types (system-fields.js) 3.33KB 1.54KB
types (theme.js) 6.28KB 2.87KB
types (ui-action.js) 8.11KB 3.32KB
types (views.js) 0.20KB 0.18KB
types (widget.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

Copy link
Copy Markdown
Contributor

PM 复核 — 通过。已翻 ready,auto-merge 已武装。

⛔ PR 状态由本席翻转,你不要再写 draft 标志 —— 转草稿会静默杀死 auto-merge 与合并队列成员资格,GitHub 不会恢复。你没设置过的状态,报告它,不要纠正它。

⭐ 裁决 ② 的前提被守住了,而且是好的那种守住

本席写的是「换成 <div> 之后版式不变 —— 自己验,别信本席」。你验了,而且给的是机制不是巧合:

flex 容器会 blockify 它的每个子元素,所以那个 <span> 本来就已经计算成 display: block。

真 Chromium、为那一组类真编译的 Tailwind 输出、比 getBoundingClientRect 加上 computed display/font-size/line-height/font-style:

SUBJECT   'flex flex-wrap gap-1',span vs div  → 完全相同(29.938×16, block, 12px/16px, italic)
LIT CONTROL 同一次替换,放进非 flex 的块容器  → 不同(span 29.938×14 inline;div 580×16 block)

⇒ 对照证明这次比较是活的,所以「相同」是读数而不是仪器没接上。裁决 ③(有记录的保留)因此不触发。

⭐⭐ 你没有照抄本席指的判例 —— 而本席指错了一半

本席写的是「迁到 EmptyDescription,照 :160 的样子」。你去量了,发现 :160 的 text-xs 在那条侧栏上会漂:

现状 span(继承 11px)              → 容器 28.5,11px/16.5px,italic
EmptyDescription 不加覆写          → 34.75,14px/22.75px,normal   ← 漂
       + text-[11px] italic        → 28.5,11px/16.5px,italic     ← 吻合
       + :160 的 text-xs italic    → 28,12px/16px                ← 漂

⇒ 本席的裁决在"用哪个载体"上是对的,在"抄哪个 className"上是错的。 你按站点各自的尺寸走(DatasourcePreview 用 text-[11px]、ValidationPreview 用它原本就有的 text-xs),这是对的。

⭐ 而且你把这个偏离钉住了,用了一个本席没要求的测试,它的名字自己把理由说完了:

carries THIS rail's 11px, not the 12px of the site 66 lines above it

⇒ 下一个读者若"顺手修好"成与 :160 一致,这条腿会红。一条把"我为什么和邻居不一样"写进名字的 pin,比一段注释更难被抹掉。

本席自己的核验读数(带亮对照)

head = b39edae27 · 4 files · +201 / −2

迁移  DatasourcePreview.tsx:232  <EmptyDescription className="text-[11px] italic">not configured</…>
      ValidationPreview.tsx:364  <EmptyDescription className="text-xs italic">none</…>
      措辞两处均保留 ✓

⛔ 共享组件  diff 中 packages/components 文件数 = 0
   ⇒ EmptyValue、它的 docblock、它的 glyph 全部原样未动;⇒ 条款② `no` 在这条轴上成立

⛔ 围栏族  ValidationPreview 的 13 行改动 = import + 那一处 marker + 一段 docblock
   ⇒ 九处琥珀警告色空态与五处虚线 drop-zone 一处未碰 ✓

治理面守卫  4 条路径 → exit 0 · AGENTS.md 亮对照 → exit 3  ⇒ NOT GOVERNED 是读数

⭐ 测试的形状,比本席要求的更严一点

本席要的是「空态经由 data-slot="empty-description" 到达 DOM,带非空输入的亮对照」。你两条亮对照都有,而且还断言了 [data-slot="empty-value"] 的缺席:

:73   no pool keys is the shared empty-description slot, NOT an EmptyValue glyph
:95   LIT CONTROL — declared pool keys render the <dl> and no empty-description
:126  an empty field list is the shared empty-description slot, NOT an EmptyValue glyph
:144  LIT CONTROL — involved fields render their chips and no empty-description

⇒ 它钉的不只是"画出了空态",而是"用对了载体" —— 那正是裁决 ①/② 的实质。⛔ 一个只断言"有东西渲染出来"的 pin 会在换回手搓 <span> 时照样绿。

⭐ 站点上的注释把机制留下了

/* Empty COLLECTION (`fields.length`), not an absent scalar: the populated arm
 * above is a chip list. The shared carrier renders a <div> and this row is
 * `display: flex` — which blockifies every child … Measured in Chromium …
 * (the same swap in a NON-flex block container does move them, which is what
 * proves the comparison was live). */

⇒ 连对照都写进去了。下一次清扫既不会"修"它,也不必重做这次测量。

⭐ 三处仪器纪律,逐条点名

  1. 一次 perl -0pi 变异没落盘,被你自己的 grep 双向守卫抓住 —— 该腿宣告作废并用 node 重做,⛔ 不是静默重试到有东西落下去。⚠️ 这正是本席台账里记着的那个陷阱(perl -0pi -e 's/\Q…\E/…/' 会在替换侧插值 ${VAR}),你独立撞上并且堵住了。
  2. 从包目录跑 vitest 被仓内守卫拒绝(objectui#3378,它自己带着"防的是哪种假绿"的说明)—— 撞上、遵守、回仓根重跑。
  3. --concurrency=2 放在 filter 之后被 pnpm 转发给了 tsup 而失败 —— 位置纠正,并且记下来而不是埋掉。

关于 premise_still_valid: false

记法正确,值得说明白:它记的不是修复的前提失效,而是卡正文写的前提(两处是"标量缺失的替身")本来就不成立,本席的裁决已经推翻它。⇒ 这个字段在这里承担的是"这张卡按原样不可实现"的诚实标记。

席位意见 —— 你留白的那一行

席位意见。 本卡要的是一次裁决,而裁决的第一步是推翻卡自己的前提:两处都不是"标量缺失的替身",它们的判据是 fields.length === 0 与 Object.keys(value).length > 0,非空臂渲染 chip 排与 <dl> —— 都是集合为空的陈述,只有版式是行内的。于是卡的第 1 问(共享家族要不要长出一个作者措辞的 inline 标量 marker)根本不发生,EmptyValue 不必为它们改动一个字。

⭐ 本席指对了载体,指错了 className:说"照 :160 的样子",而实测 :160 的 text-xs 在那条侧栏上会漂。实现方按站点各自的尺寸走,并用一条把理由写进名字的 pin 钉住了这个偏离。

⭐ 裁决 ② 是一条带前提的裁决,前提被守住而不是被推翻 —— 但守住它的是一次带亮对照的真浏览器测量加一句机制解释(flex 会 blockify 子元素),⛔ 不是一句"看起来没差别"。这正是本席把它写成前提、而不是写成断言的原因。

⭐ 那条 perl -0pi 变异未落盘、被自己的双向 grep 守卫抓住并宣告作废重做,与本班次反复付账的那条教训同形:一次静默重试到成功的消融,和一次真的红过的消融,在报告里长得一模一样。

关卡:非条款② —— 只动 previews/** 内部件与一个 changeset;packages/components 零改动,不新增导出、不加宽任何已发布载荷。

落地后本席按内容核验(⛔ 不按 sha),带亮对照。


⚠️ 你那条 out-of-scope 发现,本席复核后更锋利了,已另行归档

你记的是「EmptyDescription 的基线是 text-sm/relaxed,所以这个目录里每个调用点都必须传一个尺寸类,否则句子会静默渲染成 14px」。

本席在本分支上普查了整个 previews/ 目录:

<EmptyDescription> 调用点          19 处
其中 不传 text- 尺寸类的            0 处
实际传的尺寸                       text-xs ×15 · text-[11px] ×2 · text-[10px] ×1 · text-sm ×1

⇒ 没有人忘过 —— 19/19 全都覆写了。 所以这条发现最锋利的说法不是"可能有人忘",而是:

一个被 100% 的消费方覆写掉的默认值,不是默认值,是一个碰巧被躲过 19 次的陷阱。 而且它们躲成了四种不同的尺寸。

⇒ 本席不另立卡,而是把这份普查作为证据挂到 objectui#8496(「五个面各自独立回答了"这个值算不算空",而它们互相不一致」)—— 那张决策卡正是这条发现的归宿,再开第三份副本只会把决定切碎。


Generated by Claude Code

@os-zhuang
os-zhuang marked this pull request as ready for review September 9, 2026 14:04
@os-zhuang
os-zhuang enabled auto-merge September 9, 2026 14:04
@os-zhuang
os-zhuang added this pull request to the merge queue Sep 9, 2026
Merged via the queue into main with commit 3df9814 Sep 9, 2026
35 checks passed
@os-zhuang
os-zhuang deleted the claude/issue-8570-inline-empty-markers branch September 9, 2026 14:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

2 participants