BS-007 Implement accepted Contact page and independent enquiry service

This commit is contained in:
rob
2026-11-10 19:45:11 +00:00
parent 21d048a1ff
commit 5bfb128e94
46 changed files with 837 additions and 145 deletions
+16 -10
View File
@@ -1,21 +1,27 @@
# BortStack current state
Updated 2026-11-10. Captain accepted BS-013 About and explicitly authorized commit/merge into codex. This record accompanies that integration from bs-013 / .task-worktrees/bs-013, based on codex/be0dde6. No push or deployment authorized.
Updated 2026-11-10. Integration codex is21d048a with accepted routes/themes/homepage/Services/About. Captain accepted BS-007 Contact and authorized commit-all/merge; accepted implementation in branch bs-007 at .task-worktrees/bs-007, based on21d048a. This record accompanies authorized commit/merge into codex; no push/deployment authorized. Existing BS-014 planning changes carried into candidate; five root docs/references copies verified against canonical assets and included at Captain’s commit-all order.
## About implementation
## Contact candidate
/about now follows about-concept.png: business-first split introduction with two-colour heading, reserved branded laptop-art footprint, full-width divider, Why BortStack heading and three stacked Practical engineering / Clear communication / Long-term support rows, then two-line closing invitation. Contact action navigates to existing Contact placeholder; no form implied. Copy avoids invented team/credentials/achievements and keeps support agreed per project.
/contact now reproduces contact-concept.png: wide split hero and native layered-plane linework, bordered four-field form and right invitation/email panel. Exactly name/email/optional service/description; hidden honeypot. Company field and unverified email/location/response promises omitted. Approved palette, persistent themes and existing authentic-logo placeholder retained. Contact-only header/styles; shared footer unchanged pending BS-014.
Native code/chat/layers icons match the reference roles; authentic logo and standalone branded laptop art are missing and visibly labelled. No new symbol geometry, cropped reference artwork or unrelated hero illustration. Approved palette and accepted Poppins/themes retained. About-only CSS scopes header/active indicator without changing accepted pages.
Independent database-free Flask entry point contact_app:app exposes config/health/contact only; no accounts/migrations/SQLAlchemy. JSON/type/length/email/service validation,32KiB bound, honeypot,5/hour+20/day process-local IP limits. Safe sender/Reply-To, escaped mail,10s Resend HTTP timeout. Success requires provider acceptance ID. Disabled/unconfigured delivery returns503/not sent. Draft retained on failure, same-draft retry retains UUID provider idempotency key; no draft/message storage. See CONTACT.md for config, privacy/production limits and commands. Inherited account app and production Compose remain provisional, unchanged.
## Evidence and validation
## Validation and visual evidence
At reference 1024×1536: header 74px, main left 52px, hero divider y566, first icon row y685/icon113px, closing panel x30/y1176/w964/h275; page fits 1536px including understated footer. Before/after, reference comparison, 1440 desktop/768 tablet/390 mobile/320 narrow/light 1024 captures and measurements under docs/visual-qa/bs-013/. Inspected with no overflow, console/page errors or HTTP 400+ responses. Minor typography/icon/gradient differences are approximations; original missing artwork blocks full asset fidelity.
Lint,33 unit tests and production build passed.29 independent Contact backend tests plus14 inherited backend tests passed in disposable Docker using declared dev dependencies. Full desktop45/mobile45 browser checks passed; Contact checks cover responsive form, field count/errors, keyboard/axe in both themes, persistence, sending/disabled, provider errors/network failure, retained draft/key and acknowledgement success. Final HTML-proxy error handling is also covered by focused Contact recheck.
Lint, 33unit tests, Vite build and all 72Playwright browser cases passed, including About route/navigation/CTA, active nav, keyboard skip, both-theme axe/persistence, responsive heading bounds and reference anchors. Accepted homepage 1024px and Services 1672px screenshots are PNG-byte-identical. Existing routes/themes/regressions preserved.
Live before/after at1536×1024 plus1440/768/390/320/light1536 inspected. Form x60/y397/w913/h521 and side panel x1011/y397/w465 closely match reference; page1026px including footer. No steady-state overflow/console/page/HTTP failures. Homepage1024, Services1672 and About1024 screenshots byte-identical to accepted evidence. Files in docs/visual-qa/bs-007/. Font/linework/gradient differences and missing authentic logo remain disclosed.
Actual project-root TASK-013 smoke passed exact snapshot, Docker production build, disposable migrations, direct/proxied HTTP, real headless Firefox opening /about, exit 0 and owned-runtime cleanup. Snapshot refreshed after final context updates. No dependencies/manifests/lockfile/backend/production changes; backend suites not rerun. Existing 10 npm audit alerts remain recorded baseline risk.
Real project-root TASK-007 smoke passed snapshot/Docker build/direct+proxied readiness/real headless Firefox opening /contact, exit0; owned resources removed. Final source snapshot refreshed after documentation/error-state checks. No new dependencies/lockfile changes. Existing10 npm alerts unchanged; inherited backend datetime deprecation warnings remain. No real mail sent; provider boundary mocked in tests.
## Review gate
## Review and outstanding gates
BS-013 Complete for the accepted composition; Captain manual acceptance and commit/merge authorization received. Scoped pre-integration code review found no blocking defects. No Projects/Contact/Privacy or further-page work. Missing approved logo/light board/laptop media, genuine portfolio permission and actual domain/email/legal/hosting choices remain outstanding. Root pre-existing docs/references copies preserved untouched. Standard scripts interfaces unchanged.
BS-007 Complete for Captain-accepted composition/form behaviour, including corrected custom Service popup. Scoped pre-integration review found no blocking defects. Verified business inbox/sender/domain and Resend secret absent; real delivery unavailable until configured and separately verified. Production runtime/rate-limit proxy/storage/edge policy and provider privacy/legal review remain launch work. Logo/light board/portfolio assets remain missing. BS-014 footer design/removal of roborto.net attribution stays accepted and unengaged. No further page started.
Service dropdown review correction: native option rows now use the active BortStack theme surface/text and steel-blue selected state; selected control text uses full foreground contrast. Production build and Chromium dark/light option palette plus keyboard selection checks passed. Existing manual-test session owns the snapshot, so it was preserved; stop and restart TASK-007 to build this update.
Service popup correction after Captain screenshot: prior native-option CSS did not affect Firefox's system popup; computed CSS was insufficient visual evidence. Replaced the native Service select with a page-rendered, labelled combobox/listbox in ServiceSelect.jsx. Theme surface/border, steel-blue active row, selected check, wrapped mobile labels; pointer selection, arrows/Home/End/type-to-initial/Enter/Escape/Tab/outside dismissal, disabled sending and form reset retained. No dependency/backend changes. Actual open-popup Chromium screenshots inspected in dark/light desktop and dark mobile: service-open-chromium-*.png. 26 Contact browser tests passed (including 8 new popup/keyboard/axe/payload cases), 33 unit tests and build passed; lint/whitespace checked. Automated Firefox launch blocked by missing libdbus-glib-1.so.2 in the cached Playwright browser; no Firefox rendering pass claimed. The page-rendered list no longer uses native popup styling. Captain should restart TASK-007 to refresh the candidate; do not disturb an active test session. No commit/merge.
Integration acceptance (2026-11-10): Captain explicitly approved Contact and ordered commit all/merge. Prior manual-test snapshot notes are historical; final accepted frontend/backend match the tested source. Task runtime cleaned after acceptance; preserve worktree/history. No push/deployment or further-task implementation.