Skip to content

fix(fields): one home for the date display convention in the readonly widgets - #8215

Merged
os-justin merged 2 commits into
mainfrom
claude/issue-8194-fields-date-widget-format-convergence
Sep 7, 2026
Merged

fix(fields): one home for the date display convention in the readonly widgets#8215
os-justin merged 2 commits into
mainfrom
claude/issue-8194-fields-date-widget-format-convergence

Conversation

@os-justin

Copy link
Copy Markdown
Collaborator

Fixes #8194

Follows the maintainer's ruling A on objectui#7620 — "one home for the date display convention; the year-dropping rule applies here too" — one surface over, in @object-ui/fields. The sibling execution of that ruling is PR #8196 (@object-ui/components, still in CI at the time of writing); this PR touches none of the same files.


1. The enumeration, redone (the card asked for this first)

The card says its own population is defined by omission — sites that render a date without an options bag — and that a grep for toLocaleDateString cannot measure such a population. Correct, so it was re-enumerated by mechanism instead, over the 78 non-test source files of packages/fields/src, before anything was edited.

Every way a Date can become user-visible text, counted with fixed-string matches (no ERE alternation), matched lines printed and read:

mechanism occurrences
toLocaleDateString 7
toLocaleTimeString 2
toLocaleString 4 — all four are number formatting (currency / totals in GridField)
Intl.DateTimeFormat 0
Intl.RelativeTimeFormat 0
toDateString / toUTCString / toTimeString 0 / 0 / 0
date-fns / dayjs / luxon / moment( 0 / 0 / 0 / 0
the shared formatDate / formatDateTime / formatRelativeDate family 11 / 8 / 2, all in src/index.tsx (the cell renderers)

Controls for the zeros, stated alongside them: useDisplayLocale over the same file set returns 29 (a spelling known to be present, so the harness fires), and toLocaleDateStringXX returns 0 (a spelling known to be absent). Date construction was swept independently — new Date( has 15 occurrences and every one was read; the ones that are not display are nativeDateValue.ts (control values for input type=date, YYYY-MM-DD), coerceToSafeValue's normalisation, and DateCellRenderer's deliberately-raw ISO title= tooltip.

Result: six bare no-bag sites, not four. The card named four; it missed two.

# site type this PR
1 widgets/DateField.tsx readonly branch date converged
2 widgets/GridField.tsx temporalText date branch date converged
3 widgets/FormulaField.tsx return_type: 'date' date converged
4 widgets/lookupColumnDisplay.tsx $date fallback date converged
5 widgets/DateTimeField.tsx readonly branch datetime left alone
6 widgets/GridField.tsx temporalText datetime branch datetime left alone

Sites 5 and 6 are the same omission one type over, but their one home is formatDateTime, and choosing between its named faces ('compact' versus the verbose default) is a second display-convention decision that the #7620 ruling does not reach. Filed as objectui#8209 (finding, ungraded) with its own five-locale measurement, and fenced by a pin here so this PR's boundary is measured rather than asserted in prose.

There is a third class worth naming and not fixing: a date that reaches a cell with no type information at all (lookupColumnDisplay's final String(val), coerceToSafeValue's String(obj.$date)) renders raw. Those are not "a date formatted the wrong way" — nothing on those paths knows the value is a date — so they are out of reach of any convention, including this one.


2. Render-measured, not source-confirmed

The card flags its four sites as source-confirmed, not render-measured. All six were rendered through the real widgets (I18nProvider + LocalizationProvider, happy-dom, TZ=UTC) in five locales before touching anything, and the card's prediction held exactly: every one of the four rendered Intl's numeric default, and the reference date cell rendered Jul 4.

2026-07-04 (current year) and 2024-07-04 (past year), en / de / zh / ja / ar:

site locale before after date CELL (reference)
all four, current year en 7/4/2026 Jul 4 Jul 4
all four, current year de 4.7.2026 4. Juli 4. Juli
all four, current year zh 2026/7/4 7月4日 7月4日
all four, current year ja 2026/7/4 7月4日 7月4日
all four, current year ar 4/7/2026 4 يوليو 4 يوليو
all four, past year en 7/4/2024 Jul 4, 2024 Jul 4, 2024
all four, past year de 4.7.2024 4. Juli 2024 4. Juli 2024
all four, past year zh 2024/7/4 2024年7月4日 2024年7月4日
all four, past year ja 2024/7/4 2024年7月4日 2024年7月4日
all four, past year ar 4/7/2024 4 يوليو 2024 4 يوليو 2024

(The ar rows carry U+200F marks around the numeric separators; omitted above so the table stays readable, present in the measurement.)

All four sites produce the identical string at every cell of that table, and the diff of the whole before/after measurement contains only these rows: sites 5 and 6 and both reference rows are byte-identical across the change.

⚠️ On the reference column: DateCellRenderer's own default style is 'relative', so it reaches formatDate's default face only outside the ±7-day window (July 4 is, from today). Inside that window the cell says Today / 3 days ago and the widgets do not — that asymmetry is unchanged by this PR and is the same asymmetry PR #8196 leaves in data-table. "Converging on formatDate" here means its default face, exactly as the ruling spells it out, not the cell's relative style.


3. ⚠️ The one thing that differs from #7620 — please price this

#7620's former face already asked for { year: 'numeric', month: 'short', day: 'numeric' }, so converging it moved only the year token, and its past-year row was byte-identical. That is what the ruling was priced against: 「每张表每个当年日期 Jul 4, 2026Jul 4」.

These four passed no bag at all. So the whole face changes, in every locale, in both years — 7/4/2024Jul 4, 2024 as much as 7/4/2026Jul 4. There is no must-not-change row here.

Reasoning for implementing rather than escalating, stated either way so it can be overruled cheaply:

  • Every one of the four is the same question, and all four answer it identically — no site needed different treatment, which is the condition for a follow-through rather than a new decision.
  • The ruling's stated ratio is "the split is not 'table versus card' — it is two faces for the same value … chosen by which code path the cell happened to take", and its named remedy for a surface that wants something else is "an explicit format style honoured by both paths, not a second option bag". That is precisely the alternative the [fields] the readonly date WIDGET faces are a third convention — a bare toLocaleDateString(locale), not formatDate #8194 card raises ("declare the second convention rather than delete it") — considered as option B on date has the same two-convention split datetime just had: data-table's date-only cell keeps a year that formatDate drops #7620 and not taken.
  • The fact pattern needs no extension to reach these sites: site 4's two faces live inside one function (a lookup column with a descriptor already rendered through formatDate; one without landed on the bare bag), site 2 is a sub-grid cell, and site 1's readonly face is what FieldEditWidget renders in the grid and detail inline editors — beside DateCellRenderer's.
  • What is not covered by the ruling as priced is the magnitude. If the maintainer priced "one token" and would price "the whole face in every year" differently, this is the PR to bounce — it is a draft, it is four call sites, and reverting it is four lines.

4. What changed

Four call sites, each formatDate(value, undefined, { locale }). undefined in the positional slot is how the published signature asks for the default face; the positional argument outranks options.style (objectui#7745).

GridField is the one that needed care: its date branch splits the stored YYYY-MM-DD into local calendar parts first, because new Date('2026-06-17') is UTC midnight and reading local components back out of it moves the day west of Greenwich (objectui#3569). That local Date is handed to formatDate as a Date instance, which the shared function uses verbatim — passing the raw string would have re-introduced exactly the bug that construction exists to avoid. Its !ymd guard still runs first, so an unreadable stored value keeps showing what is actually stored.

The other three inherit formatDate's for a value it cannot parse, where they used to render the literal Invalid Date. That is a consequence of using the one home, not a second convention; it is pinned.

Nothing gains a format style vocabulary: the widgets still read no style, exactly as before.


5. Tests

New: packages/fields/src/__tests__/fields-date-widget-convention-8194.test.tsx, in the #7621 / #8196 shape.

  • Every claim is measured against FORMER_FACE — the removed bare toLocaleDateString(locale) copied verbatim — and against the shared function, never against a literal typed by hand. GridField gets its own FORMER_GRID_FACE because its removed spelling was the local-parts construction, not the string parse.
  • FIXTURE VALIDITY asserts the premise: the two formatters disagree on the current-year value and on the past-year one (the line that differs from date has the same two-convention split datetime just had: data-table's date-only cell keeps a year that formatDate drops #7620), the current-year fixture really is the current year, and the year-dropping decision is what separates the rows. Green on both sides by construction — it measures the formatters, never the widgets — so a fixture that silently stopped exercising the fork fails loudly instead of passing for free.
  • Four sites × five locales × two years, plus verbatim en literals (Jul 4, Jul 4, 2024) so a silent redesign of formatDate's default face cannot slide through with the shared-function comparisons still agreeing.
  • SCOPE FENCE: sites 5 and 6 asserted unchanged, in all five locales.

Updated (their expectations were the old face — this is the change being visible, not collateral):

  • __tests__/date-locale-channel.test.tsx — the date cases now build expectations through a local defaultDateFace() helper, the idiom this file already used for its ±7-day fallback case, because the face is year-sensitive and a literal would turn a locale file red on a January 1st. Its subject (which tag reaches Intl) is unchanged and still non-vacuous: each case asserts the other locale's form is absent. Its datetime cases are untouched.
  • widgets/RecordPickerDialog.dateLocale.test.tsx — same treatment; its en case is no longer byte-identical across this change and the header says so.
  • datetime-widgets.test.tsx — the readonly DateField case, now built from the same bag.

Runs

pnpm --filter @object-ui/fields type-check   # green
pnpm --filter @object-ui/fields test         # Test Files 137 passed (137) · Tests 2338 passed (2338)
node scripts/check-control-bytes.mjs         # OK, 6536 tracked text files
node scripts/check-changeset-{presence,fixed,no-major,overwrite}.mjs   # all green
node scripts/check-governed-queue-guard.mjs --test THE_9_CHANGED_PATHS # NOT GOVERNED
pnpm exec eslint THE_8_TOUCHED_FILES --format json

Heavy runs went through the container's shared verify lock; verdict lines are in the dev report.

Lint narrowing, declared. pnpm lint (turbo run lint, eslint . per package) is the repo-scoped run and belongs to CI; locally eslint was run over the 8 files this diff touches (count read from --format json output, not estimated): 0 errors, 57 warnings, all of them pre-existing no-explicit-any / react-refresh / no-unused-vars patterns that origin/main already carries on these files. The narrowing is sound because type-aware linting is not enabled in this repoeslint.config.js extends tseslint.configs.recommended (not recommendedTypeChecked) and contains zero project / projectService / tsconfigRootDir settings — so this diff cannot move the verdict on any file it does not touch.

Ablation — measured, from the committed state 1130b9aa2

All four sites reverted to their removed bare spelling in one run.

The mutation reached disk — anchored fixed-string counts, before and after, per file (grep -coF, no ERE alternation):

file formatDate( before → after toLocaleDateString( before → after
DateField.tsx 2 → 1 2 → 3
GridField.tsx 1 → 0 2 → 3
FormulaField.tsx 1 → 0 1 → 2
lookupColumnDisplay.tsx 1 → 0 0 → 1

(The residual counts are prose in the surrounding comments — which is why the count is read per file and printed, not asserted as "zero somewhere".) git diff HEAD --stat then showed 4 files changed, 4 insertions(+), 4 deletions(-), so the edit is on disk and not merely a tool exit code.

The pins reddened: 91 failed | 27 passed (118). The 27 survivors are the cases that by construction measure something other than the convergence — FIXTURE VALIDITY (it compares the two formatters, never a widget), the SCOPE FENCE block (the two datetime sites, untouched by the mutation), GridField's preserved raw-value guard, and the "no time token" property both faces share.

The restore was proved BY STATE, not by an exit codegit hash-object against git rev-parse HEAD:PATH for each of the four files (four MATCHes), then an empty git diff HEAD and an empty git status --porcelain. The script carries a trap … EXIT INT TERM whose restore paths are absolute (git rev-parse --show-toplevel), and every checkout names HEAD explicitly rather than the bare form, which would have restored the mutation out of the index.

⭐ Worth knowing for anyone repeating it here: vitest.config.mts aliases every @object-ui/* specifier to that package's src, so an ablation in this repo is read from source and the "unbuilt mutation stays green" hazard does not apply — the dist preflight step other repos need has no counterpart here.


6. Scope


🤖 Generated with Claude Code

https://claude.ai/code/session_01YBWFb5YgMU5dw8p2VKj16S


Generated by Claude Code

…ly widgets

Four readonly `date` faces in `@object-ui/fields` called
`toLocaleDateString(locale)` with no options bag at all — Intl's numeric
default — so they never implemented the year-dropping decision the shared
`formatDate` documents and every `date` cell already follows:

  - the readonly `DateField` (also what `FieldEditWidget` renders in the
    grid and detail inline editors),
  - `GridField`'s readonly sub-grid `date` column,
  - a `FormulaField` declaring `return_type: 'date'`,
  - `lookupColumnDisplay`'s plain-text `$date` fallback, which sits in the
    same function as the descriptor path that already used `formatDate`.

All four now call `formatDate(value, undefined, { locale })`. Rendered and
compared in five locales (en/de/zh/ja/ar) before and after: every one moves
onto the face the `date` cell beside it already showed, and nothing else in
the package moves.

`GridField` keeps building its local `Date` from the verbatim `YYYY-MM-DD`
parts and hands that instance to `formatDate`, so the UTC-midnight day shift
that construction exists to avoid stays avoided; its unparseable-value guard
still answers the raw stored string.

Unlike the sibling change in `@object-ui/components`, the former face here
carried no short month either, so the whole face changes in both years, not
only the year token.

The two readonly `datetime` faces found by the same enumeration are left
alone on purpose: their home is `formatDateTime`, whose named faces are a
separate display-convention question. Recorded separately and fenced by a pin.

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

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3189.8 KB 3191.4 KB
Main entry chunk (gzip) 144.0 KB 350 KB
Entry file index-2Fo2fPcb.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) 5.13KB 2.35KB
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) 498.00KB 113.91KB
core (index.js) 6.96KB 2.79KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 187.85KB 52.13KB
fields (index.js) 243.04KB 61.37KB
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) 11.71KB 4.29KB
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) 5.12KB 1.74KB
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) 15.16KB 3.68KB
plugin-calendar (index.js) 47.67KB 13.25KB
plugin-charts (index.js) 70.62KB 19.71KB
plugin-chatbot (index.js) 193.54KB 46.04KB
plugin-dashboard (index.js) 131.41KB 34.43KB
plugin-designer (index.js) 211.51KB 43.01KB
plugin-detail (index.js) 247.68KB 63.49KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 131.01KB 32.32KB
plugin-gantt (index.js) 167.16KB 40.99KB
plugin-grid (index.js) 208.58KB 56.63KB
plugin-kanban (index.js) 52.83KB 14.63KB
plugin-list (index.js) 113.35KB 27.73KB
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.33KB 3.25KB
plugin-view (index.js) 84.46KB 20.80KB
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.74KB 1.41KB
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 (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

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

✅ Console Performance Budget

Metric Value Budget
Eager closure (gzip, 50 chunks) 3191.0 KB 3191.4 KB
Main entry chunk (gzip) 143.9 KB 350 KB
Entry file index-fcBJt3kC.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) 5.13KB 2.35KB
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) 498.00KB 113.91KB
core (index.js) 6.96KB 2.79KB
create-plugin (index.js) 10.08KB 3.26KB
data-objectstack (index.js) 189.11KB 52.55KB
fields (index.js) 243.04KB 61.37KB
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) 11.71KB 4.29KB
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) 5.12KB 1.74KB
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) 15.16KB 3.68KB
plugin-calendar (index.js) 47.67KB 13.25KB
plugin-charts (index.js) 70.62KB 19.71KB
plugin-chatbot (index.js) 193.54KB 46.04KB
plugin-dashboard (index.js) 131.41KB 34.43KB
plugin-designer (index.js) 213.21KB 43.63KB
plugin-detail (index.js) 247.68KB 63.49KB
plugin-editor (index.js) 2.23KB 1.05KB
plugin-form (index.js) 131.01KB 32.32KB
plugin-gantt (index.js) 167.16KB 40.99KB
plugin-grid (index.js) 208.58KB 56.63KB
plugin-kanban (index.js) 52.83KB 14.63KB
plugin-list (index.js) 113.38KB 27.73KB
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.33KB 3.25KB
plugin-view (index.js) 84.46KB 20.80KB
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.74KB 1.41KB
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 (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

Hold released — #8194 ruled option A (director seat, decision batch #72, 2026-09-07)

The maintainer confirmed that #7620's ruling A extends to the four readonly date widget faces at this larger magnitude (whole face, both years). This draft is what the ruling asks for; nothing in it needs to change. Ready for the queue at the PM lane's discretion.

Ruling comment: #8194 (batch #72).


Generated by Claude Code

@os-justin
os-justin marked this pull request as ready for review September 7, 2026 09:40
@os-justin
os-justin added this pull request to the merge queue Sep 7, 2026
Merged via the queue into main with commit 7ed9808 Sep 7, 2026
34 checks passed
@os-justin
os-justin deleted the claude/issue-8194-fields-date-widget-format-convergence branch September 7, 2026 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[fields] the readonly date WIDGET faces are a third convention — a bare toLocaleDateString(locale), not formatDate

3 participants