Skip to content

Compose the staged site settings screen - #111

Merged
pournasserian merged 10 commits into
mainfrom
76-settings-screen
Nov 28, 2026
Merged

pournasserian merged 10 commits into
mainfrom
76-settings-screen

Conversation

@pournasserian

@pournasserian pournasserian commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

Landed-base settings fixture

Exact draft head 33dd3e7dd6fdd8de7a1a2a6f67f69eda0ebaa928, based on landed main d90e5b03b1ac40f2497854b0c4cb20fb885d9bfd. The gallery page and guide cover Identity, Language and region, Content, Access and Danger zone at /static/settings, /server/settings and /wasm/settings. Uses the landed badge and choices; no library/API changes, new dependencies, CMS, file handling or delete operation.

Actual workflow

  • JavaScript-disabled static SSR: tested two genuine HTTP 200 navigation POSTs with browser antiforgery and the actual names/values. Sample Northwind Field Notes, Independent release notes & guides., locale fr, zone Europe/Lisbon, date format iso, signup domain, publication time 10:15, page size 500 then 45, plus changed switches/checkboxes. One posted value per selected choice, checked booleans posted, unchecked/disabled values omitted. The unnamed labelled logo chooser sends no file. Range rejection retains the draft and qualifies the field with the error/help/unit, then normal Save returns the corrected model.
  • Server/WASM: real bound values, normal Save, same validation and correction path, key-driven Discard to the accepted sample and re-save. Native script-free reset uses the current document defaults. A badge returned on an invalid document remains through native reset; save or interactive Discard clears it. Inline save status and harmless keyboard disclosure are tested. First owned DOM retains IDs, native names and current values through takeover; no automatic preservation of focus/uncommitted edits is promised. Checked group names/descriptions, axe, reduced motion and 24×24 targets at 320px in both densities.

Focus and peer review

  • Actual landed pre-fix Windows WebKit JS-off POST reached the invalid response, then Tab skipped the correction anchor. An explicit tabindex=0 on that available button-style link retains normal order and native fragment handling; real Tab/Enter now reaches and focuses Items per page. The existing gallery focus module supplements interactive fragment scrolling, with no change to library scripts.
  • At /static/settings?theme=light&density=comfortable&dir=ltr, the correction link and both section-link placements previously reconstructed an abbreviated query, made an extra GET and lost the invalid draft. The links now preserve the exact current mode/path/query and replace only the fragment. Fresh RED failed URL comparison after a real POST. GREEN compares time origin, document requests, draft/error retention, keyboard focus, native reset and genuine corrected Save. The transient Server radio-driver failure after the earlier accepted save was also traced: prior blur render restored the old selection briefly, followed by the accepted change. The test now commits the title through Tab, awaits the real badge and checks the temporary choices after host validation before Discard.
  • Appearance follow-up: at 6df6b45, the actual Dark link updated the URL and document theme on the retained interactive form, but settings fragment hrefs were stale. Both new Server/WASM RED rows failed after the visible appearance change. The settings page now listens to the existing layout context again, but still computes hrefs from the exact current document URL, not a rebuilt query. The two regression rows verify all hrefs after appearance acknowledgement, then use the real keyboard correction with no further edit; dark/query/draft/focus and document are retained. The independent coordinator probe also passes on this exact head.
  • PublishTime missing-target finding was not reproduced as a rendered error. Actual Windows WebKit JS-off text not-a-time posted and returned an empty optional time without a field message; a true native Chromium partial segment also posted empty. Windows interactive time text fallback fails before Blazor receives the change: entered 10:15, receiver 09:00. Those failures remain visible. A separate number-only Server/WASM focus check saves 45 on that port without editing time; it is not temporal success. Windows Playwright WebKit is not Safari.

Exact verification and visual comparison

  • Release build zero warnings/errors; Windows Chromium 156.0.8078.4 exact 18/18, no skips. Windows Firefox and WebKit each pass the three selected appearance and JS-off query rows (3/3, no skips). Modes unfiltered in both commands. The earlier complete Windows WebKit temporal fallback receipts are separate and unchanged.
  • Prior 6df6b45 independent native wire/keyboard captures in all three Windows engines: two HTTP 200 documents each, real Tab correction, native reset and harmless preview. No antiforgery values included. Same-document three-link probe kept the full query, unchanged document, draft/error and correction focus, zero extra document requests. The final head reruns the actual JS-off exact-query and workflow tests.
  • Actual HTTP reference/gallery captures on 6df6b45, with design/CSS unchanged by the appearance follow-up: six desktop/320 configurations across light/dark, comfortable/compact, LTR/RTL and forced colors in both densities. No horizontal overflow; 28 enabled visible control targets per case, minimum dimension 24px. 294/294 comparable computed paint properties across seven controls and matching Content heights in all cases. Widths 800/800 desktop, 288/288 narrow comfortable and 288/296 narrow compact. Shell/gutters/logo/choices/disclosure remain different; JS-off step buttons are intentionally hidden unlike the reference prototype. Not final reference parity.
  • 6df6b45 local Release pack included no gallery/focus module or reference assets; existing sole dependency unchanged. Gzip CSS/module/assembly 36,015 / 2,044 / 49,758 B. 129 contrast pairs and guide lint passed. No library, CSS or guide changes since; final ordinary CI independently checks pack and design.
  • Exact-head ordinary PR CI 46202724620 and Linux nightly 46202720709 pending.

Staged owners and reproducibility

Native section links, gallery shell and inline alert → #85. Inline save status, non-searchable select/checkboxes and harmless disclosure → #93. Unnamed logo chooser, no upload → #95. No global search imitation → #96. The guide inventories relevant screens.css #27 workarounds/owners: page measure, bands/tabs, adaptive frame/search, short controls and tall field help. No CSS copy of the complete reference, no C2 expansion.

With FLUENTCMS_MODES unset:

dotnet build -c Release -warnaserror --artifacts-path <isolated-artifacts>
dotnet test --project tests/FluentCMS.Components.Browser -c Release --no-build --artifacts-path <isolated-artifacts> --filter-class 'FluentCMS.Components.Browser.Forms.SiteSettings*'

Staged and earlier RED receipts remain separate. This PR stays a draft for the coordinator's independent review and subsequent main acceptance, not a merge or release request.

Closes #76

@pournasserian pournasserian left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Staged review only at bcf752d: inspected the five-section composition, named EditForm and host model, JS-disabled 500 → error → 45 correction, error focus and discard semantics, scoped gallery assets, the four later fallback owners and #27 layout dispositions. Local visual comparison uses actual HTTP pages and records the differences; no final parity or milestone exit is claimed. Keep draft until the remaining C1 controls and #75 are on main and the final workflows have been rerun on the integrated head.

@pournasserian pournasserian left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of 6df6b45: the JS-disabled navigation fix is verified across all three link placements (full query, no extra document fetch, retained draft, correct keyboard focus). Native versus interactive reset is accurately documented. The hypothesized invalid-time summary target was not reproduced: the Windows WebKit text fallback posted malformed text as optional null without a field error; interactive temporal edits on that port did not update the model. These are documented limits, not temporal success or Safari results. One remaining hold, independently reproduced on the actual interactive gallery: submit 500, select the Dark theme, then inspect the section and correction links without editing the form. Both Server and WASM still rendered hrefs without theme=dark. In Server, activating the correction link restored the old appearance despite retaining the invalid draft and focusing the number field. Please preserve the active query when only the interactive layout changes. No other review blockers.

@pournasserian pournasserian left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technical re-review of 33dd3e7: no remaining blocking findings. The settings page responds to layout appearance changes without replacing the draft and still derives all three fragment-link placements from the actual current document URL. The new Server/WASM regression failed before the fix and passes on this exact revision: all section links and the correction href update after Dark; keyboard correction preserves the query, draft and error and focuses the invalid number. The separate JS-disabled exact-query regression remains intact. Focused Chromium settings suite: 18 passed, zero skipped. Documented Windows WebKit temporal fallback is not counted as temporal-binding success or a Safari result. Hosted checks on this same SHA and fresh final-main settings acceptance are separate gates.

@pournasserian
pournasserian marked this pull request as ready for review November 28, 2026 23:52
@pournasserian
pournasserian merged commit 2dfeea7 into main Nov 28, 2026
6 checks passed
@pournasserian

Copy link
Copy Markdown
Member Author

C1 accepted on merged main

Final commit 2dfeea74a508655deccc1f526daa25393dcb72a7 has the identical source tree to reviewed 33dd3e7. Main CI is green: build/pack/size, design system, 255 component tests and 517 Chromium browser tests passed (one existing browser skip). Exact reviewed-tree Linux Firefox/WebKit: 517 passed, zero failed, one existing skip in each engine.

Fresh independent check from the main checkout with isolated build outputs and new loopback gallery processes (Windows ARM64, Chromium 156.0.8078.4, FLUENTCMS_MODES unset):

dotnet build tests/FluentCMS.Components.Browser -c Release -warnaserror -m:1 --disable-build-servers --artifacts-path $artifacts
dotnet test --project tests/FluentCMS.Components.Browser -c Release --no-build --artifacts-path $artifacts --filter-class 'FluentCMS.Components.Browser.Forms.SiteSettings*' --minimum-expected-tests 18 --output Detailed

Both commands exited 0; build produced zero warnings/errors; 18/18 settings cases passed, zero skipped. /static/settings with JavaScript off made two real HTTP 200 document POSTs: page size 500 produced the host error with edits retained; keyboard correction focused set-page-size; 45 saved the typed sample. Native Discard restored the current document defaults. /server/settings and /wasm/settings showed validation, keyboard correction, successful Save, Discard back to the last accepted model and successful re-save. The tests also preserved the exact URL/query, draft and focus during section/correction navigation and appearance switching. A separate wire/focus capture corroborated the static request/response and interactive number-only correction.

This accepts the staged C1 screen, not final visual parity, Safari, or successful interactive time editing on the Windows Playwright WebKit text fallback. The settings guide records those limits and later work (#85, #93, #95, #96; styling inventory #27). All issues #65–#76 are closed. No tag, package publication, deployment, or C2 work; #48 and O7 remain untouched.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C-24: Deliver the staged settings reference screen and C1 acceptance evidence

1 participant