Implement Projects gallery and case studies
@@ -4,6 +4,6 @@ ROBORTO_TASK_ID_PATTERN='^[0-9]{3}$'
|
|||||||
ROBORTO_WORKTREE="${ROBORTO_PROJECT_ROOT}/.test-worktrees/task-${ROBORTO_TASK_ID}"
|
ROBORTO_WORKTREE="${ROBORTO_PROJECT_ROOT}/.test-worktrees/task-${ROBORTO_TASK_ID}"
|
||||||
ROBORTO_HOOK="${ROBORTO_PROJECT_ROOT}/.roborto/testtask-hook"
|
ROBORTO_HOOK="${ROBORTO_PROJECT_ROOT}/.roborto/testtask-hook"
|
||||||
# Loopback-only manual testing; fixed ports prevent concurrent conflicting sessions.
|
# Loopback-only manual testing; fixed ports prevent concurrent conflicting sessions.
|
||||||
ROBORTO_BROWSER_URL="http://127.0.0.1:18081/"
|
ROBORTO_BROWSER_URL="http://127.0.0.1:18081/projects"
|
||||||
ROBORTO_READY_PORTS=(15001 18081)
|
ROBORTO_READY_PORTS=(15001 18081)
|
||||||
ROBORTO_READY_LABELS=(API Web)
|
ROBORTO_READY_LABELS=(API Web)
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
# BS-006 — Projects design and evidence
|
||||||
|
|
||||||
|
Engaged by Captain on 2026-11-11 using Frontend UI Design, Webapp Feature, Frontend Visual QA and Code Review. Extend existing Poppins/theme/container conventions and projects-concept.png composition. Captain selected RouletteBuddy as featured, confirmed PitchInvader has substantial work despite unfinished polish, and described API Admin as simple. Captain directed source inspection to ~/projects.
|
||||||
|
|
||||||
|
## Implementation specification
|
||||||
|
|
||||||
|
Visitor goal: understand the work and follow a case study or contact BortStack. Reading order: split introduction/decorative layered planes; featured RouletteBuddy media and summary; two supporting project entries; Contact invitation; unchanged shared footer. PitchInvader gets substantive copy and its own full case study, explicitly In development. API Admin is labelled Small showcase project. No filters, invented metrics, links to unverified hosts or simulated product screenshots.
|
||||||
|
|
||||||
|
Use Container/Row/Col, semantic sections/articles, router links and existing theme tokens. Broad layouts split featured media/copy and show two supporting columns. Below 768px, stack all content in reading order. Keyboard links have visible shared focus and 44px minimum targets. No asynchronous data or loading states: local curated content. Missing media has explicit screenshot-pending placeholders; unknown slugs show noindex unavailable content and a Projects return link. Case-study sections: problem, solution, main features, engineering, work to date. No customer outcomes claimed.
|
||||||
|
|
||||||
|
Homepage, header, footer, Contact/API and deployment remain outside scope. Genuine screenshots still required for final publication. Source review establishes implementation evidence, not operational availability or production approval.
|
||||||
|
|
||||||
|
## Evidence inspected
|
||||||
|
|
||||||
|
Read-only local source inspection on 2026-11-11:
|
||||||
|
- ~/projects/roulettebuddy/docs/PROJECT_OVERVIEW.md, react/src/App.jsx, api/routes/strategy_routes.py, api/routes/sim_routes.py: strategy editing, individual testing and comparative simulation; React/Flask/SQLAlchemy/MySQL/Docker.
|
||||||
|
- ~/projects/pitchinvader/docs/PROJECT_OVERVIEW.md, api/routes/formation_routes.py, api/routes/match_workflow_routes.py: team formation templates, lineup handling, result entry and substitutions. Documentation also records ongoing rating/statistics work; no claim of a finished product.
|
||||||
|
- ~/projects/api-admin/docs/PROJECT_OVERVIEW.md, api/routes/device_routes.py: small login/device-key demonstration using SQLite. Concept image MySQL/enterprise dashboard claims are not source evidence.
|
||||||
|
|
||||||
|
No source code, private data, credentials or screenshots copied from those repositories. Summaries are paraphrased; genuine media pending Captain selection. Existing BortStack concept images remain design references only.
|
||||||
|
|
||||||
|
## Acceptance and validation
|
||||||
|
|
||||||
|
Three approved entries; RouletteBuddy featured; PitchInvader visibly In development; API Admin modestly described. Known case studies load directly, unknown slugs unavailable/noindex, metadata updates, gallery/back/Contact navigation works, no account calls. Both themes at 320/390/768/1024/1440 without overflow; keyboard and axe checks. Lint/unit/build and scoped code review; offline browser artifact checks permitted without starting servers. Captain runs TASK-006; no server/testtask startup by Engineering. No commit/merge/push/deploy authorized.
|
||||||
|
|
||||||
|
Live-link refinement authorized by Captain on2026-11-11: secondary Visit RouletteBuddy anchor on featured entry and case-study header, https://roulettebuddy.app/. Verified HTTP200 over HTTPS with matching RouletteBuddy title/canonical. Same-tab navigation preserves normal browser Back, external-link icon is decorative, 44px target and wrapping flex action group preserve mobile readability. Other project links remain internal only.
|
||||||
@@ -1,49 +1,25 @@
|
|||||||
# BortStack current state
|
# BortStack current state
|
||||||
|
|
||||||
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.
|
Updated 2026-11-11 for BS-006. Integration codex at2660577 contains Captain-accepted public routing/themes, homepage composition, Services, About, Contact and responsive showcase footer (BS-001/002/003/004/007/011/012/013/014). All old task worktrees were removed after authorized cleanup; task branches/history remain. BS-006 is now engaged in .task-worktrees/bs-006 on bs-006 from2660577. No commit/merge/push/deployment authorized.
|
||||||
|
|
||||||
## Contact candidate
|
## BS-006 candidate
|
||||||
|
|
||||||
/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.
|
Projects gallery features RouletteBuddy, gives substantive PitchInvader coverage marked In development, and presents API Admin as a small showcase. Three reusable case-study routes include problem/solution/features/engineering/work-to-date sections. Curated copy grounded in read-only source inspection of ~/projects/{roulettebuddy,pitchinvader,api-admin}; API Admin uses SQLite, overriding concept-image MySQL. Genuine screenshots remain absent and explicitly pending, not replaced by concept imagery. Unknown slugs are unavailable/noindex. Homepage/shared header/footer/Contact/backend unchanged. See BS-006-DESIGN.md.
|
||||||
|
|
||||||
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.
|
## Existing Contact and launch boundaries
|
||||||
|
|
||||||
## Validation and visual evidence
|
Independent database-free Flask contact_app:app provides config/health/contact, four visible fields, hidden honeypot, server validation, bounded Resend provider acceptance, escaped email, verified sender/visitor Reply-To and idempotent same-draft retries. Process-local rate limits and disabled/unconfigured delivery returns503 remain intentional; no live mail tested. Accepted custom Service combobox replaces system popup. See CONTACT.md for configuration/privacy/production limits.
|
||||||
|
|
||||||
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.
|
Inherited account/database/production scaffolding is provisional; marketing remains independent of API Admin. Authentic logo/light artwork and project screenshots, verified email/sender/domain/API Admin destination, legal/SEO and production runtime remain launch gates. Existing lockfile alerts:10 (5moderate/3high/2critical); no dependency upgrades. No claim of production readiness or full WCAG compliance.
|
||||||
|
|
||||||
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.
|
## BS-006 diagnostics
|
||||||
|
|
||||||
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.
|
Lint, all38 unit tests (including5 new Projects tests), production build, whitespace and shell syntax checks passed. Existing unit TimeoutNaNWarning remains. Browser evidence and final manual-test snapshot recorded in HANDOFF.md and visual-qa/bs-006/. Captain controls dev-server and testtask startup; no runtime started by Engineering. Full server-backed Playwright and backend suite not run for this frontend-only task; no type-check script exists. Manual acceptance remains required.
|
||||||
|
|
||||||
## Review and outstanding gates
|
BS-006 live link refinement (2026-11-11): Captain authorized adding Visit RouletteBuddy to its featured entry and case-study header after https://roulettebuddy.app/ returned HTTP200 over validated HTTPS and RouletteBuddy title/canonical content. Standard same-tab external anchors preserve browser Back; case study remains first action. No external link invented for other projects. Earlier screenshots predate this refinement; refresh manual-test snapshot after validation. No server/commit/merge/deploy authorized.
|
||||||
|
|
||||||
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.
|
Live-link validation: final build/lint and5focused Projects tests passed. Offline Chromium at1440/320 in both themes confirmed exact URL/same-tab anchors on gallery and RouletteBuddy case study;20Projects-route axe/overflow checks plus20existing-route overflow checks/navigation passed with zero page errors. Mobile dark gallery and desktop light case-study screenshots inspected. Scoped review found no blocking defect. Full unit/server-backed browser suites not rerun for this link-only refinement. See visual-qa/bs-006/link-results.json and link-*.png; earlier screenshot matrix predates the link. Snapshot refreshed after documentation; restart TASK-006 if already testing. No server/commit/merge/deploy performed.
|
||||||
|
|
||||||
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.
|
## BS-006 Captain acceptance — 2026-11-11
|
||||||
|
|
||||||
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.
|
Captain confirmed “task complete”, accepting the Projects gallery, three case studies and verified RouletteBuddy links with disclosed pending genuine screenshots. Manual acceptance gate satisfied. Candidate remains uncommitted on bs-006, base2660577. Repository lifecycle completion awaits explicit commit/merge authorization; no push, deployment, worktree or runtime cleanup authorized. Previous pending-manual-review statements are superseded. No application changes or diagnostics rerun for this acceptance-only update. Existing screenshot/publication gates remain. Application snapshot unchanged; its context documents predate this acceptance note.
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
## BS-014 — responsive showcase candidate
|
|
||||||
|
|
||||||
Captain requested applying docs/references/responsive-footer-showcase.png on 2026-11-11. This is now the active footer reference, superseding footer-approved-preview.png and the rejected typography iterations. Implementation-ready for Captain review, not Complete.
|
|
||||||
|
|
||||||
Candidate: bs-014 at .task-worktrees/bs-014, base codex/5bfb128, uncommitted. Pre-existing BS-014 changes retained. Integration has two Captain-supplied untracked reference PNGs; current reference copied byte-identically into task worktree. No commit/push/merge/deployment authorized.
|
|
||||||
|
|
||||||
Implementation: compact rounded bordered footer panel, split-colour text wordmark, existing description; vertical separator and horizontal navigation at desktop/tablet; stacked branding and two-column links on mobile. Cyan NAVIGATION label/rule and lower copyright/Privacy divider retained. Desktop type 44px wordmark/18px description+links/14px legal; tablet34/14/13; mobile30/14/12. Existing themes, Poppins and 44px link targets retained. Footer heights approximately231px at1440,229px at768,333px at375. Showcase composite panels have inconsistent display scaling; proportions/layout and labelled breakpoints govern implementation rather than composite pixels. No decorative device labels embedded. CTA/header/page-body/routes/backend/dependencies unchanged. No replacement logo or unverified API Admin URL.
|
|
||||||
|
|
||||||
Validation: lint, production build and git diff --check passed. Offline production-artifact Chromium checks passed at1440/1024/768/375/320 in both themes (10 combinations): horizontal tablet links/two-column mobile links, five keyboard activations and visible focus, footer axe zero violations, zero page errors, seven public-route overflow/identity checks. Fresh screenshots/results under docs/visual-qa/bs-014/responsive/, inspected desktop/tablet/mobile dark/light. Browser intercepts built local static files; Contact config explicitly mocked unavailable. No dev server, testtask or Docker runtime started. Full server-backed Playwright suite not run. Added equivalent responsive layout expectations to footer.spec.js; linted, but runner not launched (it would start Vite). No unit rerun for CSS-only application change; earlier33 unit pass is historical. No type-check script.
|
|
||||||
|
|
||||||
Captain controls startup: stop any previous TASK-014 session and run ./scripts/testtask.sh TASK-014 from integration root to build the current source. Keep task open pending Captain visual/manual acceptance and explicit integration authorization. Authentic logo and verified API Admin destination remain outstanding.
|
|
||||||
|
|
||||||
Manual-test snapshot refreshed successfully without starting services; 264 files verified. Captain may launch TASK-014.
|
|
||||||
|
|
||||||
## BS-014 Captain acceptance — 2026-11-11
|
|
||||||
|
|
||||||
Captain confirmed “mission complete”, accepting the responsive-footer-showcase implementation. Manual acceptance gate satisfied. Candidate remains uncommitted on bs-014; no commit/merge/push/deployment authorization inferred. Repository lifecycle completion awaits the explicitly authorized integration process. Previous pending-review language is superseded. No application changes or diagnostics rerun for this acceptance update.
|
|
||||||
|
|
||||||
## BS-014 authorized integration — 2026-11-11
|
|
||||||
|
|
||||||
Captain accepted the responsive showcase footer and explicitly ordered commit and merge. Task Complete through the authorized integration sequence; no push/deployment. Pre-integration scoped review found no blocking defects; accepted application source unchanged since manual review. Preserve task history/worktree and test sessions; no cleanup requested in this integration order. Reference copies byte-verified against Captain originals.
|
|
||||||
|
|||||||
@@ -87,3 +87,9 @@ Captain approved docs/references/footer-approved-preview.png as footer layout/sp
|
|||||||
## BS-014 responsive showcase authority (2026-11-11)
|
## BS-014 responsive showcase authority (2026-11-11)
|
||||||
|
|
||||||
Captain requested applying docs/references/responsive-footer-showcase.png. Supersedes prior footer-approved-preview.png and rejected size iterations: compact bordered panel, single-row desktop/tablet navigation, stacked mobile with two-column links. Preserve approved identity, existing description, themes and CTA exclusion. Showcase labels/device badges are presentation annotations, not website content. Captain-controlled startup remains unchanged.
|
Captain requested applying docs/references/responsive-footer-showcase.png. Supersedes prior footer-approved-preview.png and rejected size iterations: compact bordered panel, single-row desktop/tablet navigation, stacked mobile with two-column links. Preserve approved identity, existing description, themes and CTA exclusion. Showcase labels/device badges are presentation annotations, not website content. Captain-controlled startup remains unchanged.
|
||||||
|
|
||||||
|
## BS-006 portfolio presentation — 2026-11-11
|
||||||
|
|
||||||
|
Captain selected RouletteBuddy as featured and confirmed PitchInvader merits substantial coverage despite being unfinished/unpolished, with no polished screenshots currently available. API Admin is a small, simple project, not an enterprise management platform. Captain engaged BS-006 with UI design first, then implementation/QA/review; source evidence is available in ~/projects. Use factual summaries, explicitly pending genuine media, and no invented outcomes or screenshots. Homepage changes remain outside this task; authentic assets/final publication and verified external links remain gates.
|
||||||
|
|
||||||
|
BS-006 live link refinement (2026-11-11): Captain authorized adding Visit RouletteBuddy to its featured entry and case-study header after https://roulettebuddy.app/ returned HTTP200 over validated HTTPS and RouletteBuddy title/canonical content. Standard same-tab external anchors preserve browser Back; case study remains first action. No external link invented for other projects. Earlier screenshots predate this refinement; refresh manual-test snapshot after validation. No server/commit/merge/deploy authorized.
|
||||||
|
|||||||
@@ -1,11 +1,27 @@
|
|||||||
# BS-014 accepted footer integration handoff
|
# BS-006 Projects handoff
|
||||||
|
|
||||||
Captain manually accepted responsive-footer-showcase and explicitly authorized commit/merge on 2026-11-11. This record accompanies integration from bs-014 / .task-worktrees/bs-014 into codex, based on5bfb128. BS-014 Complete under authorized integration; no push/deployment or next task authorized.
|
Updated 2026-11-11. Captain engaged BS-006 with Frontend UI Design → Webapp Feature → Frontend Visual QA → Code Review and Roborto Project Context throughout. Candidate: /home/rob/projects/bortstack/.task-worktrees/bs-006, branch bs-006, base codex/2660577. Integration root has pre-existing uncommitted cleanup edits in CURRENT_STATE/HANDOFF; preserved. No commit/push/merge/deployment authorized.
|
||||||
|
|
||||||
Shared footer: compact bordered panel with existing text wordmark and business description, NAVIGATION/rule, single-row desktop/tablet links, stacked mobile/two-column links, lower copyright/Privacy. roborto.net attribution and unused configuration removed. Existing themes, Poppins,44px targets retained. No CTA/header/page-body/routing/backend/dependency changes. Authentic master logo and verified API Admin destination remain outstanding. Authoritative current footer reference: docs/references/responsive-footer-showcase.png; previous reference preserved as superseded design history.
|
Captain approved RouletteBuddy featured, substantial PitchInvader coverage despite unfinished polish, and modest API Admin presentation. Source repositories in ~/projects inspected read-only; summaries grounded in source/docs. No private data/code copied. No genuine project screenshots supplied: explicitly pending placeholders remain. Project concepts are design references only. Homepage/shared shell/backend unchanged. BS-006-DESIGN.md contains composition, scope, acceptance, evidence and remaining gates.
|
||||||
|
|
||||||
Validation before Captain acceptance: lint/build/whitespace passed; earlier33unit pass (application markup unchanged by final CSS-only work). Ten offline production-artifact Chromium width/theme checks passed at1440/1024/768/375/320: keyboard links/focus, footer axe, tablet/mobile geometry, seven public-route overflow/page-error checks. Contact config mocked unavailable; no live backend validation claim. Fresh final screenshots/results in docs/visual-qa/bs-014/responsive/. Earlier screenshots represent superseded designs. Full server-backed Playwright suite not rerun; equivalent geometry checks added to footer.spec.js and linted. Captain subsequently accepted manual testing. Scoped pre-integration review found no blocking defects.
|
Implementation: gallery plus /projects/roulettebuddy, /projects/pitchinvader, /projects/api-admin case studies; unknown slug recovery/noindex; curated local data, existing theme tokens/Poppins/React-Bootstrap. No dependencies changed. TASK-006 opens /projects. Existing project worktrees from earlier missions were cleaned after authorized integration; BS-006 is the only newly created task worktree.
|
||||||
|
|
||||||
No servers started for final reference work. Captain controls runtime startup: ./scripts/testtask.sh TASK-014 from integration root. Snapshot previously refreshed with264verified files; acceptance/integration docs finalized afterward. Restart after changes; never edit test snapshot. Preserve active test sessions and retained implementation worktree/history. No runtime cleanup requested by commit/merge order.
|
Diagnostics: npm ci --include=dev, npm run lint, npm test (38passed), npm run build, git diff --check and bash -n checks passed. Initial sandbox install could not execute esbuild; authorized escalation succeeded. One build invocation from task root failed ENOENT (no package.json); correct react/ invocation passed. Existing10 audit alerts and unit TimeoutNaNWarning remain. Browser checks caught mobile row-gutter overflow at390px; mobile gutters narrowed and production build refreshed. See visual-qa/bs-006 for final browser results and before/after evidence. Full server-backed Playwright not run because it starts Vite; new projects.spec.js prepared and linted. No backend tests or standalone type-check.
|
||||||
|
|
||||||
Next mission remains Captain-controlled. Projects/case studies need genuine materials/permissions; Privacy/legal/SEO and production runtime remain proposed work. Verified mail configuration, artwork and launch gates remain open.
|
Captain controls startup. From /home/rob/projects/bortstack run:
|
||||||
|
|
||||||
|
./scripts/testtask.sh TASK-006
|
||||||
|
|
||||||
|
This uses the task worktree adapter, builds its exact test-only snapshot and isolated Docker runtime, and opens http://127.0.0.1:18081/projects. Contact delivery disabled; no account required. Engineering has not started a dev server, testtask session or Docker runtime. Manual approval and explicit authorized integration remain outstanding. Genuine media and final content review remain required before publication. Do not start another mission or deploy.
|
||||||
|
|
||||||
|
Final browser matrix passed:10theme/viewport combinations (320–1440),50Projects-route axe/overflow checks, gallery/case/Contact navigation,50existing-route overflow checks, zero page errors. Five unchanged public pages byte-identical to2660577 in dark desktop and light mobile. Final evidence in docs/visual-qa/bs-006. Scoped final code review of tracked and untracked BS-006 source/tests/config found no actionable blocking correctness/security/regression defects; media/content publication gates remain.
|
||||||
|
|
||||||
|
Manual-test snapshot prepared using python3 scripts/create-test-snapshot.py 006; source hash manifest verified. Snapshot is a disposable exact file copy as implemented by the existing adapter, not a Git worktree and never an editing source. Engineering started no services. Refresh again after any source edits. Integration root context now points to this candidate while preserving its pre-existing cleanup notes.
|
||||||
|
|
||||||
|
BS-006 live link refinement (2026-11-11): Captain authorized adding Visit RouletteBuddy to its featured entry and case-study header after https://roulettebuddy.app/ returned HTTP200 over validated HTTPS and RouletteBuddy title/canonical content. Standard same-tab external anchors preserve browser Back; case study remains first action. No external link invented for other projects. Earlier screenshots predate this refinement; refresh manual-test snapshot after validation. No server/commit/merge/deploy authorized.
|
||||||
|
|
||||||
|
Live-link validation: final build/lint and5focused Projects tests passed. Offline Chromium at1440/320 in both themes confirmed exact URL/same-tab anchors on gallery and RouletteBuddy case study;20Projects-route axe/overflow checks plus20existing-route overflow checks/navigation passed with zero page errors. Mobile dark gallery and desktop light case-study screenshots inspected. Scoped review found no blocking defect. Full unit/server-backed browser suites not rerun for this link-only refinement. See visual-qa/bs-006/link-results.json and link-*.png; earlier screenshot matrix predates the link. Snapshot refreshed after documentation; restart TASK-006 if already testing. No server/commit/merge/deploy performed.
|
||||||
|
|
||||||
|
## BS-006 Captain acceptance — 2026-11-11
|
||||||
|
|
||||||
|
Captain confirmed “task complete”, accepting the Projects gallery, three case studies and verified RouletteBuddy links with disclosed pending genuine screenshots. Manual acceptance gate satisfied. Candidate remains uncommitted on bs-006, base2660577. Repository lifecycle completion awaits explicit commit/merge authorization; no push, deployment, worktree or runtime cleanup authorized. Previous pending-manual-review statements are superseded. No application changes or diagnostics rerun for this acceptance-only update. Existing screenshot/publication gates remain. Application snapshot unchanged; its context documents predate this acceptance note.
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ Deviation/asset gate: reference photograph replaced by restrained decorative CSS
|
|||||||
| ID | Task | Gate |
|
| ID | Task | Gate |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| BS-005 | Services and About | Services Complete under BS-012; About Complete under BS-013 |
|
| 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-006 | Projects gallery and case studies — engaged 2026-11-11; see detailed task below | Captain review; genuine imagery pending |
|
||||||
| BS-007 | Contact UI and Flask service — engaged; see detailed task below | Captain manual review; verified mail configuration before real delivery |
|
| 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-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-009 | Docker/SWAG plan and regression tests | Adapt production database-free topology/readiness; no live cutover. Existing manual-test runtime already operational |
|
||||||
@@ -204,3 +204,23 @@ Captain confirmed “mission complete”, accepting the responsive-footer-showca
|
|||||||
## BS-014 authorized integration — 2026-11-11
|
## BS-014 authorized integration — 2026-11-11
|
||||||
|
|
||||||
Captain accepted the responsive showcase footer and explicitly ordered commit and merge. Task Complete through the authorized integration sequence; no push/deployment. Pre-integration scoped review found no blocking defects; accepted application source unchanged since manual review. Preserve task history/worktree and test sessions; no cleanup requested in this integration order. Reference copies byte-verified against Captain originals.
|
Captain accepted the responsive showcase footer and explicitly ordered commit and merge. Task Complete through the authorized integration sequence; no push/deployment. Pre-integration scoped review found no blocking defects; accepted application source unchanged since manual review. Preserve task history/worktree and test sessions; no cleanup requested in this integration order. Reference copies byte-verified against Captain originals.
|
||||||
|
|
||||||
|
## BS-006 — Projects gallery and reusable case studies (engaged 2026-11-11)
|
||||||
|
|
||||||
|
Status: Captain accepted on2026-11-11; awaiting explicit authorized commit/merge before repository lifecycle Complete.
|
||||||
|
Branch/worktree: bs-006 / .task-worktrees/bs-006, based on codex/2660577.
|
||||||
|
Objective: implement /projects and /projects/:slug using factual RouletteBuddy, PitchInvader and API Admin entries.
|
||||||
|
Scope: Projects design/component/SCSS/curated data, case-study template, routing/metadata, tests, TASK-006 opening URL and context/evidence. See BS-006-DESIGN.md for measurable acceptance, design and source provenance.
|
||||||
|
Non-goals: homepage changes, shared identity/header/footer redesign, backend, new dependencies, fabricated media/metrics, verified external URLs, production.
|
||||||
|
Dependencies/risks: authentic screenshots not supplied; explicitly pending media is permitted by the engagement briefing, final publication remains gated. PitchInvader unfinished but substantial; API Admin simple showcase. Existing concept product imagery is illustrative. Source inspection read-only in ~/projects; no source/private data copied.
|
||||||
|
Validation: lint/unit/build, known/unknown route and metadata tests, theme/responsive/keyboard/axe browser checks, scoped code review, exact manual-test snapshot. Captain controls server startup and manual acceptance. No commit/merge/push/deployment authorized.
|
||||||
|
|
||||||
|
BS-006 result (2026-11-11): gallery/three case studies and unavailable-slug state implemented. Lint,38unit tests, build and whitespace/shell checks passed. Final offline Chromium matrix:10theme/viewport combinations,50Projects-route axe/overflow checks and50existing-route overflow checks, navigation and zero page errors. Five existing public pages byte-identical to2660577 at dark desktop/light mobile. Full server-backed Playwright not run; Captain controls startup. Scoped code review found no blocking defects. Genuine screenshots pending, manual acceptance/integration not authorized. See BS-006-DESIGN.md and visual-qa/bs-006/.
|
||||||
|
|
||||||
|
BS-006 live link refinement (2026-11-11): Captain authorized adding Visit RouletteBuddy to its featured entry and case-study header after https://roulettebuddy.app/ returned HTTP200 over validated HTTPS and RouletteBuddy title/canonical content. Standard same-tab external anchors preserve browser Back; case study remains first action. No external link invented for other projects. Earlier screenshots predate this refinement; refresh manual-test snapshot after validation. No server/commit/merge/deploy authorized.
|
||||||
|
|
||||||
|
Live-link validation: final build/lint and5focused Projects tests passed. Offline Chromium at1440/320 in both themes confirmed exact URL/same-tab anchors on gallery and RouletteBuddy case study;20Projects-route axe/overflow checks plus20existing-route overflow checks/navigation passed with zero page errors. Mobile dark gallery and desktop light case-study screenshots inspected. Scoped review found no blocking defect. Full unit/server-backed browser suites not rerun for this link-only refinement. See visual-qa/bs-006/link-results.json and link-*.png; earlier screenshot matrix predates the link. Snapshot refreshed after documentation; restart TASK-006 if already testing. No server/commit/merge/deploy performed.
|
||||||
|
|
||||||
|
## BS-006 Captain acceptance — 2026-11-11
|
||||||
|
|
||||||
|
Captain confirmed “task complete”, accepting the Projects gallery, three case studies and verified RouletteBuddy links with disclosed pending genuine screenshots. Manual acceptance gate satisfied. Candidate remains uncommitted on bs-006, base2660577. Repository lifecycle completion awaits explicit commit/merge authorization; no push, deployment, worktree or runtime cleanup authorized. Previous pending-manual-review statements are superseded. No application changes or diagnostics rerun for this acceptance-only update. Existing screenshot/publication gates remain. Application snapshot unchanged; its context documents predate this acceptance note.
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# BS-006 visual verification — 2026-11-11
|
||||||
|
|
||||||
|
Production-artifact Chromium verification, without starting a server. HTTP requests intercepted to serve the actual dist files; Contact config explicitly mocked unavailable. This verifies frontend rendering/navigation, not live HTTP, backend or email delivery.
|
||||||
|
|
||||||
|
Final matrix:1440/1024/768/390/320 in both themes. Five Projects routes (gallery, three case studies, unknown slug) in each combination:50 axe checks with zero violations and50 overflow checks passed. Keyboard activation of featured link, back-to-gallery/PitchInvader/Contact navigation and title checked. Five existing routes in each combination passed overflow checks; zero page errors; only expected Contact config requests. results.json records results. Mobile gutter overflow found on first run, corrected at source, rebuilt and exact matrix rerun successfully.
|
||||||
|
|
||||||
|
Independent baseline build from unchanged2660577 compared with final candidate at1024dark and390light. Homepage/Services/About/Contact/Privacy full-page PNGs byte-identical (10 comparisons). Projects before/after captured. regression-results.json records results. Desktop dark gallery, mobile light gallery and mobile dark PitchInvader case study visually inspected. Screenshot placeholders intentionally differ from conceptual product images; no invented logo/product imagery. Layout/spacing extend the approved composition, with factual copy replacing illustrative claims.
|
||||||
|
|
||||||
|
Reproduce final artifact checks after `npm run build` in react/:
|
||||||
|
|
||||||
|
node docs/visual-qa/bs-006/offline-check.cjs
|
||||||
|
|
||||||
|
Requires installed repository Playwright/axe dependencies and Chromium. This script serves files via browser interception only. No server/testtask/Docker startup. Before/after baseline generated from git archive2660577 in /tmp, built using the locked candidate dependencies. No external application was run or copied into this website.
|
||||||
|
|
||||||
|
Agent diagnostics: lint,38unit tests, build, whitespace/shell checks passed. Full server-backed Playwright not run; four new Projects theme/browser cases prepared in react/e2e/projects.spec.js for Captain-controlled runtime. No backend changes/tests or type-check script. Existing dependency audit alerts and TimeoutNaNWarning remain. Captain manual review and authentic screenshots outstanding; no Complete/integration/deployment claim.
|
||||||
|
|
||||||
|
Live-link validation: final build/lint and5focused Projects tests passed. Offline Chromium at1440/320 in both themes confirmed exact URL/same-tab anchors on gallery and RouletteBuddy case study;20Projects-route axe/overflow checks plus20existing-route overflow checks/navigation passed with zero page errors. Mobile dark gallery and desktop light case-study screenshots inspected. Scoped review found no blocking defect. Full unit/server-backed browser suites not rerun for this link-only refinement. See visual-qa/bs-006/link-results.json and link-*.png; earlier screenshot matrix predates the link. Snapshot refreshed after documentation; restart TASK-006 if already testing. No server/commit/merge/deploy performed.
|
||||||
|
|
||||||
|
Reproduce link refinement checks: `node docs/visual-qa/bs-006/link-check.cjs` after building react/.
|
||||||
|
After Width: | Height: | Size: 424 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 374 KiB |
|
After Width: | Height: | Size: 262 KiB |
|
After Width: | Height: | Size: 426 KiB |
|
After Width: | Height: | Size: 287 KiB |
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 533 KiB |
|
After Width: | Height: | Size: 373 KiB |
|
After Width: | Height: | Size: 316 KiB |
|
After Width: | Height: | Size: 237 KiB |
|
After Width: | Height: | Size: 424 KiB |
|
After Width: | Height: | Size: 226 KiB |
|
After Width: | Height: | Size: 374 KiB |
|
After Width: | Height: | Size: 262 KiB |
|
After Width: | Height: | Size: 426 KiB |
|
After Width: | Height: | Size: 287 KiB |
|
After Width: | Height: | Size: 112 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 111 KiB |
|
After Width: | Height: | Size: 81 KiB |
|
After Width: | Height: | Size: 316 KiB |
|
After Width: | Height: | Size: 237 KiB |
@@ -0,0 +1,53 @@
|
|||||||
|
const path=require('path');
|
||||||
|
const root=path.resolve(__dirname,'../../..');
|
||||||
|
const {chromium} = require(path.join(root,'react/node_modules/playwright'));
|
||||||
|
const {default:AxeBuilder} = require(path.join(root,'react/node_modules/@axe-core/playwright'));
|
||||||
|
const fs=require('fs'), assert=require('assert/strict');
|
||||||
|
const dist=path.join(root,'react/dist'), out=path.join(root,'docs/visual-qa/bs-006');
|
||||||
|
const types={'.html':'text/html','.js':'text/javascript','.css':'text/css','.ttf':'font/ttf','.svg':'image/svg+xml','.png':'image/png'};
|
||||||
|
(async()=>{
|
||||||
|
fs.mkdirSync(out,{recursive:true});
|
||||||
|
const browser=await chromium.launch({headless:true});
|
||||||
|
const results=[];
|
||||||
|
for(const theme of ['dark','light']) for(const width of [1440,320]) {
|
||||||
|
const context=await browser.newContext({viewport:{width,height:1000}});
|
||||||
|
await context.addInitScript(t=>localStorage.setItem('bortstack-theme',t),theme);
|
||||||
|
const errors=[],requests=[];
|
||||||
|
await context.route('http://bs006.test/**',async route=>{
|
||||||
|
const u=new URL(route.request().url());
|
||||||
|
if(u.pathname.startsWith('/api/')){requests.push(u.pathname);return route.fulfill({json:{email:null,available:false}})}
|
||||||
|
let file=path.join(dist,decodeURIComponent(u.pathname));
|
||||||
|
if(!fs.existsSync(file)||fs.statSync(file).isDirectory()) file=path.join(dist,'index.html');
|
||||||
|
await route.fulfill({body:fs.readFileSync(file),contentType:types[path.extname(file)]||'application/octet-stream'});
|
||||||
|
});
|
||||||
|
const page=await context.newPage();page.on('pageerror',e=>errors.push(e.message));
|
||||||
|
for(const [url,heading] of [['/projects','Projects'],['/projects/roulettebuddy','RouletteBuddy'],['/projects/pitchinvader','PitchInvader'],['/projects/api-admin','API Admin'],['/projects/missing','Project not found']]) {
|
||||||
|
await page.goto('http://bs006.test'+url);await page.getByRole('heading',{level:1,name:heading,exact:true}).waitFor();await page.evaluate(()=>document.fonts.ready);
|
||||||
|
if(url==='/projects'||url==='/projects/roulettebuddy') {const link=page.getByRole('link',{name:'Visit RouletteBuddy',exact:true}); assert.equal(await link.getAttribute('href'),'https://roulettebuddy.app/'); assert.equal(await link.getAttribute('target'),null);}
|
||||||
|
assert(await page.evaluate(()=>document.documentElement.scrollWidth<=innerWidth),`${theme} ${width} ${url} overflow`);
|
||||||
|
const violations=(await new AxeBuilder({page}).analyze()).violations;
|
||||||
|
assert.equal(violations.length,0,JSON.stringify({theme,width,url,violations}));
|
||||||
|
if(url==='/projects/missing')assert.equal(await page.locator('meta[name="robots"]').getAttribute('content'),'noindex, nofollow');
|
||||||
|
if(width===1440||width===320) await page.screenshot({path:path.join(out,`link-${url.split('/').filter(Boolean).join('-')}-${theme}-${width}.png`),fullPage:true});
|
||||||
|
}
|
||||||
|
await page.goto('http://bs006.test/projects');
|
||||||
|
await page.getByRole('link',{name:'View case study',exact:true}).focus();await page.keyboard.press('Enter');
|
||||||
|
await page.getByRole('heading',{level:1,name:'RouletteBuddy',exact:true}).waitFor();
|
||||||
|
assert((await page.title()).includes('RouletteBuddy'));
|
||||||
|
await page.getByRole('link',{name:'All projects',exact:true}).click();
|
||||||
|
await page.getByRole('link',{name:'Explore PitchInvader',exact:true}).click();
|
||||||
|
await page.getByRole('heading',{level:1,name:'PitchInvader',exact:true}).waitFor();
|
||||||
|
await page.getByRole('link',{name:'Discuss a Project',exact:true}).click();
|
||||||
|
await page.getByRole('heading',{level:1,name:'Have a project in mind?',exact:true}).waitFor();
|
||||||
|
for(const url of ['/','/services','/about','/contact','/privacy']) {
|
||||||
|
await page.goto('http://bs006.test'+url);await page.getByRole('heading',{level:1}).waitFor();
|
||||||
|
assert(await page.evaluate(()=>document.documentElement.scrollWidth<=innerWidth),`regression ${theme} ${width} ${url}`);
|
||||||
|
}
|
||||||
|
assert.equal(errors.length,0,JSON.stringify(errors));
|
||||||
|
assert(requests.every(x=>x==='/api/contact/config'));
|
||||||
|
results.push({theme,width,projectRoutes:5,axe:'passed',navigation:'passed',regressionRoutes:5,pageErrors:errors,apiRequests:[...new Set(requests)]});
|
||||||
|
await context.close();
|
||||||
|
}
|
||||||
|
await browser.close();fs.writeFileSync(path.join(out,'link-results.json'),JSON.stringify(results,null,2)+'\n');
|
||||||
|
console.log('PASS: live-link checks in four theme/viewport combinations;20Projects-route axe/overflow checks and20existing-route overflow checks plus navigation. Contact config mocked unavailable; no server started.');
|
||||||
|
})().catch(e=>{console.error(e);process.exit(1)});
|
||||||
|
After Width: | Height: | Size: 719 KiB |
|
After Width: | Height: | Size: 267 KiB |
|
After Width: | Height: | Size: 674 KiB |
|
After Width: | Height: | Size: 256 KiB |
|
After Width: | Height: | Size: 727 KiB |
|
After Width: | Height: | Size: 342 KiB |
|
After Width: | Height: | Size: 686 KiB |
|
After Width: | Height: | Size: 332 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 736 KiB |
|
After Width: | Height: | Size: 289 KiB |
|
After Width: | Height: | Size: 702 KiB |
|
After Width: | Height: | Size: 279 KiB |
|
After Width: | Height: | Size: 726 KiB |
|
After Width: | Height: | Size: 281 KiB |
|
After Width: | Height: | Size: 681 KiB |
|
After Width: | Height: | Size: 266 KiB |
@@ -0,0 +1,50 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1440,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 320,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "light",
|
||||||
|
"width": 1440,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "light",
|
||||||
|
"width": 320,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
const path=require('path');
|
||||||
|
const root=path.resolve(__dirname,'../../..');
|
||||||
|
const {chromium} = require(path.join(root,'react/node_modules/playwright'));
|
||||||
|
const {default:AxeBuilder} = require(path.join(root,'react/node_modules/@axe-core/playwright'));
|
||||||
|
const fs=require('fs'), assert=require('assert/strict');
|
||||||
|
const dist=path.join(root,'react/dist'), out=path.join(root,'docs/visual-qa/bs-006');
|
||||||
|
const types={'.html':'text/html','.js':'text/javascript','.css':'text/css','.ttf':'font/ttf','.svg':'image/svg+xml','.png':'image/png'};
|
||||||
|
(async()=>{
|
||||||
|
fs.mkdirSync(out,{recursive:true});
|
||||||
|
const browser=await chromium.launch({headless:true});
|
||||||
|
const results=[];
|
||||||
|
for(const theme of ['dark','light']) for(const width of [1440,1024,768,390,320]) {
|
||||||
|
const context=await browser.newContext({viewport:{width,height:1000}});
|
||||||
|
await context.addInitScript(t=>localStorage.setItem('bortstack-theme',t),theme);
|
||||||
|
const errors=[],requests=[];
|
||||||
|
await context.route('http://bs006.test/**',async route=>{
|
||||||
|
const u=new URL(route.request().url());
|
||||||
|
if(u.pathname.startsWith('/api/')){requests.push(u.pathname);return route.fulfill({json:{email:null,available:false}})}
|
||||||
|
let file=path.join(dist,decodeURIComponent(u.pathname));
|
||||||
|
if(!fs.existsSync(file)||fs.statSync(file).isDirectory()) file=path.join(dist,'index.html');
|
||||||
|
await route.fulfill({body:fs.readFileSync(file),contentType:types[path.extname(file)]||'application/octet-stream'});
|
||||||
|
});
|
||||||
|
const page=await context.newPage();page.on('pageerror',e=>errors.push(e.message));
|
||||||
|
for(const [url,heading] of [['/projects','Projects'],['/projects/roulettebuddy','RouletteBuddy'],['/projects/pitchinvader','PitchInvader'],['/projects/api-admin','API Admin'],['/projects/missing','Project not found']]) {
|
||||||
|
await page.goto('http://bs006.test'+url);await page.getByRole('heading',{level:1,name:heading,exact:true}).waitFor();await page.evaluate(()=>document.fonts.ready);
|
||||||
|
assert(await page.evaluate(()=>document.documentElement.scrollWidth<=innerWidth),`${theme} ${width} ${url} overflow`);
|
||||||
|
const violations=(await new AxeBuilder({page}).analyze()).violations;
|
||||||
|
assert.equal(violations.length,0,JSON.stringify({theme,width,url,violations}));
|
||||||
|
if(url==='/projects/missing')assert.equal(await page.locator('meta[name="robots"]').getAttribute('content'),'noindex, nofollow');
|
||||||
|
if(width===1440||width===390) await page.screenshot({path:path.join(out,`${url.split('/').filter(Boolean).join('-')}-${theme}-${width}.png`),fullPage:true});
|
||||||
|
}
|
||||||
|
await page.goto('http://bs006.test/projects');
|
||||||
|
await page.getByRole('link',{name:'View case study',exact:true}).focus();await page.keyboard.press('Enter');
|
||||||
|
await page.getByRole('heading',{level:1,name:'RouletteBuddy',exact:true}).waitFor();
|
||||||
|
assert((await page.title()).includes('RouletteBuddy'));
|
||||||
|
await page.getByRole('link',{name:'All projects',exact:true}).click();
|
||||||
|
await page.getByRole('link',{name:'Explore PitchInvader',exact:true}).click();
|
||||||
|
await page.getByRole('heading',{level:1,name:'PitchInvader',exact:true}).waitFor();
|
||||||
|
await page.getByRole('link',{name:'Discuss a Project',exact:true}).click();
|
||||||
|
await page.getByRole('heading',{level:1,name:'Have a project in mind?',exact:true}).waitFor();
|
||||||
|
for(const url of ['/','/services','/about','/contact','/privacy']) {
|
||||||
|
await page.goto('http://bs006.test'+url);await page.getByRole('heading',{level:1}).waitFor();
|
||||||
|
assert(await page.evaluate(()=>document.documentElement.scrollWidth<=innerWidth),`regression ${theme} ${width} ${url}`);
|
||||||
|
}
|
||||||
|
assert.equal(errors.length,0,JSON.stringify(errors));
|
||||||
|
assert(requests.every(x=>x==='/api/contact/config'));
|
||||||
|
results.push({theme,width,projectRoutes:5,axe:'passed',navigation:'passed',regressionRoutes:5,pageErrors:errors,apiRequests:[...new Set(requests)]});
|
||||||
|
await context.close();
|
||||||
|
}
|
||||||
|
await browser.close();fs.writeFileSync(path.join(out,'results.json'),JSON.stringify(results,null,2)+'\n');
|
||||||
|
console.log('PASS: 10 theme/viewport combinations; 50 Projects-route axe/overflow checks, keyboard/gallery/case/Contact navigation, 50 existing-route overflow checks. Contact config mocked unavailable; no server started.');
|
||||||
|
})().catch(e=>{console.error(e);process.exit(1)});
|
||||||
|
After Width: | Height: | Size: 719 KiB |
|
After Width: | Height: | Size: 283 KiB |
|
After Width: | Height: | Size: 674 KiB |
|
After Width: | Height: | Size: 269 KiB |
|
After Width: | Height: | Size: 724 KiB |
|
After Width: | Height: | Size: 389 KiB |
|
After Width: | Height: | Size: 684 KiB |
|
After Width: | Height: | Size: 373 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 736 KiB |
|
After Width: | Height: | Size: 298 KiB |
|
After Width: | Height: | Size: 702 KiB |
|
After Width: | Height: | Size: 283 KiB |
|
After Width: | Height: | Size: 710 KiB |
|
After Width: | Height: | Size: 288 KiB |
|
After Width: | Height: | Size: 667 KiB |
|
After Width: | Height: | Size: 274 KiB |
@@ -0,0 +1,74 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"route": "/",
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1024,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/services",
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1024,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/about",
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1024,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/contact",
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1024,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/privacy",
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1024,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/projects",
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1024,
|
||||||
|
"identical": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/",
|
||||||
|
"theme": "light",
|
||||||
|
"width": 390,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/services",
|
||||||
|
"theme": "light",
|
||||||
|
"width": 390,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/about",
|
||||||
|
"theme": "light",
|
||||||
|
"width": 390,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/contact",
|
||||||
|
"theme": "light",
|
||||||
|
"width": 390,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/privacy",
|
||||||
|
"theme": "light",
|
||||||
|
"width": 390,
|
||||||
|
"identical": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"route": "/projects",
|
||||||
|
"theme": "light",
|
||||||
|
"width": 390,
|
||||||
|
"identical": false
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,122 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1440,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 1024,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 768,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 390,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "dark",
|
||||||
|
"width": 320,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "light",
|
||||||
|
"width": 1440,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "light",
|
||||||
|
"width": 1024,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "light",
|
||||||
|
"width": 768,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "light",
|
||||||
|
"width": 390,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"theme": "light",
|
||||||
|
"width": 320,
|
||||||
|
"projectRoutes": 5,
|
||||||
|
"axe": "passed",
|
||||||
|
"navigation": "passed",
|
||||||
|
"regressionRoutes": 5,
|
||||||
|
"pageErrors": [],
|
||||||
|
"apiRequests": [
|
||||||
|
"/api/contact/config"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
import AxeBuilder from '@axe-core/playwright'
|
||||||
|
import { expect, test } from '@playwright/test'
|
||||||
|
|
||||||
|
for (const theme of ['dark', 'light']) {
|
||||||
|
test(`Projects and case studies work in ${theme}`, async ({ page }) => {
|
||||||
|
await page.addInitScript(value => localStorage.setItem('bortstack-theme', value), theme)
|
||||||
|
await page.goto('/projects')
|
||||||
|
await expect(page.getByText('In development', { exact: true })).toBeVisible()
|
||||||
|
await expect(page.getByText('Small showcase project', { exact: true })).toBeVisible()
|
||||||
|
await expect(page.getByText('Genuine project screenshot pending', { exact: true })).toHaveCount(3)
|
||||||
|
expect((await new AxeBuilder({ page }).analyze()).violations).toEqual([])
|
||||||
|
await page.getByRole('link', { name: 'View case study', exact: true }).focus()
|
||||||
|
await page.keyboard.press('Enter')
|
||||||
|
await expect(page.getByRole('heading', { level: 1, name: 'RouletteBuddy' })).toBeVisible()
|
||||||
|
await expect(page.getByRole('heading', { name: 'Work to date' })).toBeVisible()
|
||||||
|
await page.getByRole('link', { name: 'All projects' }).click()
|
||||||
|
await page.getByRole('link', { name: 'Explore PitchInvader' }).click()
|
||||||
|
await expect(page.getByRole('heading', { level: 1, name: 'PitchInvader' })).toBeVisible()
|
||||||
|
await expect(page.getByText('In development', { exact: true })).toBeVisible()
|
||||||
|
expect((await new AxeBuilder({ page }).analyze()).violations).toEqual([])
|
||||||
|
expect(await page.locator('html').evaluate(el => el.scrollWidth <= el.clientWidth)).toBe(true)
|
||||||
|
await page.goto('/projects/api-admin')
|
||||||
|
await expect(page.getByRole('list', { name: 'Technologies' }).getByText('SQLite')).toBeVisible()
|
||||||
|
await page.goto('/projects/unavailable')
|
||||||
|
await expect(page.getByRole('heading', { name: 'Project not found' })).toBeVisible()
|
||||||
|
await expect(page.locator('meta[name="robots"]')).toHaveAttribute('content', 'noindex, nofollow')
|
||||||
|
})
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@ import { expect, test } from '@playwright/test'
|
|||||||
|
|
||||||
for (const [path, heading] of [
|
for (const [path, heading] of [
|
||||||
['/', /Software solutions\s*for real-world use\./], ['/services', 'Services'],
|
['/', /Software solutions\s*for real-world use\./], ['/services', 'Services'],
|
||||||
['/projects', 'Projects'], ['/projects/example', 'Project details'],
|
['/projects', 'Projects'], ['/projects/example', 'Project not found'],
|
||||||
['/about', 'About BortStack'], ['/contact', 'Have a project in mind?'], ['/privacy', 'Privacy policy'],
|
['/about', 'About BortStack'], ['/contact', 'Have a project in mind?'], ['/privacy', 'Privacy policy'],
|
||||||
['/login', 'Page not found'], ['/dashboard', 'Page not found'],
|
['/login', 'Page not found'], ['/dashboard', 'Page not found'],
|
||||||
]) {
|
]) {
|
||||||
|
|||||||
@@ -8,10 +8,9 @@ import RoutePlaceholder from "./views/RoutePlaceholder";
|
|||||||
import Services from "./views/Services/Services";
|
import Services from "./views/Services/Services";
|
||||||
import About from "./views/About/About";
|
import About from "./views/About/About";
|
||||||
import Contact from "./views/Contact/Contact";
|
import Contact from "./views/Contact/Contact";
|
||||||
|
import Projects, { ProjectCaseStudy } from "./views/Projects/Projects";
|
||||||
|
|
||||||
const pages = [
|
const pages = [
|
||||||
["projects", "Projects", "Project details will be added after publication permissions and genuine imagery are confirmed."],
|
|
||||||
["projects/:slug", "Project details", "This case study is not available. Only verified, approved work will be published."],
|
|
||||||
["privacy", "Privacy policy", "Privacy information is awaiting review against the actual website data flows before publication."],
|
["privacy", "Privacy policy", "Privacy information is awaiting review against the actual website data flows before publication."],
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -27,6 +26,8 @@ export default function App() {
|
|||||||
<Route path="services" element={<><PageMeta title="Services" description="Website development, custom software, API integration and managed hosting from BortStack." /><Services /></>} />
|
<Route path="services" element={<><PageMeta title="Services" description="Website development, custom software, API integration and managed hosting from BortStack." /><Services /></>} />
|
||||||
<Route path="about" element={<><PageMeta title="About" description="BortStack’s approach to practical software development, clear communication and ongoing support." /><About /></>} />
|
<Route path="about" element={<><PageMeta title="About" description="BortStack’s approach to practical software development, clear communication and ongoing support." /><About /></>} />
|
||||||
<Route path="contact" element={<><PageMeta title="Contact" description="Discuss your software project with BortStack." /><Contact /></>} />
|
<Route path="contact" element={<><PageMeta title="Contact" description="Discuss your software project with BortStack." /><Contact /></>} />
|
||||||
|
<Route path="projects" element={<><PageMeta title="Projects" description="Explore BortStack software projects: RouletteBuddy, PitchInvader and API Admin." /><Projects /></>} />
|
||||||
|
<Route path="projects/:slug" element={<ProjectCaseStudy />} />
|
||||||
{pages.map(([path, title, description]) => (
|
{pages.map(([path, title, description]) => (
|
||||||
<Route key={path} path={path} element={<>
|
<Route key={path} path={path} element={<>
|
||||||
<PageMeta title={title} description={description} noIndex />
|
<PageMeta title={title} description={description} noIndex />
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ afterEach(() => { window.history.replaceState({}, "", "/"); vi.unstubAllGlobals(
|
|||||||
describe("public marketing routes", () => {
|
describe("public marketing routes", () => {
|
||||||
it.each([
|
it.each([
|
||||||
["/services", "Services"], ["/projects", "Projects"],
|
["/services", "Services"], ["/projects", "Projects"],
|
||||||
["/projects/example", "Project details"], ["/about", "About BortStack"],
|
["/projects/example", "Project not found"], ["/about", "About BortStack"],
|
||||||
["/contact", "Have a project in mind?"], ["/privacy", "Privacy policy"],
|
["/contact", "Have a project in mind?"], ["/privacy", "Privacy policy"],
|
||||||
["/login", "Page not found"], ["/register", "Page not found"], ["/dashboard", "Page not found"],
|
["/login", "Page not found"], ["/register", "Page not found"], ["/dashboard", "Page not found"],
|
||||||
])("loads %s without account infrastructure", async (path, heading) => {
|
])("loads %s without account infrastructure", async (path, heading) => {
|
||||||
|
|||||||
@@ -0,0 +1,85 @@
|
|||||||
|
import { Container, Row, Col } from "react-bootstrap";
|
||||||
|
import { Link, useParams } from "react-router-dom";
|
||||||
|
import { FiArrowLeft, FiArrowRight, FiImage, FiMessageCircle, FiExternalLink } from "react-icons/fi";
|
||||||
|
import PropTypes from "prop-types";
|
||||||
|
import PageMeta from "../../components/PageMeta/PageMeta";
|
||||||
|
import { projects } from "./projects";
|
||||||
|
import styles from "./Projects.module.scss";
|
||||||
|
|
||||||
|
function ProjectMedia({ name }) {
|
||||||
|
return <div className={styles.media} role="img" aria-label={`${name}: genuine project screenshot pending`}>
|
||||||
|
<FiImage aria-hidden="true" /><span>{name}</span><small>Genuine project screenshot pending</small>
|
||||||
|
</div>;
|
||||||
|
}
|
||||||
|
ProjectMedia.propTypes = { name: PropTypes.string.isRequired };
|
||||||
|
|
||||||
|
function Technologies({ items }) {
|
||||||
|
return <ul className={styles.technologies} aria-label="Technologies">{items.map(item => <li key={item}>{item}</li>)}</ul>;
|
||||||
|
}
|
||||||
|
Technologies.propTypes = { items: PropTypes.arrayOf(PropTypes.string).isRequired };
|
||||||
|
|
||||||
|
function ContactInvitation() {
|
||||||
|
return <section className={styles.contact} aria-labelledby="projects-contact-heading">
|
||||||
|
<h2 id="projects-contact-heading">Have a project in mind?</h2>
|
||||||
|
<p>Let’s discuss your ideas and turn them into a practical solution.</p>
|
||||||
|
<Link to="/contact" className="btn btn-primary"><FiMessageCircle aria-hidden="true" /> Discuss a Project</Link>
|
||||||
|
</section>;
|
||||||
|
}
|
||||||
|
|
||||||
|
export default function Projects() {
|
||||||
|
const [featured, ...others] = projects;
|
||||||
|
return <div className={styles.page}><Container>
|
||||||
|
<section className={styles.hero} aria-labelledby="projects-heading">
|
||||||
|
<div><p className={styles.eyebrow}>Projects <span aria-hidden="true" /></p><h1 id="projects-heading">Projects</h1>
|
||||||
|
<p className={styles.intro}>A selection of software projects, from focused applications to more substantial systems in development.</p></div>
|
||||||
|
<div className={styles.layers} aria-hidden="true"><i /><i /><i /></div>
|
||||||
|
</section>
|
||||||
|
<section aria-labelledby="featured-heading">
|
||||||
|
<h2 className={styles.sectionTitle} id="featured-heading">Featured project <span aria-hidden="true" /></h2>
|
||||||
|
<Row className={`align-items-center ${styles.featured}`}>
|
||||||
|
<Col md={7}><ProjectMedia name={featured.name} /></Col>
|
||||||
|
<Col md={5}><p className={styles.category}>{featured.category}</p><h3>{featured.name}</h3><p>{featured.summary}</p>
|
||||||
|
<div className={styles.actions}><Link className={styles.caseLink} to={`/projects/${featured.slug}`}>View case study <FiArrowRight aria-hidden="true" /></Link>
|
||||||
|
<a className={styles.caseLink} href={featured.website}>Visit RouletteBuddy <FiExternalLink aria-hidden="true" /></a></div>
|
||||||
|
<Technologies items={featured.technologies} /></Col>
|
||||||
|
</Row>
|
||||||
|
</section>
|
||||||
|
<section className={styles.otherProjects} aria-labelledby="other-heading">
|
||||||
|
<h2 className={styles.sectionTitle} id="other-heading">Other projects <span aria-hidden="true" /></h2>
|
||||||
|
<Row className="gy-5">{others.map(project => <Col md={6} key={project.slug}>
|
||||||
|
<article aria-labelledby={`${project.slug}-heading`}>
|
||||||
|
<ProjectMedia name={project.name} /><p className={styles.status}>{project.status}</p>
|
||||||
|
<h3 id={`${project.slug}-heading`}>{project.name}</h3><p>{project.summary}</p>
|
||||||
|
<Technologies items={project.technologies} />
|
||||||
|
<Link className={styles.caseLink} to={`/projects/${project.slug}`}>Explore {project.name} <FiArrowRight aria-hidden="true" /></Link>
|
||||||
|
</article>
|
||||||
|
</Col>)}</Row>
|
||||||
|
</section>
|
||||||
|
<ContactInvitation />
|
||||||
|
</Container></div>;
|
||||||
|
}
|
||||||
|
|
||||||
|
export function ProjectCaseStudy() {
|
||||||
|
const { slug } = useParams();
|
||||||
|
const project = projects.find(item => item.slug === slug);
|
||||||
|
if (!project) return <Container className={styles.unavailable}>
|
||||||
|
<PageMeta title="Project not found" noIndex /><h1>Project not found</h1><p>This case study is not available.</p><Link to="/projects">Back to Projects</Link>
|
||||||
|
</Container>;
|
||||||
|
return <div className={styles.page}><PageMeta title={project.name} description={project.summary} /><Container>
|
||||||
|
<header className={styles.caseHeader}>
|
||||||
|
<Link className={styles.caseLink} to="/projects"><FiArrowLeft aria-hidden="true" /> All projects</Link>
|
||||||
|
<p className={styles.status}>{project.status}</p><h1>{project.name}</h1><p className={styles.intro}>{project.summary}</p>
|
||||||
|
<Technologies items={project.technologies} />
|
||||||
|
{project.website && <a className={styles.caseLink} href={project.website}>Visit {project.name} <FiExternalLink aria-hidden="true" /></a>}
|
||||||
|
</header>
|
||||||
|
<ProjectMedia name={project.name} />
|
||||||
|
<div className={styles.caseBody}>
|
||||||
|
<section><h2>The problem</h2><p>{project.problem}</p></section>
|
||||||
|
<section><h2>The solution</h2><p>{project.solution}</p></section>
|
||||||
|
<section><h2>Main features</h2><ul>{project.features.map(feature => <li key={feature}>{feature}</li>)}</ul></section>
|
||||||
|
<section><h2>Engineering</h2><p>{project.engineering}</p></section>
|
||||||
|
<section><h2>Work to date</h2><p>{project.outcome}</p></section>
|
||||||
|
</div>
|
||||||
|
<ContactInvitation />
|
||||||
|
</Container></div>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
.page {
|
||||||
|
background: radial-gradient(ellipse at 85% 10%, var(--site-glow), transparent 30%);
|
||||||
|
:global(.container) { width: calc(100% - 104px); max-width: 1280px; padding-inline: 0; }
|
||||||
|
h1 { font-size: clamp(42px, 6vw, 64px); margin-bottom: 18px; }
|
||||||
|
h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 18px; }
|
||||||
|
p { color: var(--site-text); }
|
||||||
|
}
|
||||||
|
.hero { display: grid; grid-template-columns: 2fr 1fr; align-items: center; min-height: 250px; padding-block: 44px; gap: 32px; }
|
||||||
|
.eyebrow, .sectionTitle { display: flex; align-items: center; gap: 22px; color: var(--site-link) !important; text-transform: uppercase; font-size: 16px; letter-spacing: .13em; font-weight: 600; span { height: 1px; flex: 1; background: linear-gradient(90deg, var(--bs-steel-blue), transparent); } }
|
||||||
|
.eyebrow { max-width: 330px; }
|
||||||
|
.intro { font-size: 20px; line-height: 1.6; max-width: 760px; }
|
||||||
|
.layers { position: relative; height: 190px; i { position: absolute; width: 155px; height: 155px; border: 1px solid var(--site-link); border-radius: 7px; transform: rotateX(58deg) rotateZ(45deg); left: calc(50% - 78px); top: -10px; background: var(--site-glow); &:nth-child(2) { top: 32px; } &:nth-child(3) { top: 74px; } } }
|
||||||
|
.sectionTitle { margin: 0 0 30px; }
|
||||||
|
.featured { --bs-gutter-x: 42px; p { font-size: 18px; line-height: 1.7; } }
|
||||||
|
.media { aspect-ratio: 1.65; width: 100%; padding: 24px; border: 1px dashed var(--site-line); border-radius: 15px; background: radial-gradient(ellipse at center, var(--site-glow), transparent 75%), var(--site-surface); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; text-align: center; color: var(--site-muted); svg { color: var(--site-link); width: 34px; height: 34px; } span { font-size: 22px; font-weight: 600; } small { font-size: 13px; } }
|
||||||
|
.category, .status { font-size: 13px !important; color: var(--site-link) !important; margin-bottom: 12px; }
|
||||||
|
.status { margin-top: 22px; font-weight: 600; }
|
||||||
|
.caseLink { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; font-weight: 600; text-decoration: none; }
|
||||||
|
.actions { display: flex; flex-wrap: wrap; column-gap: 24px; }
|
||||||
|
.technologies { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; margin: 20px 0; li { border: 1px solid var(--site-line); border-radius: 30px; padding: 3px 14px; color: var(--site-muted); font-size: 13px; } }
|
||||||
|
.otherProjects { margin-top: 64px; margin-bottom: 54px; :global(.row) { --bs-gutter-x: 42px; } h3 { font-size: 28px; } article > p:not(.status) { font-size: 16px; line-height: 1.8; } }
|
||||||
|
.contact { margin: 40px -18px 30px; padding: 32px 24px; text-align: center; border: 1px solid var(--site-line); border-radius: 15px; background: radial-gradient(ellipse at top right, var(--site-glow), transparent 70%), var(--site-surface); h2 { font-size: clamp(27px, 4vw, 38px); } p { margin: 18px 0 26px; } a { min-height: 52px; display: inline-flex; gap: 12px; align-items: center; justify-content: center; padding-inline: 24px; } }
|
||||||
|
.caseHeader { padding-block: 35px; h1 { overflow-wrap: anywhere; } }
|
||||||
|
.caseBody { max-width: 800px; margin: 45px auto; section { margin-block: 34px; } h2 { font-size: 28px; margin-bottom: 16px; } li { margin-block: 10px; } }
|
||||||
|
.unavailable { padding-block: 80px; }
|
||||||
|
@media (max-width: 991.98px) { .page :global(.container) { width: calc(100% - 64px); } .hero { gap: 20px; } .intro { font-size: 17px; } .featured { --bs-gutter-x: 28px; p { font-size: 16px; } } }
|
||||||
|
@media (max-width: 767.98px) {
|
||||||
|
.page :global(.container) { width: calc(100% - 40px); }
|
||||||
|
.hero { grid-template-columns: 1fr; padding-block: 32px; gap: 0; }
|
||||||
|
.layers { height: 150px; margin-top: 10px; i { width: 120px; height: 120px; left: calc(50% - 60px); } }
|
||||||
|
.intro { font-size: 16px; }
|
||||||
|
.eyebrow, .sectionTitle { font-size: 13px; gap: 15px; }
|
||||||
|
.featured { --bs-gutter-x: 24px; --bs-gutter-y: 26px; }
|
||||||
|
.otherProjects { margin-block: 36px; :global(.row) { --bs-gutter-x: 24px; } }
|
||||||
|
.contact { margin-inline: 0; padding-inline: 16px; a { font-size: 14px; } }
|
||||||
|
.media { padding: 18px; small { font-size: 12px; } }
|
||||||
|
.caseBody h2 { font-size: 24px; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,39 @@
|
|||||||
|
import { render, screen, within } from "@testing-library/react";
|
||||||
|
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||||
|
import App from "../../App";
|
||||||
|
|
||||||
|
afterEach(() => { window.history.replaceState({}, "", "/"); vi.unstubAllGlobals(); });
|
||||||
|
function open(path) { window.history.replaceState({}, "", path); return render(<App />); }
|
||||||
|
|
||||||
|
describe("Projects", () => {
|
||||||
|
it("presents the approved hierarchy, honest status and genuine-media gaps without account requests", () => {
|
||||||
|
const fetch = vi.fn(); vi.stubGlobal("fetch", fetch);
|
||||||
|
open("/projects");
|
||||||
|
expect(screen.getByRole("heading", { level: 1, name: "Projects" })).toBeInTheDocument();
|
||||||
|
expect(screen.getByText("In development")).toBeInTheDocument();
|
||||||
|
expect(screen.getByText("Small showcase project")).toBeInTheDocument();
|
||||||
|
expect(screen.getAllByText("Genuine project screenshot pending")).toHaveLength(3);
|
||||||
|
expect(screen.getByRole("link", { name: "View case study" })).toHaveAttribute("href", "/projects/roulettebuddy");
|
||||||
|
expect(screen.getByRole("link", { name: "Explore PitchInvader" })).toHaveAttribute("href", "/projects/pitchinvader");
|
||||||
|
expect(screen.getByRole("link", { name: "Visit RouletteBuddy" })).toHaveAttribute("href", "https://roulettebuddy.app/");
|
||||||
|
expect(fetch).not.toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
it.each([["roulettebuddy", "RouletteBuddy"], ["pitchinvader", "PitchInvader"], ["api-admin", "API Admin"]])("loads %s directly with factual sections and navigation", (slug, name) => {
|
||||||
|
open(`/projects/${slug}`);
|
||||||
|
expect(screen.getByRole("heading", { level: 1, name })).toBeInTheDocument();
|
||||||
|
for (const section of ["The problem", "The solution", "Main features", "Engineering", "Work to date"]) expect(screen.getByRole("heading", { name: section })).toBeInTheDocument();
|
||||||
|
expect(screen.getByRole("link", { name: "All projects" })).toHaveAttribute("href", "/projects");
|
||||||
|
expect(screen.getByRole("link", { name: "Discuss a Project" })).toHaveAttribute("href", "/contact");
|
||||||
|
expect(document.title).toContain(name);
|
||||||
|
expect(document.querySelector('meta[name="robots"]')).toHaveAttribute("content", "index, follow");
|
||||||
|
if (slug === "roulettebuddy") expect(screen.getByRole("link", { name: "Visit RouletteBuddy" })).toHaveAttribute("href", "https://roulettebuddy.app/");
|
||||||
|
else expect(screen.queryByRole("link", { name: /^Visit / })).not.toBeInTheDocument();
|
||||||
|
if (slug === "api-admin") expect(within(screen.getByRole("list", { name: "Technologies" })).getByText("SQLite")).toBeInTheDocument();
|
||||||
|
});
|
||||||
|
it("keeps unavailable slugs noindex with a recovery link", () => {
|
||||||
|
open("/projects/not-approved");
|
||||||
|
expect(screen.getByRole("heading", { name: "Project not found" })).toBeInTheDocument();
|
||||||
|
expect(document.querySelector('meta[name="robots"]')).toHaveAttribute("content", "noindex, nofollow");
|
||||||
|
expect(screen.getByRole("link", { name: "Back to Projects" })).toHaveAttribute("href", "/projects");
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
// Public summaries verified against the local project repositories; see docs/BS-006-DESIGN.md.
|
||||||
|
export const projects = [
|
||||||
|
{
|
||||||
|
slug: "roulettebuddy", website: "https://roulettebuddy.app/", name: "RouletteBuddy", category: "Strategy analysis", status: "Featured project",
|
||||||
|
summary: "A roulette-strategy analysis application for building rules, testing individual strategies and comparing simulation results.",
|
||||||
|
technologies: ["React", "Flask", "MySQL", "Docker"],
|
||||||
|
problem: "Comparing betting strategies requires more than a single result. Rules, stakes and simulated outcomes need to be inspectable together.",
|
||||||
|
solution: "RouletteBuddy combines a strategy-building workflow with individual tests and multi-strategy simulations, making the configured rules and their results available in one application.",
|
||||||
|
features: ["Create, edit and clone strategies with starting bets and conditional rules.", "Inspect spin-by-spin results from an individual strategy test.", "Compare aggregated outcomes across selected strategies."],
|
||||||
|
engineering: "A React interface connects to Flask strategy and simulation endpoints. Saved strategies and account data use SQLAlchemy and MySQL; Docker Compose defines the application services.",
|
||||||
|
outcome: "The repository implements strategy creation, testing and comparative simulation. Simulated results describe those runs; they do not predict future outcomes or guarantee a profit.",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
slug: "pitchinvader", name: "PitchInvader", category: "Football team software", status: "In development",
|
||||||
|
summary: "A substantial football application bringing team management, match entry, formations and player-performance analysis together. Development is ongoing.",
|
||||||
|
technologies: ["React", "Flask", "SQLAlchemy"],
|
||||||
|
problem: "Football match records connect players, lineups, substitutions and events. Turning those records into useful performance information requires consistent data and a workflow coaches can follow.",
|
||||||
|
solution: "PitchInvader provides team and player management alongside staged match entry and reusable formation templates. Its development includes player-rating and statistics workflows, with presentation and further work still in progress.",
|
||||||
|
features: ["Manage teams and players within an authenticated application.", "Create reusable position-based formation templates and assign match lineups.", "Record match results, events and substitutions through dedicated match workflows."],
|
||||||
|
engineering: "The React client and Flask API handle connected team, match and player records. Formation validation, match-state transitions and versioned scoring rules are significant parts of the engineering work.",
|
||||||
|
outcome: "Substantial application workflows are implemented, while the product remains in development. This case study describes the work to date, not a finished release or measured customer outcome.",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
slug: "api-admin", name: "API Admin", category: "Authentication showcase", status: "Small showcase project",
|
||||||
|
summary: "A focused application demonstrating account login, device records and time-limited API keys. A deliberately small example of frontend and backend integration.",
|
||||||
|
technologies: ["React", "Flask", "SQLite"],
|
||||||
|
problem: "An API-key workflow needs a way to associate keys with a user’s devices and check them when a protected endpoint is called.",
|
||||||
|
solution: "API Admin demonstrates that flow with account login, user-owned device records and a key-protected test endpoint. It remains a separate application from this website.",
|
||||||
|
features: ["Register and log in to an account.", "View and create user-owned device records with generated, expiring keys.", "Call a protected test endpoint using a device API key."],
|
||||||
|
engineering: "A React/Vite client connects to Flask endpoints. SQLAlchemy stores users and devices in SQLite. The scope is a simple demonstration rather than a full API-management platform.",
|
||||||
|
outcome: "The repository contains the login and device-key demonstration. No production-readiness, uptime or security certification is claimed.",
|
||||||
|
},
|
||||||
|
];
|
||||||