Skip to content

fix(i18n): createSafeTranslation's provider-less fallback honours an inline defaultValue - #4372

Merged
yinlianghui merged 4 commits into
mainfrom
claude/issue-3865-safe-translation-defaultvalue
Aug 11, 2026
Merged

fix(i18n): createSafeTranslation's provider-less fallback honours an inline defaultValue#4372
yinlianghui merged 4 commits into
mainfrom
claude/issue-3865-safe-translation-defaultvalue

Conversation

@yinlianghui

@yinlianghuiyinlianghui commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Fixes#3865

createSafeTranslation's provider-less fallback never read the call site's inline defaultValue. It looked the key up in the hook's hand-written defaults map and, on a miss, rendered the raw key to the user — then ran every option, defaultValue included, through the interpolation loop as if it were a {{defaultValue}} variable. So t('perm.facet.none', { defaultValue: 'None' }) showed perm.facet.none on a host with no I18nProvider, which is a supported scenario: standalone embedding and tests are the entire reason this factory exists (its own doc comment says so).

Ruling on the card: option A. Implemented exactly.

The change

packages/i18n/src/useSafeTranslation.ts — plus one test re-pin described under "Collision with #3863" below.

  1. Lookup order is now defaults[key] -> a string defaultValue -> the key. The defaults map is the pack value's stand-in on this path, so it keeps the pack's winning position. Non-string defaultValue is ignored (this function returns a string).
  2. defaultValue is excluded from the interpolation loop as a reserved name — it selects the string, it does not fill holes in one. Excluded whatever its type, so an ignored non-string default cannot re-enter through the loop.

The provider path is untouched: once the probe succeeds the helper hands over to i18next's own t, exactly as before.

The order is i18next's — measured, not assumed

Probed against a real i18next 26.3.6 instance configured the way createI18n configures it (interpolation: { escapeValue: false }, returnNull: false), with anchor in the pack and missing absent:

calli18nextthis fallback, after
t('anchor', { defaultValue: 'INLINE' })'Anchor value'table value wins
t('missing', { defaultValue: 'INLINE' })'INLINE''INLINE'
t('missing')'missing'the key
t('missing', { defaultValue: 'Hi {{name}}', name: 'Ada' })'Hi Ada''Hi Ada'
t('missing', { defaultValue: null })'missing'the key

That first row is why the table beats the inline default rather than the other way round: inverting it would make a provider-less host disagree with a provider-mounted one for every key that has both.

One deliberate divergence, and it is unreachable today

The card's ruling says i18next reserves defaultValue from interpolation likewise. It does not — measured on the same instance: i18next hands the whole options object to its interpolator, so a value spelling 'Fallback: {{defaultValue}}' renders as 'Fallback: INLINE' there, while this fallback now leaves the hole alone. Recording it rather than restating the premise, because the surrounding comment in this file (from #3418) makes "agree with i18next" a load-bearing invariant.

It costs nothing today: zero strings in packages/, apps/ or examples/ spell {{defaultValue. And splicing a fallback string into a hole named after itself has no sensible reading, whereas the alternative lets a call site's fallback text leak into an unrelated table value. Both directions are pinned by tests, so whichever way this is later settled, the change is visible.

Census (the card's own named first step)

AST census, same method as the card: resolve every createSafeTranslation binding, follow re-exports to the files that consume each hook, collect literal t() keys, compare against that hook's table. At this branch's original base (d2e2caf40) it reproduces the card's plugin-detail figure exactly — 146 entries, 16 keys outside.

The numbers below are after merging current main, which includes #4367 (#3863) adding detail.showEmptyRelated to plugin-detail's table: that moves plugin-detail from 146/16 to 147/15 and the repo total from 27/21 to 26/20.

26 hooks, 568 resolved literal call sites, 458 distinct keys. 26 keys sit outside their hook's table; 20 of those carry an inline defaultValue. Those 20 stop rendering raw keys with this PR.

consumerhooktablekeys outsideof those, with inline defaultValue
plugin-detailuseDetailTranslation1471514
plugin-listuseListViewTranslation5765
plugin-designeruseDesignerTranslation16140
plugin-kanbanuseKanbanT311
22 other hookscomponents x8, fields, collaboration, plugin-form x4, plugin-grid, plugin-view, plugin-tree, plugin-timeline, plugin-calendar, plugin-dashboard, plugin-kanban x21-7000
total2620

The PM's three named targets, answered:

The 6 keys with no inline default are not fixed by this PR and still render raw on provider-less hosts — they need a map or pack entry, not a helper change: detail.saving, list.resetSortToDefault, appDesigner.widgetProperties, appDesigner.addWidget, appDesigner.modeEdit, common.delete (all four of plugin-designer's outside-table keys carry no inline default at all).

Method caveats, stated so the numbers can be re-derived: literal keys only (62 dynamic-key call sites repo-wide are report-only, matching check:i18n-call-site-keys's own treatment); membership is an exact table lookup, because that is what defaults[key] does — no plural-suffix resolution.

Collision with #3863, and how it was resolved

#4367 (#3863) merged while this was in flight. The two cards were scoped as zero-overlap on source files and that held — but #4367 added a source-text pin in packages/i18n/src/__tests__/showEmptyRelated-plural-base-3863.test.tsx quoting the exact line this card was ruled to change:

expect(helper).toContain('let value = defaults[key] || key;');

Its stated invariant is that fallbackTindexes the table with the key as given and never appends a plural suffix — which is why #3863 had to add a base row at all. That invariant is untouched here: this change alters what answers on a miss, not how the table is indexed. The pin was therefore re-expressed rather than deleted, in two halves that bite on intent instead of on formatting: defaults[key] || is still present, and the fallback's body must contain no plural machinery (_one/_other/… , PluralRules, or a constructed defaults[key + …] index). Reverse-verified: teaching fallbackT a defaults[key + '_other'] lookup turns that case red again, which the old quote-pin would also have done.

This is the only file outside packages/i18n/src/useSafeTranslation.ts and its own tests that this PR touches.

Tests

Red-first, in packages/i18n/src/__tests__/useSafeTranslation.test.tsx (7 new cases; 4 were red before the fix, 13 pre-existing/control cases green throughout):

Reverse verification (commit-then-revert; predicted before running)

what was taken outpredictedobserved
the whole fix (git checkout origin/main -- useSafeTranslation.ts)4 red, controls green4 red / 13 green — the two provider cases among them, so the provider path is genuinely not on this code path
only the reserved-name continueexactly 1 red1 red — the reserved-name case
lookup order inverted (defaultValue before the table)order pin red3 red — the order pin, plus the two cases whose table values are then overridden
plural-suffix lookup added to fallbackT (against the re-pin above)#3863's case red1 red — that case, on the no-suffix half

Commands

pnpm exec vitest run packages/i18n/ 41 files, 789 tests passed (post-merge)
pnpm exec vitest run packages/plugin-detail/ packages/plugin-kanban/ \
packages/plugin-list/ 118 files, 1314 passed (post-merge)
pnpm exec vitest run packages/plugin-designer/ (pre-merge, with the above) 123 files, 1350 passed
pnpm exec vitest run packages/components/ packages/fields/ 199 files, 2324 passed
pnpm exec vitest run packages/collaboration/ packages/plugin-calendar/ \
packages/plugin-dashboard/ packages/plugin-form/ packages/plugin-grid/ \
packages/plugin-timeline/ packages/plugin-tree/ packages/plugin-view/ 166 files, 1549 passed
pnpm --filter @object-ui/i18n type-check clean
pnpm --filter @object-ui/i18n lint 0 errors (35 pre-existing warnings, none in the touched files)
node scripts/check-i18n-call-site-keys.mjs green (2352/2352 literal keys resolve)
node scripts/check-i18n-en-drift.mjs green (0 en values changed)
node scripts/check-changeset-presence.mjs green
node scripts/check-changeset-no-major.mjs green
node scripts/check-control-bytes.mjs green

The consumer sweep is every package owning a createSafeTranslation hook — that set is the census's own output, so the list is derived rather than guessed.

Changeset: .changeset/safe-translation-inline-default-3865.md, patch@object-ui/i18n (user-visible behaviour change in a published helper; never major, per AGENTS.md's version-alignment rule).

Relationships

Option C (retiring the defaults tables) is recorded as the long-term direction and is not in this PR; option B is not being done. With A landed the tables become redundant-but-harmless, which is what makes C a later dead-surface sweep rather than a prerequisite.


Generated by Claude Code

@vercel

vercelBot commented Aug 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
ProjectDeploymentActionsUpdated (UTC)
objectuiIgnoredIgnoredAug 11, 2026 10:55pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

MetricValueBudget
Main entry (gzip)24.8 KB350 KB
Entry fileindex-cSCXsDnA.js
StatusPASS

📦 Bundle Size Report

PackageSizeGzipped
app-shell (index.js)9.56KB3.59KB
app-shell (runtime-config.js)7.42KB2.32KB
app-shell (types.js)0.01KB0.04KB
app-shell (urlParams.js)8.92KB3.41KB
auth (AuthContext.js)0.31KB0.24KB
auth (AuthGuard.js)1.17KB0.53KB
auth (AuthProvider.js)22.10KB4.37KB
auth (AuthShell.js)3.49KB1.40KB
auth (ForgotPasswordForm.js)12.21KB3.45KB
auth (LoginForm.js)18.13KB5.39KB
auth (PreviewBanner.js)0.90KB0.50KB
auth (RegisterForm.js)6.64KB2.21KB
auth (SocialSignInButtons.js)9.60KB3.89KB
auth (UserMenu.js)3.40KB1.22KB
auth (auth-gate-events.js)1.29KB0.66KB
auth (authStyles.js)5.04KB1.72KB
auth (createAuthClient.js)35.76KB9.11KB
auth (createAuthenticatedFetch.js)4.37KB1.69KB
auth (index.js)2.35KB1.07KB
auth (org-roles.js)6.66KB2.78KB
auth (phone-identifier.js)1.11KB0.66KB
auth (types.js)0.59KB0.35KB
auth (useAuth.js)4.91KB0.87KB
auth (useIsWorkspaceAdmin.js)1.61KB0.85KB
collaboration (CommentThread.js)26.07KB7.56KB
collaboration (LiveCursors.js)3.17KB1.27KB
collaboration (PresenceAvatars.js)6.49KB2.64KB
collaboration (PresenceProvider.js)2.79KB1.13KB
collaboration (index.js)1.65KB0.73KB
collaboration (useCollaborationTranslation.js)6.05KB2.52KB
collaboration (useCommentSearch.js)1.98KB0.88KB
collaboration (useConflictResolution.js)7.75KB1.86KB
collaboration (useMentionNotifications.js)1.81KB0.68KB
collaboration (usePresence.js)6.33KB1.84KB
collaboration (useRealtimeSubscription.js)7.91KB2.01KB
components (index.js)489.12KB108.41KB
core (index.js)2.99KB1.14KB
create-plugin (index.js)10.08KB3.26KB
data-objectstack (index.js)149.75KB39.78KB
fields (index.js)228.37KB56.62KB
i18n (LocalizationContext.js)1.76KB0.96KB
i18n (currency.js)1.22KB0.64KB
i18n (i18n.js)4.32KB1.77KB
i18n (index.js)3.35KB1.38KB
i18n (pickLocalized.js)3.69KB1.73KB
i18n (provider.js)23.12KB7.62KB
i18n (useDisplayLocale.js)2.33KB1.20KB
i18n (useObjectLabel.js)27.59KB6.63KB
i18n (useSafeTranslation.js)7.77KB3.13KB
layout (index.js)38.98KB10.85KB
mobile (MobileProvider.js)0.92KB0.49KB
mobile (ResponsiveContainer.js)0.94KB0.38KB
mobile (breakpoints.js)1.51KB0.70KB
mobile (createOfflineDataSource.js)5.61KB1.74KB
mobile (index.js)1.50KB0.62KB
mobile (offlineQueue.js)3.91KB1.35KB
mobile (pwa.js)0.97KB0.49KB
mobile (serviceWorker.js)1.48KB0.62KB
mobile (serviceWorkerSource.js)3.41KB1.48KB
mobile (useBreakpoint.js)1.54KB0.65KB
mobile (useGesture.js)6.96KB1.98KB
mobile (useOfflineSync.js)1.99KB0.72KB
mobile (usePullToRefresh.js)2.53KB0.85KB
mobile (useResponsive.js)0.71KB0.42KB
mobile (useResponsiveConfig.js)1.36KB0.63KB
mobile (useSpecGesture.js)4.32KB1.64KB
mobile (useTouchTarget.js)1.01KB0.54KB
permissions (MePermissionsProvider.js)8.75KB3.06KB
permissions (PermissionContext.js)0.31KB0.25KB
permissions (PermissionGuard.js)0.89KB0.45KB
permissions (PermissionProvider.js)3.67KB1.12KB
permissions (evaluator.js)4.41KB1.44KB
permissions (index.js)0.91KB0.41KB
permissions (store.js)0.91KB0.42KB
permissions (useFieldPermissions.js)1.28KB0.52KB
permissions (usePermissions.js)1.55KB0.71KB
plugin-ai (index.js)15.71KB3.79KB
plugin-calendar (index.js)45.23KB12.45KB
plugin-charts (index.js)62.18KB17.67KB
plugin-chatbot (index.js)180.33KB42.79KB
plugin-dashboard (index.js)121.60KB31.63KB
plugin-designer (index.js)210.91KB42.67KB
plugin-detail (index.js)239.00KB59.76KB
plugin-editor (index.js)2.46KB1.10KB
plugin-form (index.js)114.58KB27.68KB
plugin-gantt (index.js)164.14KB39.98KB
plugin-grid (index.js)188.00KB49.94KB
plugin-kanban (index.js)48.60KB13.41KB
plugin-list (index.js)110.10KB26.74KB
plugin-map (index.js)18.05KB5.80KB
plugin-markdown (index.js)13.72KB4.69KB
plugin-report (index.js)40.60KB10.58KB
plugin-timeline (index.js)26.21KB7.52KB
plugin-tree (index.js)8.50KB2.88KB
plugin-view (index.js)84.03KB20.55KB
providers (DataSourceProvider.js)0.75KB0.39KB
providers (MetadataProvider.js)1.37KB0.59KB
providers (ThemeProvider.js)1.90KB0.85KB
providers (UploadProvider.js)11.71KB3.53KB
providers (index.js)0.44KB0.22KB
providers (types.js)0.01KB0.04KB
react-runtime (index.js)5.67KB2.37KB
react (LazyPluginLoader.js)3.77KB1.33KB
react (SchemaRenderer.js)23.71KB7.96KB
react (data-invalidation.js)5.05KB2.08KB
react (index.js)1.23KB0.66KB
react (spec-input.js)0.20KB0.18KB
sdui-parser (codegen.js)4.09KB1.74KB
sdui-parser (index.js)4.47KB2.03KB
sdui-parser (parse.js)10.04KB2.82KB
sdui-parser (types.js)0.29KB0.24KB
sdui-parser (validate.js)4.69KB1.48KB
types (ai.js)0.20KB0.17KB
types (api-types.js)0.20KB0.18KB
types (app.js)2.87KB0.99KB
types (base.js)0.20KB0.18KB
types (blocks.js)0.20KB0.18KB
types (complex.js)0.20KB0.18KB
types (crud.js)0.20KB0.18KB
types (dashboard-filter-alias.js)6.23KB2.74KB
types (data-display.js)0.20KB0.18KB
types (data-protocol.js)0.20KB0.19KB
types (data.js)0.20KB0.18KB
types (designer.js)1.87KB0.85KB
types (disclosure.js)0.20KB0.18KB
types (error-code.js)1.54KB0.88KB
types (feedback.js)0.20KB0.18KB
types (field-types.js)0.20KB0.18KB
types (form.js)0.20KB0.18KB
types (http-retry.js)4.32KB2.02KB
types (index.js)3.05KB1.52KB
types (layout.js)0.20KB0.18KB
types (managed-by.js)0.19KB0.18KB
types (mobile.js)2.59KB1.31KB
types (navigation.js)0.20KB0.18KB
types (objectql.js)0.20KB0.18KB
types (overlay.js)0.20KB0.18KB
types (permissions.js)0.20KB0.18KB
types (plugin-scope.js)0.20KB0.18KB
types (record-components.js)0.20KB0.19KB
types (record-semantics.js)1.28KB0.67KB
types (registry.js)0.20KB0.18KB
types (reports.js)0.20KB0.18KB
types (spec-report.js)5.05KB1.93KB
types (system-fields.js)3.33KB1.54KB
types (theme.js)0.20KB0.18KB
types (ui-action.js)3.40KB1.71KB
types (views.js)0.20KB0.18KB
types (widget.js)0.20KB0.18KB

Size Limits

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

@github-actions

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

MetricValueBudget
Main entry (gzip)24.8 KB350 KB
Entry fileindex-cSCXsDnA.js
StatusPASS

📦 Bundle Size Report

PackageSizeGzipped
app-shell (index.js)9.56KB3.59KB
app-shell (runtime-config.js)7.42KB2.32KB
app-shell (types.js)0.01KB0.04KB
app-shell (urlParams.js)8.92KB3.41KB
auth (AuthContext.js)0.31KB0.24KB
auth (AuthGuard.js)1.17KB0.53KB
auth (AuthProvider.js)22.10KB4.37KB
auth (AuthShell.js)3.49KB1.40KB
auth (ForgotPasswordForm.js)12.21KB3.45KB
auth (LoginForm.js)18.13KB5.39KB
auth (PreviewBanner.js)0.90KB0.50KB
auth (RegisterForm.js)6.64KB2.21KB
auth (SocialSignInButtons.js)9.60KB3.89KB
auth (UserMenu.js)3.40KB1.22KB
auth (auth-gate-events.js)1.29KB0.66KB
auth (authStyles.js)5.04KB1.72KB
auth (createAuthClient.js)35.76KB9.11KB
auth (createAuthenticatedFetch.js)4.37KB1.69KB
auth (index.js)2.35KB1.07KB
auth (org-roles.js)6.66KB2.78KB
auth (phone-identifier.js)1.11KB0.66KB
auth (types.js)0.59KB0.35KB
auth (useAuth.js)4.91KB0.87KB
auth (useIsWorkspaceAdmin.js)1.61KB0.85KB
collaboration (CommentThread.js)26.07KB7.56KB
collaboration (LiveCursors.js)3.17KB1.27KB
collaboration (PresenceAvatars.js)6.49KB2.64KB
collaboration (PresenceProvider.js)2.79KB1.13KB
collaboration (index.js)1.65KB0.73KB
collaboration (useCollaborationTranslation.js)6.05KB2.52KB
collaboration (useCommentSearch.js)1.98KB0.88KB
collaboration (useConflictResolution.js)7.75KB1.86KB
collaboration (useMentionNotifications.js)1.81KB0.68KB
collaboration (usePresence.js)6.33KB1.84KB
collaboration (useRealtimeSubscription.js)7.91KB2.01KB
components (index.js)489.12KB108.41KB
core (index.js)2.99KB1.14KB
create-plugin (index.js)10.08KB3.26KB
data-objectstack (index.js)149.75KB39.78KB
fields (index.js)228.37KB56.62KB
i18n (LocalizationContext.js)1.76KB0.96KB
i18n (currency.js)1.22KB0.64KB
i18n (i18n.js)4.32KB1.77KB
i18n (index.js)3.35KB1.38KB
i18n (pickLocalized.js)3.69KB1.73KB
i18n (provider.js)23.12KB7.62KB
i18n (useDisplayLocale.js)2.33KB1.20KB
i18n (useObjectLabel.js)27.59KB6.63KB
i18n (useSafeTranslation.js)7.77KB3.13KB
layout (index.js)38.98KB10.85KB
mobile (MobileProvider.js)0.92KB0.49KB
mobile (ResponsiveContainer.js)0.94KB0.38KB
mobile (breakpoints.js)1.51KB0.70KB
mobile (createOfflineDataSource.js)5.61KB1.74KB
mobile (index.js)1.50KB0.62KB
mobile (offlineQueue.js)3.91KB1.35KB
mobile (pwa.js)0.97KB0.49KB
mobile (serviceWorker.js)1.48KB0.62KB
mobile (serviceWorkerSource.js)3.41KB1.48KB
mobile (useBreakpoint.js)1.54KB0.65KB
mobile (useGesture.js)6.96KB1.98KB
mobile (useOfflineSync.js)1.99KB0.72KB
mobile (usePullToRefresh.js)2.53KB0.85KB
mobile (useResponsive.js)0.71KB0.42KB
mobile (useResponsiveConfig.js)1.36KB0.63KB
mobile (useSpecGesture.js)4.32KB1.64KB
mobile (useTouchTarget.js)1.01KB0.54KB
permissions (MePermissionsProvider.js)8.75KB3.06KB
permissions (PermissionContext.js)0.31KB0.25KB
permissions (PermissionGuard.js)0.89KB0.45KB
permissions (PermissionProvider.js)3.67KB1.12KB
permissions (evaluator.js)4.41KB1.44KB
permissions (index.js)0.91KB0.41KB
permissions (store.js)0.91KB0.42KB
permissions (useFieldPermissions.js)1.28KB0.52KB
permissions (usePermissions.js)1.55KB0.71KB
plugin-ai (index.js)15.71KB3.79KB
plugin-calendar (index.js)45.23KB12.45KB
plugin-charts (index.js)62.18KB17.67KB
plugin-chatbot (index.js)180.33KB42.79KB
plugin-dashboard (index.js)121.60KB31.63KB
plugin-designer (index.js)210.91KB42.67KB
plugin-detail (index.js)239.00KB59.76KB
plugin-editor (index.js)2.46KB1.10KB
plugin-form (index.js)114.58KB27.68KB
plugin-gantt (index.js)164.14KB39.98KB
plugin-grid (index.js)188.00KB49.94KB
plugin-kanban (index.js)48.60KB13.41KB
plugin-list (index.js)110.10KB26.74KB
plugin-map (index.js)18.05KB5.80KB
plugin-markdown (index.js)13.72KB4.69KB
plugin-report (index.js)40.60KB10.58KB
plugin-timeline (index.js)26.21KB7.52KB
plugin-tree (index.js)8.50KB2.88KB
plugin-view (index.js)84.03KB20.55KB
providers (DataSourceProvider.js)0.75KB0.39KB
providers (MetadataProvider.js)1.37KB0.59KB
providers (ThemeProvider.js)1.90KB0.85KB
providers (UploadProvider.js)11.71KB3.53KB
providers (index.js)0.44KB0.22KB
providers (types.js)0.01KB0.04KB
react-runtime (index.js)5.67KB2.37KB
react (LazyPluginLoader.js)3.77KB1.33KB
react (SchemaRenderer.js)23.71KB7.96KB
react (data-invalidation.js)5.05KB2.08KB
react (index.js)1.23KB0.66KB
react (spec-input.js)0.20KB0.18KB
sdui-parser (codegen.js)4.09KB1.74KB
sdui-parser (index.js)4.47KB2.03KB
sdui-parser (parse.js)10.04KB2.82KB
sdui-parser (types.js)0.29KB0.24KB
sdui-parser (validate.js)4.69KB1.48KB
types (ai.js)0.20KB0.17KB
types (api-types.js)0.20KB0.18KB
types (app.js)2.87KB0.99KB
types (base.js)0.20KB0.18KB
types (blocks.js)0.20KB0.18KB
types (complex.js)0.20KB0.18KB
types (crud.js)0.20KB0.18KB
types (dashboard-filter-alias.js)6.23KB2.74KB
types (data-display.js)0.20KB0.18KB
types (data-protocol.js)0.20KB0.19KB
types (data.js)0.20KB0.18KB
types (designer.js)1.87KB0.85KB
types (disclosure.js)0.20KB0.18KB
types (error-code.js)1.54KB0.88KB
types (feedback.js)0.20KB0.18KB
types (field-types.js)0.20KB0.18KB
types (form.js)0.20KB0.18KB
types (http-retry.js)4.32KB2.02KB
types (index.js)3.05KB1.52KB
types (layout.js)0.20KB0.18KB
types (managed-by.js)0.19KB0.18KB
types (mobile.js)2.59KB1.31KB
types (navigation.js)0.20KB0.18KB
types (objectql.js)0.20KB0.18KB
types (overlay.js)0.20KB0.18KB
types (permissions.js)0.20KB0.18KB
types (plugin-scope.js)0.20KB0.18KB
types (record-components.js)0.20KB0.19KB
types (record-semantics.js)1.28KB0.67KB
types (registry.js)0.20KB0.18KB
types (reports.js)0.20KB0.18KB
types (spec-report.js)5.05KB1.93KB
types (system-fields.js)3.33KB1.54KB
types (theme.js)0.20KB0.18KB
types (ui-action.js)3.40KB1.71KB
types (views.js)0.20KB0.18KB
types (widget.js)0.20KB0.18KB

Size Limits

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

@yinlianghuiClaude

Copy link
Copy Markdown
CollaboratorAuthor

ACCEPT — PM 复核 (session session_017Qqyix2QcnpUC9XeYVDzx3), closes #3865.

Flipping ready + arming auto-merge.


Generated by Claude Code

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

2 participants

@yinlianghui@claude