Repository navigation
spec(AST-118): rejected entry feedback for inputs that check their own entries - #11321
Conversation
…n entries (draft) A draft system spec for how DateInput, DateTimeInput, TimeInput, and NumberInput report their own rejections: no flag on an unfinished entry, a point of completion for each kind of entry, rejected text kept at commit, and every rejection shown as a visible message with the invalid state and one announcement. The input-field family and the four component records project it, each with its requirement gaps.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the new draft spec:AST-118 and the new or reworded claims it adds to the five current records, including OQ1–OQ4 and the spec:AST-017 FR53 classification. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
These record issues need fixing either way:
- FR5, AR3 and the FR5 verification row require a visible message for every rejection, including inside InputGroup, but
component:TextInputFR1,component:TimeInputFR10 andcomponent:InputGroupFR1, which this pull request leaves unchanged, show no visible member status there, so state where a grouped member's rejection appears and amend those records, or scope FR5 and AR3 to standalone fields and list grouped fields as a gap. - FR7 makes Enter a commit in every typed field, but the FR7 gap, the Compatibility entry, and DateTimeInput FR16's gap and Current-state bullet leave out DateTimeInput's time segment, whose Enter commits nothing unless its preset-time list is open (the time field's key handler in
DateTimeInput.tsx). - The Members sentence calls these "the four members of
family:input-fieldsthat reject entries themselves" and family FR15 is titled "Members never … drop a rejected one", yet FileInput rejects wrong-type and oversize files itself and drops them, so name FileInput as outside the record with its reason and title family FR15 for the four members.
Two smaller points: the family's Known-gaps bullet names only NumberInput and TimeInput, and DateInput FR25 should say whether a native date control keeps or restores a rejected value at commit.
Claims and files checked
- Verified: the companion timing pull request is an independent open draft whose default keeps shipped behaviour.
- Verified: no current family or component claim decides when a member flags its own entry or what a commit does with a rejected one.
- Verified: the cited status-announcement, calendar-system and compatibility claims say what the description says; the typed-date completeness definition is reused word for word and is itself draft.
- Verified: today's component records describe the revert and keystroke-alert behaviour the description lists (DateInput FR20, the DateTimeInput committed-value concept, TimeInput FR3 and FR6, NumberInput FR2, FR3, AR2 and the inverted-range row).
- Verified: NumberInput and TimeInput mark any draft that is not an in-range value invalid on each keystroke, with a visually hidden assertive alert and no visible message (
NumberInput.tsxvalidity and alert region,TimeInput.tsxlikewise). - Verified: NumberInput and TimeInput drop unparsable drafts on blur, TimeInput has no Enter commit, and the NumberInput commit clamps and reverts every number when
minis abovemax(numberInputCommit.ts, the TimeInput blur handler). - Verified: unreadable date text is flagged on each keystroke (
useTypedDate.ts). - Verified: the two open issues named ask for kept rejected text and a visible message.
- Verified: the next record numbers are claimed as described, no other pull request uses this number, and the FR ids do not overlap the companion's.
- False: only these four family members reject entries themselves; FileInput rejects wrong-type and oversize files itself (
FileInput.tsx). - False: only TimeInput lacks an Enter commit; DateTimeInput's time segment commits nothing on Enter unless its preset list is open (
DateTimeInput.tsx). - Verified: 455 authored lines in six records, a clean whitespace check, and no implementation, doc or changeset change.
- Not checked: the knowledge-checker, formatter and routing-helper results, and the browser observation of partial native years, which the record itself asks to re-measure.
docs/specs/AST-118-rejected-entry-feedback/spec.md: grouped-field visibility, the missing DateTimeInput Enter gap, and the FileInput scope sentence.docs/families/input-fields.md: FR15's title leaves out FileInput; the Known-gaps bullet names only two members (non-blocking).docs/specs/components/DateTimeInput/DateTimeInput.spec.md: FR16's gap and Current-state bullet omit the time segment's Enter.docs/specs/components/NumberInput/NumberInput.spec.md: FR15's visible message conflicts with FR12's grouped status.docs/specs/components/TimeInput/TimeInput.spec.md: FR14's visible message conflicts with the unamended FR10 grouped status.docs/specs/components/DateInput/DateInput.spec.md: clear apart from the unstated native-value outcome at commit (non-blocking).
…ry errors reported Classify every change in the record as one accessibility behavior fix under AST-017 FR53 (WCAG 2.2 1.4.1 and 3.3.1), shipped in a patch. NumberInput, TimeInput, and the DateTimeInput time segment keep a caller status over their own message, and NumberInput and TimeInput report their rejections through an optional onEntryErrorChange with NumberInputEntryError and TimeInputEntryError. Enter commits TimeInput without holding back the form. The record states how validationBehavior applies under these points and closes its dropped-entry case, and the decided questions collapse into decisions.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the draft spec:AST-118 and the claims it adds to five current records: the pending DEC-2 and DEC-7 (OQ1 and OQ2), the DECs that carry only the author's decider line, the caller-status split between DateInput and NumberInput/TimeInput, the optional onEntryErrorChange, and the spec:AST-017 FR53 patch classification. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
These record issues need fixing either way:
- FR5 and AR3 promise a visible message for every rejection, including the InputGroup state in the FR5 verification row, but
component:TextInputFR1,component:TimeInputFR10 andcomponent:InputGroupFR1, which stay unchanged, give a grouped member no visible status, so say where a grouped member's rejection shows and amend those records, or scope FR5 and AR3 to standalone fields and list grouped fields as a gap. - Miss: because
component:NumberInputFR6 putsnameon the visible input when there is noformatValue, keeping a rejected draft after blur (FR3, the Range row,spec:AST-118FR4) makes a native form post text such as1awhere it posts the committed number today, so require the form value to stay the committed number while rejected text stays, or classify that case underspec:AST-017FR1. - Without the callback, FR7 keeps a caller
warningorsuccessstatus shown over a rejected NumberInput or TimeInput entry, so a field witharia-invalid="true"can read "Looks good" while only a hidden alert names the error, which contradicts DEC-8's claim that every change meets WCAG 1.4.1 and 3.3.1; apply the "never replaces a rejection" rule with or without the callback, or list the case as a remaining gap. - DEC-5 says an app that passes a
statussees the same screen as on the latest release, but DateInput's unreadable text now stays and replaces the caller status where it used to revert and leave that status shown, so name this case in Compatibility and DEC-8 or keep the caller status for it. - FR11, DEC-9 and the first non-goal rely on
spec:AST-117, which is only in the open draft #11310, and the projections skip the FR ids that draft reserves, so declare the two pull requests as a stack or move that text to whichever lands second and number the projections from the idsmainhas. - FR9 makes Enter a commit in every typed field, but the FR9 gap and DateTimeInput FR16's gap and Current-state bullet leave out DateTimeInput's time segment, whose Enter commits nothing unless its preset-time list is open.
- The Members sentence and family FR15's title still imply that only these four members reject entries themselves, yet FileInput rejects wrong-type and oversize files and drops them, so name FileInput as outside the record and title family FR15 for the four members.
Smaller points: FR10 says a rejection returns once the field is editable while NumberInput FR9 and TimeInput FR9 drop a draft on a disabled commit; the family Known-gaps bullet names only NumberInput and TimeInput; and DateInput FR25 should say whether a native date control keeps or restores a rejected value at commit.
Claims and files checked
- Verified: 587 authored lines in six Markdown records, with no implementation, doc or changeset change.
- Verified: NumberInput and TimeInput mark any draft that is not an in-range value invalid on each keystroke, with secondary text and a visually hidden assertive alert, and drop unparsable drafts on blur (
NumberInput.tsx,TimeInput.tsx). - Verified: TimeInput has no Enter commit; unreadable date text is flagged on each keystroke and reverts at commit (
useTypedDate.ts); a rejected native date shows only colour andaria-invalid(NativeDateField.tsx). - Verified: today's component records describe the revert and keystroke-alert behaviour the description lists, and no current record decides when a member flags its own entry.
- Verified: the cited status-announcement, disabled-state and compatibility claims say what the description says; typed-date completeness reuses a draft calendar record.
- Verified: the two open issues named ask for kept rejected text and a visible message.
- Verified: the FR ids do not overlap the companion pull request's, and the record contains no pull request or issue references.
- False: apps keep every value unchanged; a NumberInput form posts kept rejected text (
NumberInput.tsxvisible inputname). - False: an app that passes a status keeps its screen; DateInput's unreadable message now replaces it.
- False: only TimeInput lacks an Enter commit; DateTimeInput's time segment has none unless its preset list is open (
DateTimeInput.tsx). - False: the two records land independently; FR11, DEC-9 and the FR numbering depend on the companion draft.
- Not checked: the knowledge-checker, formatter, pre-review and routing-helper results.
docs/specs/AST-118-rejected-entry-feedback/spec.md: grouped visibility, caller-status cases, DEC-5 wording, the companion dependency, the DateTimeInput Enter gap and the FileInput scope.docs/families/input-fields.md: FR15's title leaves out FileInput and its id depends on the companion; the Known-gaps bullet names two members (non-blocking).docs/specs/components/NumberInput/NumberInput.spec.md: FR3 keeps drafts that FR6 then submits; FR15's visible message conflicts with FR12's grouped status.docs/specs/components/TimeInput/TimeInput.spec.md: FR14's visible message conflicts with the unchanged FR10 grouped status; FR9 drops drafts that FR10 of the new record expects back.docs/specs/components/DateTimeInput/DateTimeInput.spec.md: FR16's gap and Current-state bullet omit the time segment's Enter.docs/specs/components/DateInput/DateInput.spec.md: FR25 replaces a caller status for unreadable text, and leaves the native value's fate at commit unstated (non-blocking).
…tion, no AST-117 dependency Scope the visible message to standalone fields: a member inside an InputGroup keeps the group's display, its rejection set as aria-invalid and announced through the field alert, with grouped fields listed as a gap. NumberInput posts its committed number from a hidden input while a rejected draft stays. A warning or success status never replaces a rejection on any member; the unreadable DateInput case is named in Compatibility. A native date or time control restores its committed value and keeps the rejection shown. Enter in the DateTimeInput time segment commits and still submits a form. FileInput is named as outside the record, disabled members match their drop rule, and the projections take the ids main has, without the AST-117 cross-reference.
…ected-entry-feedback # Conflicts: # docs/specs/components/DateInput/DateInput.spec.md # docs/specs/components/DateTimeInput/DateTimeInput.spec.md
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the draft spec:AST-118 and the claims it adds or rewords in the five current records: the pending DEC-2, DEC-7, DEC-9, DEC-10 and DEC-11 (OQ1–OQ3), the decisions that carry only the author's decider line, the caller-status rules, the optional onEntryErrorChange, and the spec:AST-017 FR53 patch classification. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
Every record issue from the earlier review is fixed at this head, and one still needs fixing either way:
- Miss: the Intent and Compatibility say the form value does not change, but
component:TimeInputFR11 andcomponent:DateTimeInputFR8 send base props such asnameto the typed input, so once FR4 keeps rejected text a form submitted after blur posts that text (such as25:00) where the current code posts the committed value's text; scope those sentences and name this case in Compatibility and DEC-8 for the owner, or extend NumberInput FR6's hidden-input rule to these members.
Smaller points: say which message DateTimeInput shows when both segments hold a rejection, add FR7's conditions to the family FR14 sentence on caller-status precedence, and say whether FR6 re-announces an edit from one complete out-of-range number to another.
Claims and files checked
Claims in the description:
- The changes are one accessibility fix shipped as a patch under the release record's accessibility rule: proposed in DEC-8 and Compatibility; awaits the owner decision.
- The classification, what ships, the caller-status rule and Enter in TimeInput were already decided: the decision log carries the author's decider lines; no engineering-owner approval is recorded at this head.
- The release record makes accessibility fixes patch-eligible with no app code change and admits optional additions: verified in its FR53, FR3 and FR5.
- Inside InputGroup the group shows only its own status, a grouped TextInput or NumberInput renders no message box, and a grouped TimeInput's status is visually hidden: verified in InputGroup FR1, TextInput FR1 and TimeInput FR10.
- NumberInput puts
nameon the visible input withoutformatValue, keeps an unparsable draft on Enter, and drops a draft when disabled: verified in its FR6, FR3 and FR9 and inNumberInput.tsx:1218. - The DateTimeInput time segment commits on Enter only while its preset-time list is open: verified at
DateTimeInput.tsx:1569. - DateInput on
mainreports rejections throughonEntryErrorChange, shows its message over a caller status unless the callback is set, and keeps typed text through a lock: verified in its FR20, AR3 and FR12. - A refused native date or time is restored and its rejection cleared at blur: verified in
NativeDateField.tsxandNativeTimeSegment.tsx:260-270. - NumberInput and TimeInput mark and announce every invalid draft per keystroke, revert it on blur, and TimeInput has no Enter commit: verified at
TimeInput.tsx:581-592,:636-669and:868-886. - The projections take ids free on
main, and the record no longer cites the companionvalidationBehaviorrecord: verified. - The DateInput and TimeInput records define no form value, so
nameon the visible input is undocumented markup: partly false, since TimeInput FR11 and DateTimeInput FR8 document base props reaching the typed input (the blocking point above). - The record carries no pull request or issue references: verified.
- 691 authored lines across six records, with no implementation, docs or changeset: verified.
- The branch carries the current base with conflicts resolved and merges cleanly: verified.
- The knowledge, formatting, pre-review and spec-routing checks pass: not rerun.
Files:
docs/specs/AST-118-rejected-entry-feedback/spec.md: the form-value claim (blocking); FR6 re-announcement wording (non-blocking).docs/families/input-fields.md: FR14's caller-status sentence lacks FR7's conditions (non-blocking).docs/specs/components/DateTimeInput/DateTimeInput.spec.md: which message shows when both segments are rejected (non-blocking).docs/specs/components/DateInput/DateInput.spec.md: clear.docs/specs/components/NumberInput/NumberInput.spec.md: clear.docs/specs/components/TimeInput/TimeInput.spec.md: clear.
…estions are decided NumberInput counts a typed number as complete only at Enter or blur, so it marks and announces nothing while the person types and reveals the draft's rejection at commit; a number outside an ordinary range still clamps. The digit-reachability test and its examples are gone. A shown rejection stays while an edit leaves the entry rejected, a native control restores its value and keeps the rejection, grouped fields announce only, and a warning or success status never hides a rejection: every decision now names its decider, and no open question remains.
… text stays TimeInput, DateInput, and the DateTimeInput date segment put `name` on their typed input, so kept rejected text would post. Each now posts the committed value's text from a hidden input while rejected text stays, as NumberInput does; OQ1 asks the owner to confirm this for the submissions that post rejected text on the latest stable release. DateTimeInput shows the date segment's message when both segments hold a rejection, a changed message is announced once while the same one is not repeated, and the family rule names the caller-status conditions.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the draft spec:AST-118 and the claims it adds or rewords in family:input-fields and the DateInput, DateTimeInput, TimeInput and NumberInput records, including DEC-12's commit-only number rule, DEC-13's hidden-input form value, onEntryErrorChange, and the spec:AST-017 FR53 patch classification. The record's decisions carry only the author's decider lines; an engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
Two record fixes are needed either way:
- Compatibility (spec.md:270-273) and DEC-8 class every change as a WCAG fix under
spec:AST-017FR53, but the FR4 gap (spec.md:366-369) calls the two submissions DEC-13 changes (Enter-submitted drafts and kept nonexistent or out-of-range date text) outside WCAG, so keep the release result for them or classify them under thespec:AST-017rule that admits them. - Regression: the Public contract example (spec.md:108-111) maps
outOfRangeformin={1} max={40}, but DEC-12 now reportsoutOfRangeonly whenminis abovemax, so its message can never show; mapfractionalorunreadableinstead.
Three smaller wording notes are inline.
Claims and files checked
Claims:
- The four inputs' default rejection behaviour is recorded in a new draft record: verified (spec.md).
- The record has no open questions and every decision names the author as decider: verified (spec.md:405-539, :553-555); no engineering owner approval is recorded for this head.
- While rejected text stays, a form posts the committed value's text from a hidden input, projected into TimeInput FR11, DateTimeInput FR8, DateInput FR24 and NumberInput FR6: verified.
- When both DateTimeInput segments hold a rejection, the date segment's message shows: verified (spec.md:192-195, DateTimeInput FR15).
- The family FR14 projection names the form value and the caller-status conditions: verified.
- Apps change no code and a form never posts rejected text: holds for text the release reverts; the two changed submissions are the first finding above.
- DateInput, TimeInput and DateTimeInput pass caller props to the typed input; NumberInput and TimeInput do not prevent Enter outside a disabled field; DateInput holds Enter back while text is pending: verified in source.
- NumberInput and TimeInput mark and announce invalid drafts on each keystroke and revert unparsable drafts on blur: verified in source.
- The DateTimeInput time segment handles Enter only while its preset list is open: verified in source.
- NumberInput clamps an out-of-range number at commit and reports the clamped value: verified (NumberInput FR3 and its commit source).
- The new FR ids are free on the main branch, and the new record has no pull request or issue references: verified.
- No implementation, doc or changeset changes: verified.
- Whitespace check is clean and the branch merges cleanly with the main branch: verified.
- Authored size: 738 lines against this base (the description's 740 used another base commit).
- Knowledge-record check and Prettier results: not rerun.
- React Aria documentation claims: not checked.
Files:
- docs/specs/AST-118-rejected-entry-feedback/spec.md: two blocking findings, two notes.
- docs/families/input-fields.md: one note (FR14 title).
- docs/specs/components/NumberInput/NumberInput.spec.md: one note (FR2 range clause).
- docs/specs/components/TimeInput/TimeInput.spec.md: clear.
- docs/specs/components/DateInput/DateInput.spec.md: clear.
- docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
…ers only text the release reverts Every posted value stays as on the latest stable release, so the change remains an accessibility behavior fix under AST-017 FR53: a hidden input carries the committed value's text after blur keeps a rejected NumberInput or TimeInput draft, or Enter or blur keeps unreadable date text, and the typed input posts its text wherever the release keeps it. DEC-13 is pending the owner's confirmation of that narrowing. The public example maps a fractional entry, a native restore follows FR6, NumberInput FR2 limits the range test to an inverted range, and the family rule says no rejected entry is dropped silently.
There was a problem hiding this comment.
Approval waits on an engineering owner's decision on the draft spec:AST-118 and the claims it adds or rewords in family:input-fields and the DateInput, DateTimeInput, TimeInput and NumberInput records, including the narrowed DEC-13 (still Decider: pending), onEntryErrorChange, and the spec:AST-017 FR53 patch classification. An engineering owner records the decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
The two record fixes from the last review are done: every submission FR4 lists now posts what the latest release posts, and the Public contract example maps a reachable kind. Five non-blocking notes are inline, led by FR4's native restore at Enter, which can still change what a form submitted on that Enter posts, against DEC-13.
Claims and files checked
Claims:
- Every earlier question has a recorded decision and the record has no open questions, with the narrowed form-value decision pending confirmation: verified (Open questions: None; DEC-13 reads
Decider: pending); no engineering owner approval is recorded for this head. - A form posts exactly what it posts on the latest release: verified for every case FR4 lists against the components' source; a native control's restore at Enter is the one exception (first note).
- The record changes listed in the description's table: verified in the six records.
- NumberInput reverts an unparsable or wrong-kind draft, and every draft when
minis abovemax, on blur, and keeps the draft on an unprevented Enter: verified in source. - TimeInput reverts an unparsable or out-of-range draft on blur and does not prevent Enter: verified in source.
- DateInput keeps incomplete, nonexistent and out-of-range text at commit, reverts unreadable text, and holds back Enter while text is pending: verified in source.
- Native date and time controls snap back to the committed value when focus leaves: verified in source.
- DateInput, TimeInput and DateTimeInput pass caller props,
nameincluded, to the typed input (the date segment for DateTimeInput): verified in source. - NumberInput clamps an out-of-range number at commit, so
outOfRangeoccurs only whenminis abovemax: verified (NumberInput FR3 and its commit source). - The new FR ids are free on the main branch: verified.
- No implementation, doc or changeset changes: verified.
- Authored size of 741 lines: verified.
- Knowledge-record check, Prettier, whitespace and pre-review results: not rerun.
- React Aria documentation quotes: not checked.
Files:
- docs/specs/AST-118-rejected-entry-feedback/spec.md: four non-blocking notes.
- docs/specs/components/NumberInput/NumberInput.spec.md: one non-blocking note (FR3 Enter sentence).
- docs/families/input-fields.md: clear apart from repeating the native restore at commit.
- docs/specs/components/DateInput/DateInput.spec.md: clear apart from repeating the native restore at commit.
- docs/specs/components/TimeInput/TimeInput.spec.md: clear apart from repeating the native restore at commit.
- docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
…ected-entry-feedback # Conflicts: # docs/families/input-fields.md # docs/specs/components/DateInput/DateInput.spec.md # docs/specs/components/DateTimeInput/DateTimeInput.spec.md # docs/specs/components/NumberInput/NumberInput.spec.md # docs/specs/components/TimeInput/TimeInput.spec.md
…mpletion points; the form value is decided AST-118 FR1 says that entryErrorBehavior="complete" reveals at its points of completion and 'blur-or-enter' at commit. The AST-117 projections reveal under 'complete' when the AST-118 projections state, and keep rejected text under 'blur-or-enter'. A native control restores its committed value at blur. The hidden input carries `name` until the kept text is edited, and kept unreadable date text lets the next Enter submit the committed date. NumberInput FR3 shows an Enter-kept draft's rejection, FR5's title fits one line, the family rule has a one-line title, and DEC-13 records the owner's decision.
|
/approve-spec 1841486 |
There was a problem hiding this comment.
Changes requested for one record fix. Every proposed claim has an engineering owner's /approve-spec at this head. The merge with main broke one current requirement row.
docs/specs/components/TimeInput/TimeInput.spec.md:131: the merge put padding between the backslash and the pipe it escaped in TimeInput FR2'sonChange(isoTime | undefined). The row now splits afteronChange(isoTime, so FR2'schangeAction, pending and busy contract no longer reads as FR2. Restore the row exactly as it is onmain.
Two non-blocking wording notes are inline: FR4's formatValue case and DEC-6's submitted value. A new commit needs a new /approve-spec from an engineering owner for its head.
Claims and files checked
Claims:
- The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: consistent with that rule, which admits optional additions and no app code change. The classification itself is part of the owner-approved record.
- Each rejection appears once the entry is complete or at commit, shows a visible message, and keeps the typed text: verified in the new record and the four member records.
- What a form posts does not change: verified for every case the form-value requirement lists, against the components' current source. The requirement's "every other case posts the typed text" wording misses NumberInput with
formatValue(non-blocking note). - An owner has ruled on every question, and the record has no open questions: verified. Every decision names a decider, Open questions reads None, and an engineering owner approved this exact head.
- The entry-error-behavior record is on the main branch, and this branch merges it: verified.
- The new requirements move to the next free ids, and every cross-reference follows: verified in all six records.
- The merge keeps both sides: false. It also rewrote TimeInput FR2 (the blocking finding).
- The record changes listed in the description's table (NumberInput's Enter and form-value rows, TimeInput's form-value row, the DateInput and DateTimeInput
namerule, the one-line family title, the native restore at blur, the form-value decision's decider): verified. - NumberInput clamps an out-of-range number at commit, so its out-of-range rejection occurs only when
minis abovemax: verified in its commit logic. - NumberInput, TimeInput, DateInput and the native controls revert, keep and hold back Enter as the evidence section describes, and caller props including
namereach the typed input: verified in source. - No implementation, doc or changeset changes: verified.
- 806 authored lines: verified.
- Knowledge check, formatter, whitespace and pre-review results: not rerun, and CI was skipped on this draft head.
- React Aria documentation quotes and the DateInput status-precedence release history: not checked.
Files:
- docs/specs/components/TimeInput/TimeInput.spec.md: blocking (the FR2 row).
- docs/specs/AST-118-rejected-entry-feedback/spec.md: two non-blocking notes (FR4
formatValuewording, DEC-6). - docs/specs/components/NumberInput/NumberInput.spec.md: clear.
- docs/specs/components/DateInput/DateInput.spec.md: clear.
- docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
- docs/families/input-fields.md: clear.
…lows whichever input carries name on the release
|
/approve-spec dcf0f1e |
There was a problem hiding this comment.
Changes requested, for the pull request description only: every proposed claim already has an engineering owner's /approve-spec for this head, and the TimeInput FR2 row is restored.
- The Decision section's FR4 bullet still says "Everywhere else the typed input keeps
nameand posts its text", but FR4 at this head says the input that carriesnameon the latest stable release keeps it, which differs for NumberInput withformatValueand for DateTimeInput's time segment. - The Validation section reports 806 authored lines from
pnpm review:pre, but this head has 785 (729 added, 56 deleted), so the section still describes the previous head.
Editing the description needs no new commit, so the existing /approve-spec stays valid, while a new commit would need a new one. One non-blocking note is inline: FR4's example list and Compatibility still say an Enter-submitted NumberInput draft posts its typed text, where with formatValue it posts the committed number.
Claims and files checked
Claims:
- The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: consistent with that rule; the classification is part of the owner-approved record.
- Each rejection appears once the entry is complete or at commit, shows a visible message, keeps the typed text and leaves the form value unchanged: verified in the new record and the four member records (inside an input group the visible message is the gap the record names).
- An owner has ruled on every question, and the record has no open questions: verified.
- The entry-error-behavior record is on the main branch, this branch merges it, and the new requirements take the next free ids with every cross-reference following: verified in all six records.
- The Decision section's completion points, rejection timing, hidden-input cases, name handoff, unreadable-date Enter rule, native restore at blur and one-line message title: verified.
- Everywhere else the typed input keeps the name and posts its text: false at this head (blocking).
- The record changes listed in the revision table: verified.
- The owner decisions list: verified, except that a draft Enter submits posts its typed text, which is imprecise for a number field with a display formatter (non-blocking).
- The number field clamps an out-of-range number at commit, so its out-of-range rejection occurs only when the minimum is above the maximum: verified in its commit logic.
- The date field has shown its own message over the app's status since 0.7.9: not verified; the 0.7.9 release notes do not say.
- The source behaviour the evidence section describes (reverts, kept text, Enter handling, native snap-back, where the name goes): verified in source.
- The quoted React Aria documentation: not checked.
- Knowledge check, formatter and spec-routing results: not rerun, because dependencies could not be installed; the tables in all six records are aligned, the whitespace check is clean, and the branch merges cleanly with main.
- 806 authored lines: false at this head, which has 785 (blocking).
- Records only, with no implementation, doc or changeset changes: verified.
Files:
- docs/specs/AST-118-rejected-entry-feedback/spec.md: one non-blocking note (the formatter case in FR4's example list and Compatibility).
- docs/specs/components/TimeInput/TimeInput.spec.md: clear (FR2 restored as on main).
- docs/specs/components/NumberInput/NumberInput.spec.md: clear.
- docs/specs/components/DateInput/DateInput.spec.md: clear.
- docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
- docs/families/input-fields.md: clear.
|
/approve-spec 45244c2 |
There was a problem hiding this comment.
Changes requested, for the pull request description only: every record change already has an engineering owner's /approve-spec for this head.
- The description's owner decision 1 still says the typed input posts kept text and that a draft Enter submits before blur posts its typed text, but FR4 at this head says a
NumberInputwithformatValueposts the committed number from its hidden input in every case and DateTimeInput's time segment posts nothing, and the "Changed in this revision" heading says one fix commit follows the merge where three do.
Editing the description needs no new commit, so the existing /approve-spec stays valid, while a new commit would need a new one. Two non-blocking notes are inline: the text NumberInput's hidden input posts in a comma-decimal locale, and when TimeInput's native control restores its value.
Claims and files checked
Claims:
- The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: verified; the classification is part of the owner-approved record.
- Each rejection appears once the entry is complete or at commit, shows a visible message, keeps the typed text and leaves the posted value unchanged: verified (inside an input group the visible message is the gap the record names; one narrow comma-decimal case is a non-blocking note).
- An owner has ruled on every question, and the record has no open questions: verified.
- The entry-error-behavior record is on the main branch, this branch merges it, and the new requirements take the next free ids: verified in all six records.
- The 0.8.0 plans are outside the record: verified.
- The existing authority listed (compatibility rules, entry-error-behavior rules, base props and
name, Enter hold-back, grouped layout, announcement and calendar records): verified against the main branch. - The Decision section's completion points, rejection timing, hidden-input cases, the
namehandoff, the unreadable-date Enter rule, the native restore at blur and the one-line message title: verified; the requirements after it are unchanged. - The rows of the "Changed in this revision" table: verified; its heading's "one fix commit": false at this head (blocking).
- Owner decision 1's "the typed input posts it" and "a draft that Enter submits before blur" posts typed text: false at this head for a number field with
formatValueand for the date-time field's time segment (blocking); its other bullets and owner decisions 2 to 11: verified. - The number field clamps an out-of-range number at commit, so its out-of-range rejection occurs only when the minimum is above the maximum: verified in its commit logic.
- The date field has shown its own message over the app's status since 0.7.9, unless the app passes the callback: verified in the 0.7.9 release notes and the source.
- The numbering, rejected alternatives, scope and non-goals: verified.
- The source behaviour the evidence section describes (reverts, kept text, Enter handling, native snap-back, where
namegoes): verified in source. - The quoted React Aria documentation: verified.
- The writing-rubric results and the records-only scope: verified.
- Whitespace check, 787 authored lines and a clean merge with main: verified; the knowledge check, formatter and spec-routing results were not rerun.
Files:
- docs/specs/AST-118-rejected-entry-feedback/spec.md: one non-blocking note (the hidden input's number text).
- docs/specs/components/NumberInput/NumberInput.spec.md: one non-blocking note (FR6 and its verification row).
- docs/specs/components/TimeInput/TimeInput.spec.md: one non-blocking note (FR14's native restore timing).
- docs/specs/components/DateInput/DateInput.spec.md: clear.
- docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
- docs/families/input-fields.md: clear.
… as the focused field shows it; TimeInput native restore at blur
|
/approve-spec b4f8014 |
There was a problem hiding this comment.
Changes requested for one record fix: every proposed claim already has an engineering owner's /approve-spec for this head, and the two description issues from the last review are fixed.
spec:AST-118FR4 andcomponent:NumberInputFR6 now give the hidden input the committed number "as the focused field shows it", but a NumberInput withoutformatValueshows2.5at rest and2,5(inde-DE) only while focused, so a decimal-comma form submitted with a Submit click after a rejected entry would post2,5where the latest release posts2.5, against the record's own rule that no posted value changes; describing the text as the field shows it on the latest release (the plain number while unfocused, the locale-formatted number while focused) and adding a decimal-comma locale to the FR4 verification states would fix it.
A record edit needs a new commit, so it also needs a new /approve-spec. One non-blocking note: the description's table of changes since the last review leaves out this head's last commit.
Claims and files checked
Claims:
- The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: verified as record text, but its no-posted-change basis fails for the decimal-comma number case (blocking).
- Each rejection appears once the entry is complete or at commit, shows a visible message and keeps the typed text: verified (inside an input group the visible message is the gap the record names).
- What a form posts stays unchanged: false for a number field without a custom formatter in a decimal-comma locale submitted after blur (blocking).
- An owner has ruled on every question, and the record has no open questions: verified.
- The entry-error-behavior record is on the main branch, this branch merges it, and the new requirements take the next free ids: verified in all six records.
- The 0.8.0 plans are outside the record: verified.
- The existing authority listed (compatibility rules, entry-error-behavior rules, base props and
name, Enter hold-back, grouped layout, announcement and calendar records): verified against the main branch. - The Decision section's completion points, rejection timing, hidden-input cases, the
namehandoff, the unreadable-date Enter rule, the native restore at blur and the one-line message title: verified. - The rows of the table of changes since the last review: verified; the table leaves out this head's last commit (non-blocking).
- Owner decisions 1 to 11: verified, except decision 1's "no posted value changes" for the decimal-comma number case (blocking, the same finding).
- The number field clamps an out-of-range number at commit, so its out-of-range rejection occurs only when the minimum is above the maximum: verified in its commit logic.
- The defaults section (the date field's own message since 0.7.9 unless the app passes the callback; the number and time fields show the app's error status): verified in the source and release notes.
- The numbering, rejected alternatives, scope and non-goals: verified.
- The source behaviour the evidence section describes (reverts, kept text, Enter handling, native snap-back, where
namegoes): verified in source. - The quoted React Aria documentation: verified against the published documentation.
- The writing-rubric results and the records-only scope: verified.
- Whitespace check, 788 authored lines and a clean merge with main: verified; the knowledge check and formatter results were not rerun.
Files:
- docs/specs/AST-118-rejected-entry-feedback/spec.md: blocking (FR4's hidden-input number text).
- docs/specs/components/NumberInput/NumberInput.spec.md: blocking (FR6, the same finding).
- docs/specs/components/TimeInput/TimeInput.spec.md: clear.
- docs/specs/components/DateInput/DateInput.spec.md: clear.
- docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
- docs/families/input-fields.md: clear.
…ease shows it, focused or not
|
/approve-spec 0009f0a |
There was a problem hiding this comment.
Approved pending CI: one CI job is still running on this head. Every proposed claim in spec:AST-118 and its five projections has an engineering owner's /approve-spec for this head, and the earlier finding on NumberInput's posted number text is fixed.
- AST-118 FR4 and NumberInput FR6 now give the kept-draft hidden input the number as the latest release's field shows it (
2.5unfocused,2,5focused in a decimal-comma locale), so a form posts what it posts today, and FR4's verification row covers both cases.
One optional wording fix, which would need a new commit and a new /approve-spec: FR4's NumberInput clause applies to every NumberInput, while its later sentence and NumberInput FR6 keep the raw committed number for a field with formatValue; writing "for a NumberInput without formatValue" there would remove the overlap.
Claims and files checked
Claims:
- The four inputs' rejection changes are one accessibility fix shipped in a patch under the compatibility record's accessibility-fix rule: verified; the record meets that rule's conditions (no app change, optional additions only, posted values unchanged).
- Each rejection appears once the entry is complete or at commit, shows a visible message, keeps the typed text and leaves the posted value unchanged: verified (inside an input group the visible message is the gap the record names).
- An owner has ruled on every question, and the record has no open questions: verified.
- The entry-error-behavior record is on the main branch, this branch merges it, and the new requirements take the next free ids: verified in all six records.
- The 0.8.0 plans stay outside the record: verified.
- The existing authority listed (compatibility rules, entry-error-behavior rules, base props and
name, the Enter hold-back, grouped layout, announcement and calendar records): verified against the main branch. - The Decision section's completion points, rejection timing, hidden-input cases, the
namehandoff, the unreadable-date Enter rule, the native restore at blur and the one-line message title: verified. - Every row of the table of changes since the last review, including the number field's focus-following hidden-input text and its decimal-comma verification state: verified.
- Owner decisions 1 to 11: verified.
- The number field clamps an out-of-range number at commit, so its out-of-range rejection occurs only when the minimum is above the maximum: verified in its commit logic.
- The defaults section: verified in the source and release notes; the number and time fields' callback is proposed record text.
- The numbering, rejected alternatives, scope and non-goals: verified.
- The source behaviour the evidence section describes (reverts, kept text, Enter handling, native snap-back, where
namegoes): verified in source. - The quoted React Aria documentation: verified against the published documentation.
- The writing-rubric results and the records-only scope: verified.
- The knowledge check passes with no status warning for a touched record: verified in this head's CI.
- Whitespace check, 790 authored lines and a clean merge with main: verified; the formatter, pre-review and spec-routing results were not rerun.
Files:
- docs/specs/AST-118-rejected-entry-feedback/spec.md: clear, with one optional wording note (FR4's
formatValuescope). - docs/specs/components/NumberInput/NumberInput.spec.md: clear.
- docs/specs/components/TimeInput/TimeInput.spec.md: clear.
- docs/specs/components/DateInput/DateInput.spec.md: clear.
- docs/specs/components/DateTimeInput/DateTimeInput.spec.md: clear.
- docs/families/input-fields.md: clear.
| rejected `NumberInput` or `TimeInput` draft, and after Enter or blur on | ||
| unreadable `DateInput` or `DateTimeInput` date text, a hidden input carries | ||
| the caller's `name` with the committed value's text, and the typed input | ||
| carries none: for `NumberInput`, the committed number as the field shows it on |
There was a problem hiding this comment.
Non-blocking: this clause covers every NumberInput, so read alone it gives a focused field with formatValue the locale text (2,5), while the sentence at line 182 and component:NumberInput FR6 keep the raw committed number there, as the latest release's hidden input posts String(value). "for a NumberInput without formatValue" here would remove the overlap.
Exact decision needed
This PR records how DateInput, DateTimeInput, TimeInput, and NumberInput report their own rejections by default. Together the changes are one accessibility behavior fix under
spec:AST-017FR53, shipped in a patch. Each rejection:The owner has ruled on every question, including the form value (DEC-13); see Owner decisions (recorded). The record has no open questions. The record content needs approval from a spec owner.
spec:AST-117(entryErrorBehavior) is onmain. This branch mergesmainand moves AST-118's projections to the next free ids (see Numbering).Planned for 0.8.0 (not in this record): blocking form submission while a field shows rejected text, as React Aria's native validation does. It stops
onSubmitfrom running, so it is a breaking change. It lands with the planned 0.8.0 change that gives the four inputs one default for which message wins. It also covers the two cases in which a form still posts typed text the field rejects (DEC-13).Existing authority searched
spec:AST-017:spec:AST-117(entryErrorBehavior, onmain):'complete'reveals rejections when each member's record states.'blur-or-enter'holds every signal until commit.family:input-fields:name:component:NumberInputFR6.component:TimeInputFR11.component:DateTimeInputFR8: base props reach the date segment only.component:DateInputFR10, throughfamily:input-fieldsFR10.component:DateInputFR16 andcomponent:DateTimeInputFR10 hold back Enter while typed text is pending.component:InputGroupFR1,component:TextInputFR1, andcomponent:TimeInputFR10. These are unchanged.spec:AST-086(FR1, FR3–FR7) andspec:AST-111(FR9, FR11, FR12, AR3).Decision
spec:AST-118(authoritydraft, phaseproposed):spec:AST-111FR12.entryErrorBehavior="complete", a member reveals its rejections at these points, and under'blur-or-enter'at commit (spec:AST-117FR3, FR4)." A number's rejection therefore appears at commit under either value.nameon the latest stable release keeps it and posts what it posts there (the typed input, or NumberInput's hidden input withformatValue).nameuntil the person edits the kept text, or a newvalueor a pick replaces it. The typed input then carriesnameagain.component:DateInputFR16 orcomponent:DateTimeInputFR10. So the next Enter with no edit submits a form, and the hidden input posts the committed date, as on the latest stable release once that text has reverted.Changed since the last review (merge with
main, then fix commits):system_specslists both specs. The glance rows, Compatibility bullets, AR rows, verification rows, and current-state bullets name both. DateInput FR20 keeps AST-117's report timing and AST-118's kept-text clause.'complete', each now reveals rejections when the AST-118 projection states, instead of describing the per-keystroke marking and blur revert that AST-118 removes. Under'blur-or-enter', each keeps rejected text instead of announcing and reverting it. Without this, each record would say two contradicting things.component:NumberInputFR3minis abovemax, keeps it and "shows its rejection (FR15)".component:NumberInputFR6,component:TimeInputFR11nameuntil the person edits the draft or a newvaluereplaces it.component:DateInputFR25,component:DateTimeInputFR8namerule. Kept unreadable text is not pending for FR16 (DateTimeInput FR10), so the next Enter submits. DateInput FR25 restores a native date at blur.family:input-fieldsFR15spec:AST-118DEC-9spec:AST-118DEC-13Decider: nynexman4464, 2026-11-12. The owner-history line is gone. One rejected alternative stays: the committed value's text in every case, an FR1 change.spec:AST-118FR4, DEC-13 (later commits)nameon the release; NumberInput withformatValueposts the committed number in every case; the kept-draft hidden input posts the number as the release shows it (plain while unfocused, locale-formatted while focused), with a decimal-comma state in the FR4 verification row.component:TimeInputFR2, FR14mainafter the merge; the native control restores at blur.component:NumberInputFR6 verificationOwner decisions (recorded)
Each decision is in the record with decider
nynexman4464.nameon the release keeps it and posts what it posts there: the typed input in most cases, NumberInput's hidden input (the committed number) in every case whenformatValueis set, and nothing from DateTimeInput's time segment, which carries noname.formatValue) or TimeInput draft that Enter submits before blur. Blocking submission in 0.8.0 covers both.warningorsuccessstatus never hides a rejection (DEC-11).NumberInputEntryError(unreadable,fractional,outOfRange) andTimeInputEntryError(unreadable,outOfRange).Note for the owner: out of range at commit
This note is unchanged.
onChangewith the clamped value (component:NumberInputFR3). The record keeps clamping.outOfRangeappears only whenminis abovemax.commitBehavior="validate".Defaults (project status, outside the records)
onEntryErrorChange.errorstatus.onEntryErrorChange.Numbering
AST-117 took the ids free on
mainbefore this branch: family FR14, DateInput FR24, DateTimeInput FR15, TimeInput FR13, and NumberInput FR14. AST-118's projections move to the next free ids:AST-118's body, its verification rows, and the rows that point to the projections use the new ids.
AST-117's FR4 still names a member that "drops the rejected entry at that commit", and its DEC-4 covers that case. Once AST-118 lands, no member drops an entry, so that clause applies to nothing. It is left unchanged in
spec:AST-117, which this PR does not touch.Rejected alternatives
Claim scope and non-goals
entryErrorBehavioritself (spec:AST-117);onChangetiming;.doc.mjschanges, and no changeset.Evidence and implementation relationship
resolveNumberInputCommitreverts an unparsable or wrong-kind draft, and every draft whenminis abovemax, on blur. Enter keeps the draft and is not prevented.isPending, so after a revert the next Enter submits.name, reach the typed input (the date segment for DateTimeInput).useNumberFielddocs:displayValidationupdates "when the user commits their changes".commitBehaviordefaults to'snap'.Writing rubric results
spec:AST-118spec:AST-017needs. DEC-13's owner-history line is removed.#plus digits,/pull/, and/issues/.spec:AST-117is cited as a record, which is allowed.FRn gap:orAR3 gap:.family:input-fieldscomponent:NumberInput,component:TimeInput,component:DateInput,component:DateTimeInputnameand Enter sentences are in the present tense.(#5074), outside this delta.Scope
Components: DateInput, DateTimeInput, TimeInput, NumberInput (records only); the input-fields family record
name/value pair.)Validation
pnpm check:knowledge: "Knowledge templates and records are aligned." No status warning for any touched record.prettier --checkis clean on the six records.git diff --check: clean.pnpm review:pre, head against currentorigin/main(8f42963): 790 authored lines, 0 findings, merges cleanly. Checklist items:pnpm specs:for --diff origin/main: no concern-routed claims.