Skip to content

Feat/coach tips - #71

Merged
PaladinKnightMaster merged 8 commits into
devfrom
feat/coach-tips
Jun 8, 2026
Merged

PaladinKnightMaster merged 8 commits into
devfrom
feat/coach-tips

Conversation

@PaladinKnightMaster

Copy link
Copy Markdown
Owner

Summary

War-room #13 → 🟢. A one-time, accessible "Set the scene" onboarding card that
sets up the user and communicates single-camera expectations before the first
coach session.

  • New CoachTipsCard (role=dialog, focus-trapped, Escape-closes) with premium
    copy: side-on angle, soft lighting, fitted clothing, ~6 ft distance + a
    "single-camera companion, not a clinic" expectation line.
  • One-time via localStorage["carriage.coachTipsSeenV1"]; shown after the safety
    gate; suppressed under the e2e-access bypass so coach.smoke/coach.visual aren't
    blocked; re-viewable via a sidebar "Setup tips" link.
  • Helper unit test + component a11y test (the modal is e2e-suppressed, so the axe
    gate can't cover it).

Test Plan

  • unit 97 passed · a11y 7/7 · coach.smoke pass · lint/build green
  • coach.visual re-baseline at dev→main (sidebar link changed the snapshot)

PaladinKnightMaster and others added 8 commits June 7, 2026 19:16
One-time, premium/wellbeing-voiced tips interstitial before the first coach
session (side-on, lighting, fitted clothing, distance + single-camera
expectations). localStorage-gated, e2e-suppressed, re-viewable. Reuses the
accessible safety-gate dialog pattern.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
a11y gate-gap mitigation (modal is e2e-suppressed so add a component a11y test +
accessible-by-construction), hydration-safe localStorage read in useEffect,
versioned key coachTipsSeenV1, reuse allowLoopbackAutomation, tightened limits copy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
)

5 tasks: gating helper (TDD), accessible CoachTipsCard + component a11y test
(gate-gap safety net), hydration-safe wiring in CoachPage after the safety gate,
sidebar re-view link, verify + tracker to green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Premium one-time onboarding card (single-camera setup + expectations) with the
audited dialog pattern (role=dialog, aria-modal, aria-labelledby, focus trap,
Escape closes). Adds @testing-library/react for the interaction a11y test (the
modal is e2e-suppressed, so the axe gate can't cover it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…essed)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ai-form-coach Ready Ready Preview, Comment Jun 8, 2026 11:08pm

@PaladinKnightMaster
PaladinKnightMaster merged commit 244e038 into dev Jun 8, 2026
4 checks passed
@PaladinKnightMaster
PaladinKnightMaster deleted the feat/coach-tips branch June 9, 2026 12:13

This branch was successfully deployed

1 active deployment
Preview — df0ba72f Deployed Jun 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant