BS-003 Apply approved palette and persistent accessible themes

This commit is contained in:
rob
2026-11-10 14:09:56 +00:00
parent ea28637259
commit 2a4ffe1b00
18 changed files with 243 additions and 143 deletions
+2
View File
@@ -25,3 +25,5 @@ BS-001 implementation/manual testing accepted by Captain on 2026-11-10. Captain
ChatGPT ZIP snapshot interface reconciled with PitchInvader: `./scripts/create-chatgpt-snapshot.sh`, no arguments, exports the current checkout to `snapshots/bortstack-chatgpt-DATE-COMMIT.zip`. Available in integration root scripts/ and task scripts/. This is separate from testtask’s internal runtime copy. Root export includes integration-checkout content; run in task worktree to export unmerged BS-001 content. Git, dependencies, task/test worktrees, credentials/environment files, keys and databases excluded.
BS-002 candidate: public routes/navigation now implemented without AuthProvider or public account routes. Unfinished pages are marked/noindex. Lint, 26 unit tests, Vite build, desktop/mobile route/navigation and targeted axe checks passed; 10 inherited npm audit alerts recorded without dependency changes. Separate bs-002 candidate awaiting review; codex remains BS-001.
BS-003 candidate based on BS-002: approved palette, synchronous dark-default/persistent light theme, keyboard toggle and semantic shared shell implemented. Logo is explicit text placeholder. Lint/28 units/build/32 desktop-mobile browser checks passed. No website dependencies added; no backend changes. codex remains BS-001.
+4
View File
@@ -53,3 +53,7 @@ Inherit the established stack, not a public account product. No database by defa
## Reconciliation of visual and handoff discrepancies
The homepage reference controls atmosphere/layout, while written spec requires a single primary hero CTA. Contact reference shows Company and an illustrative email/response promise: use optional Service instead and do not publish unverified details. Generated project imagery and logos are never production assets. The newest mission supersedes CODEX_HANDOFF.md's instruction to proceed into BS-002/003.
## BS-ADR-003 — Theme and placeholder implementation (2026-11-10)
Accepted scope from group engagement: dark is default independent of OS preference; visitor’s `bortstack-theme` preference is applied by a synchronous local script in head before React/styles paint. Theme continues functioning if storage is denied. Brand palette tokens copied unchanged into frontend build input; light semantic utilities are contrast adaptations, not a newly approved palette. Text-only BortStack placeholder explicitly labelled Logo pending until authentic master is supplied. No generated B symbol or project screenshot substituted.
+4 -6
View File
@@ -1,11 +1,9 @@
# BortStack handoff
Replaceable supplementary snapshot, 2026-11-10. BS-001 Complete and merged into codex at 5226596. Captain engaged BS-002–004 as a dependent group; no group merge/push/deploy authorized.
Replaceable supplementary snapshot, 2026-11-10. BS-001 Complete, committed/merged at 5226596. Captain authorized BS-002–004 as a dependent group; local review commits only, no group merge/deploy.
BS-002 branch/worktree: bs-002 at .task-worktrees/bs-002, based on codex. Public route shell replaces mounted account UI/AuthProvider; backend/inherited standalone account components retained. Approved primary links and honest noindex placeholders implemented. Contact submission is not exposed before BS-007. Local commit prepared as prerequisite for BS-003.
BS-003 branch/worktree .task-worktrees/bs-003 is based on BS-002 ea28637. Implements approved palette (tokens copied byte-for-byte), semantic dark/light themes, sync initialization before React, persistence and accessible toggle, responsive shared shell and explicit text-only logo placeholder. No master logo reconstruction or new dependency.
Validation: lint, 26 unit tests, production build passed. Browser checks: 20 route/mobile checks passed, two automated contrast checks caught navbar inheritance; corrected variant and both passed on rerun. No public API session requests. 10 inherited npm audit alerts; no package changes. Backend unchanged, suites not rerun.
Validation: lint, 28 unit tests, Vite production build and 32 desktop/mobile Playwright checks passed: routes/no account requests, mobile nav, skip link, both-theme axe contrast, storage denial, light preference before React, reload/navigation persistence and keyboard control. Inherited lockfile has 10 audit alerts; no package changes. Backend suites not rerun (unchanged).
Next: BS-003 themes/branding, then BS-004 homepage, each isolated from prior task commit. BS-005+ untouched. Master logo and authentic project media missing: use explicitly marked placeholders. Final static SEO/legal/contact content remain later scope.
Manual test from integration root: ./scripts/testtask.sh TASK-002. Isolated Docker runtime and snapshot tooling inherited from BS-001. Captain acceptance still pending.
Manual command from integration root: ./scripts/testtask.sh TASK-003. Next: BS-004 homepage based on this task commit. BS-005+ untouched. Final logo/light-board media and approved featured-project screenshot/details remain missing. Captain review required before merge.
+11
View File
@@ -58,3 +58,14 @@ Validation: frontend unit suite/lint/build; route, mobile and auth-absence brows
Dependencies: BS-001 merged at 5226596. Review base codex; branch bs-002, worktree .task-worktrees/bs-002. Dedicated local task commit forms the base for BS-003; no group merge authorization.
BS-002 validation: ESLint passed; 26 unit tests passed; Vite production build passed; 20 desktop/mobile browser checks passed initially, then both contrast failures were fixed and passed on targeted rerun. No account API requests on public routes. npm audit reported 10 inherited alerts (5 moderate/3 high/2 critical); lockfile unchanged.
## BS-003 — Approved palette and persistent themes
Status: Implementation-ready; Captain review pending. Accepted by Captain’s group engagement on 2026-11-10.
Objective: approved dark-first palette, accessible light option and persistent preference before paint.
Scope: exact copied authoritative brand tokens, semantic theme utilities, sync theme-init before React, keyboard theme control, shared header/footer/type/focus, clearly labelled temporary text logo.
Non-goals: replacement logo geometry, invented light brand approval, homepage composition, later page content, external font/dependency additions.
Acceptance: first visit dark regardless of OS preference; stored light applied before React; toggle persists across reload/navigation; denied/unavailable storage does not break page/control; dark/light text and controls pass practical contrast checks; authentic logo remains pending and not reconstructed.
Validation: lint/unit/build; browser initial-theme/persistence/storage failure; desktop/mobile axe and layout. Based on BS-002 local review commit ea28637; branch bs-003, .task-worktrees/bs-003. Unmerged.
BS-003 validation: lint, 28 unit tests, production build and all 32 desktop/mobile Playwright checks passed, including preference before React, both-theme axe contrast, keyboard toggling, reload/navigation persistence and denied storage. Brand token copy byte-verified. Logo artwork finalization blocked by missing authentic master; approved text placeholder used.