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
+36 -1
View File
@@ -43,7 +43,7 @@ Deviation/asset gate: reference photograph replaced by restrained decorative CSS
| --- | --- | --- |
| BS-005 | Services and About | Services Complete under BS-012; About Complete under BS-013 |
| BS-006 | Projects gallery and case studies | Real status/permissions and genuine imagery |
| BS-007 | Contact UI and Flask service | Exactly four fields, validation/abuse controls, delivery/failure handling; database/account decoupling |
| BS-007 | Contact UI and Flask service — engaged; see detailed task below | Captain manual review; verified mail configuration before real delivery |
| BS-008 | Privacy/legal, SEO and accessibility | Reviewed actual data flows/legal details; static/prerendered technique and metadata; wider accessibility |
| BS-009 | Docker/SWAG plan and regression tests | Adapt production database-free topology/readiness; no live cutover. Existing manual-test runtime already operational |
| BS-010 | Final visual reconciliation and launch prep | Authentic brand/media, verified contact/domain and final review |
@@ -115,3 +115,38 @@ Final reference anchors at 1024×1536: header 74px; main x52/w920; hero divider
Validation: lint, 33unit tests, Vite production build and all 72desktop/mobile Playwright checks passed. Covers 320/390/768/1024/1440, route/CTA/active navigation, keyboard skip link, both-theme axe, preference persistence and reference-coordinate checks. Screenshot captures at 1024/1440/768/390/320/light 1024 inspected with no overflow, console/page errors or HTTP failures. Homepage 1024 and Services 1672 PNGs byte-identical to accepted captures. Actual root TASK-013 exact snapshot/Docker/build/migrations/direct+proxied HTTP/real headless Firefox smoke passed, opens /about directly, exit 0; test resources cleaned. Final snapshot refreshed after context edits.
Captain screenshot/manual acceptance received on 2026-11-10 with explicit commit/merge authorization. Pre-integration code review found no blocking defects; frontend hashes match the tested snapshot. No push, production or further-page implementation authorized. Backend/package manifests/lockfile/shared component/style files unchanged; inherited dependency alerts and authentic-asset finalization remain separate recorded limitations.
## BS-014 — Footer design and BortStack business identity
Status: Accepted/scoped by Captain on 2026-11-10; not engaged. Documentation only; implementation awaits engagement.
Objective: redesign the shared footer within the approved BortStack design, removing the inherited roborto.net developer attribution because BortStack is now the development business.
Scope: shared Footer component/styles, footer-specific configuration and tests; remove roborto.net logo, branding and developer-website link from the public footer; reconcile spacing, alignment and hierarchy with approved page references and BortStack identity. Retain useful Contact/Privacy navigation and BortStack copyright. Check existing API Admin footer-link decision separately against verified destination availability; do not silently remove or invent that destination.
Non-goals: site-wide rebranding, changing Roborto development tooling/context names, unrelated page changes, invented logo assets, new dependencies, production deployment.
Acceptance criteria:
- No roborto.net name, logo or developer-attribution link appears in the rendered footer on any public route. BortStack is the sole development-business identity in the footer.
- Footer layout matches the approved BortStack visual direction, with clear navigation and balanced desktop/mobile spacing; approved palette and persistent dark/light themes retained.
- Existing valid footer navigation works; keyboard focus and contrast remain usable; no responsive overflow or unintended page-body changes.
- Tests no longer require inherited developer branding and cover its removal. Before/after desktop and mobile screenshots supplied for Captain review.
Relevant files: react/src/components/Footer/, react/src/config/site and consumers, approved references, docs/DECISIONS.md.
Validation plan: inspect configuration consumers before removing unused footer data/assets; lint, relevant unit/regression tests, production build, browser checks on public routes at desktop/tablet/mobile and both themes; visual review and operational TASK-014 manual-test handoff.
Workflow on engagement: create bs-014 / .task-worktrees/bs-014 from integrated codex after status checks. Use project-context, scoped frontend implementation and visual QA; code review before integration. Captain acceptance and explicit commit/merge authorization required.
## BS-007 engagement — Contact implementation (2026-11-10)
Status: Complete for accepted Contact composition/form behaviour. Captain manually accepted and explicitly authorized commit-all/merge on 2026-11-10. Captain explicitly locked on and engaged Contact after BS-013. Branch bs-007 / .task-worktrees/bs-007, based on codex/21d048a. Existing BS-014 planning documentation carried forward unchanged; root docs/references copies preserved.
Objective: reproduce contact-concept.png composition with a working four-field enquiry flow independent of account/database infrastructure.
Scope: Contact route/component/SCSS; name, email, optional service and description; hidden honeypot; independent Flask contact application using existing Resend/Flask-Limiter dependencies; isolated local runtime entry point, configuration, server/browser tests and before/after evidence. Preserve existing account application outside this runtime.
Non-goals: footer design BS-014, other pages, identity redesign, new dependencies, CRM/database, production credentials, deployment, commit/merge.
Acceptance: approved 1536×1024 desktop composition and responsive 320/390/768 layouts; correct four visible fields with labels/errors/keyboard use; loading/success/failure/retry states retain draft on failure; server validates sizes/types/email/service, rate limits and honeypot; verified configured sender only, visitor Reply-To; success only after provider acceptance, disabled/unconfigured delivery reports unavailable. No enquiry bodies in logs or storage. Missing verified email remains configurable and clearly unavailable rather than fabricated.
Validation: baseline/live screenshots and iterative exact-size comparison, both themes and mobile; lint/unit/build/browser workflow/axe/regressions; Flask validation/provider/failure/abuse/configuration tests; real TASK-007 snapshot/Docker smoke with delivery disabled. Captain manual approval before Complete or integration.
Risks: verified business email/sender and Resend credentials absent; no live email verification until separately configured. In-memory limiter provides single-process bounds; production-wide storage/edge policy remains deployment scope. Real artwork masters remain absent. Reference Company/email/response promise yield to explicit written constraints.
BS-007 result: reference Contact composition implemented with four visible fields, native layered-plane illustration, honest config/email availability and accessible error/loading/success/retry states. Independent Flask app plus safe mail/abuse handling, no database/accounts. Scoped tests and screenshot evidence in docs/visual-qa/bs-007; operational TASK-007 opens /contact with delivery disabled. Lint/33unit/build passed,29Contact+14inherited backend tests passed;45desktop+45mobile browser cases passed with final focused Contact recheck. Homepage/Services/About regression PNGs byte-identical. Actual snapshot/Docker/HTTP/Firefox smoke exit0; cleanup verified. Full delivery remains gated on verified inbox/sender/Resend configuration. See CONTACT.md and CURRENT_STATE.md. Await Captain acceptance; no commit/merge/deploy. BS-014 unengaged.
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.
BS-007 acceptance/integration update (2026-11-10): Captain accepted the corrected custom Service popup and Contact, then ordered commit all and merge. Scoped pre-integration review found no blocking defects. This record accompanies authorized integration into codex. Previous pending-review/no-commit notes are historical and superseded by this approval; no push/deployment or next task authorized. Include queued BS-014 documentation and verified reference copies; footer implementation remains unengaged. Live email configuration/production gates remain open. Test runtime cleaned following acceptance.