Repository navigation
Prove native draft form submission - #109
Conversation
pournasserian
left a comment
There was a problem hiding this comment.
Partial coordinator review of 635b1e3: named receiver, flat/nested/indexed field payloads, correction/retention, and the three controlled failure proofs are supported by the fixture and logs. The draft intentionally does not yet include all actual C1 choice controls. Re-review on updated main and final real POST/Server/WASM evidence after #72 and #73 integrate; this is not final acceptance.
pournasserian
left a comment
There was a problem hiding this comment.
Review of a312f3b against merged #106: one open finding, not merge approval. FormPost.razor derives the displayed city-validation mode from a query parameter but registers the validator only in OnInitialized. The static fresh-URL test does not cover switching the actual link on an interactive form. Please verify opt-in and opt-out with an empty city through ordinary Save after Server/WASM takeover, including removal of stale errors, and align the guide with the observed draft behavior. The owner is testing this on the gallery; this is a source-review finding, not yet a browser reproduction. No other blocking findings: inspected the FlField validation refresh, real POST/receiver evidence and all three negative proofs. Full integrated-head hosted checks are tracked separately.
pournasserian
left a comment
There was a problem hiding this comment.
Technical re-review of 3d27327 against a312f3b: the sole prior blocker is resolved. Normal Save consults the current nested-validation rule. Opt-out clears only its own message, preserving the draft and unrelated errors. The test drives the actual links and verifies both the host validation and typed receiver; the guide accurately distinguishes native navigation from interactive draft retention. Reviewed exact source and red-to-green Server and WASM evidence. No remaining blocking code findings. Merge remains gated on final verification of this SHA, not CI for an earlier revision.
Integrated on landed #72
Exact draft head
3d27327caa84d021bf9db0b5bcbd7fbb4cd948cdincludes maine1325039c857ff396bd2476749d2440fc8311218. The Form submission gallery and guide exercise a namedEditFormat/static/form-post,/server/form-post, and/wasm/form-post. They use the landed checkbox, switch and radio group alongside the existing controls. The fixture is in-memory only. No new public API, validator, dependency or runtime script.The one library adjustment is internal to
FlField: validation notifications refresh the wrapper only when its rendered error text changes; individual controls still update their own validation state. The earlier exact Linux RED traced redundant old→empty value writes on the wrapped native time input, which blocked normal Save. The unchanged native keyboard clear and Save passed the pre-integration Linux fix check, and this branch re-verifies the actual integrated head. Regression tests cover error appearance/text changes/clear, unchanged group ownership with individual invalid states changing, andEditContextreplacement.Review: same-route nested-validation links
At
a312f3b, the actual links changed the URL and wording in Server and WASM without replacing the document or form. The original validator subscription depended only on the initial query: opting in still saved an empty City, and opting out still rejected it. On the tests-only RED0fab8aa, both new browser cases reached the independent host Seats error via normal Save, then failed on the missing City error (exit 2, zero skips). The gallery now keeps one validator subscription perEditContext, follows the current query, and clears only its own City submit message on opt-out. The tests use the actual links and normal Save, retain the edited draft and a separate host error, and repeat opt-in before a corrected save. Normal JavaScript-disabled document behavior is unchanged.Actual verification on this head
support_alias, distinct native date fields,Model.QuietTime=bound to null, and one each ofModel.ReviewMode=shared,Model.Audience=everyone, andModel.NotifyOwners=true. OffModel.DailyDigest, disabledModel.LockedNoticeand disabled reference are absent. Normal Save leaves native validation enabled; the wire payload includes antiforgery (value not recorded).PublishedStandaloneRegistersTypedEventskip per engine. All 255 component tests passed with no skips; build/pack and design checks passed. Both navigation cases and the original typed-null Save and receiver ran in Server and WASM.Reproduce the focused tests:
Failure proof on the settled candidate
Each mutation ran the unchanged static test in a separate snapshot of
3d27327with local Windows Chromium, JavaScript disabled, and only*NativePostPreservesValuesAfterValidationAndSavesCorrectedselected. Each got past the real successful document POST and antiforgery checks; each exited 2 with exactly one failure at the intended assertion, no skips. No mutant was pushed.Model.WrongTitle.Expected exactly one submitted value for Model.Title; received 0.integration-start__error integration-start__help integration-window-policy, actualintegration-start__help integration-window-policy.Expected exactly one submitted value for Model.Tags[1]; received 0.Earlier mutations on
635b1e3anda312f3band the isolated pre-landing choice replay remain separate evidence. The PR remains a draft for independent coordinator review.Closes #75