Repository navigation
fix(plugin-list): a date-range user-filter chip draws the platform date picker, with translated bound labels (objectui#12784) - #12820
Merged
objectstack-fleet[bot] merged 2 commits intoOct 16, 2026
Conversation
…te picker, with translated bound labels (objectui#12784) Each bound resolves the host-registered `field:date` widget from ComponentRegistry, the seam FilterBuilder and filter-ui use since objectui#12743; with nothing registered it keeps the native input. The From / To labels read the existing filterBuilder.rangeStart / rangeEnd keys. The written value stays a pair of YYYY-MM-DD strings, [] when both are empty. Claude-Session: https://claude.ai/code/session_01FWQBTBcVy92xxtD1YnNATh Co-authored-by: Claude <noreply@anthropic.com>
…er-filter-date-range-picker
Contributor
✅ Console Performance Budget
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
Size Limits
|
Contributor
Author
席位核对 · ACCEPT ·
|
objectstack-fleet
Bot
deleted the
claude/issue-12784-user-filter-date-range-picker
branch
October 16, 2026 23:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #12784
Clause-②: no
What changed
A list view's
date-rangeuser-filter chip (packages/plugin-list/src/UserFilters.tsx) now draws the platform date picker on both bounds. It used to draw two native date inputs, which take their placeholder and digit order from the machine's locale, labelled with the English literals "From" / "To".DateBoundInput) resolves thefield:datewidget fromComponentRegistryat render time. That is the seamFilterBuilderandfilter-uiuse since PR fix(components,plugin-view): date / datetime list filters draw the platform date picker (objectui#12743) #12782 (objectui#12743).@object-ui/fieldsregisters the picker behind its lazy loader. With nofield:datewidget registered, a bound keeps the native input.filterBuilder.rangeStart/filterBuilder.rangeEndkeys, which all ten packs already carry. No language-pack key, prop, export or dependency is added, soClause-②: no.YYYY-MM-DD, and the chip writes[]when both are empty, so the query gets the same>=/<=conditions as before.w-56tow-72so the picker and its clear and calendar buttons fit.Measured
@object-ui/fieldscallsregisterAllFields()when it is imported, and plugin-list imports it, so in practicefield:dateis always registered whereverUserFiltersloads. The native pair is reached only whenfield:datehas been unregistered.user-filter-arity-spec-parity.test.tsxnow pins it exactly that way.e2e/live/ci/start-backend.sh, published@objectstack/*@18.0.0-next.2. In the throwaway showcase copy only, a{ field: 'due_date', type: 'date-range' }chip was added to the Task Workbench page. The console ran in zh with the browser locale set to en-US.c054d01): two native date inputs showingmm/dd/yyyy, labelled "From" / "To".YYYY/MM/DD, labelled 起始值 / 结束值.2026/10/01+ Enter filters 10 rows down to 9. Both builds write the same URL value,uf_due_date=2026-10-01%2C.claude/issue-12784-evidence,evidence/12784/.Tests
packages/plugin-list/src/__tests__/UserFilters.dateRangePicker-12784.test.tsx, using the real@object-ui/fieldspicker:YYYY/MM/DDand names 起始值 / 结束值;YYYY-MM-DD;[];UserFilters.tsxswapped for thec054d01blob. 6 failed, and the 2 controls passed.046cc1fa781b183775ffb19bfffaacb03c846ed1, byte for byte.type-check;UserFilters,date-rangeorfield:date;packages/i18n/src/__tests__;check:i18n-keys,check:i18n-drift,check:i18n-dead-keys;check:changeset-claims,changeset:check,check:test-path-roots,check:spec-symbols,check:new-line-citations,check-changeset-presence;Acceptance notes
Clause-②: yes. Not done here.Changeset:
.changeset/12784-user-filter-date-range-picker.md(@object-ui/plugin-list: patch).Provenance: built by the cloud session
session_01FWQBTBcVy92xxtD1YnNATh(claim6225707844) and opened by thedomain:uiseat 1 PM (session_011K9g23W67dy2zwnyzaoB6o) from that session's final message, because a cloud session cannot open a PR from its container. The seat replaced the dev's two footer lines with this paragraph and changed nothing else.Generated by Claude Code