Rename Therapy Compass display label to "Therapy"#737
Conversation
Renames the user-visible label of the therapy decision-support mode from "Therapy Compass" to "Therapy" across the surfaces where it is shown: the in-tool top header, the left sidebar entry, the browser/page title, the mode config label and its search status/aria labels, the printed patient sheet header, and the placeholder-screen copy. Internal ids, routes, file names, and the dev-only mockup are left unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GwN5gzEEiTUoUrGmoUoakq
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThe therapy-compass mode’s user-facing name changes from “Therapy Compass” to “Therapy” across configuration, metadata, sidebar and navigation labels, screen text, accessibility text, and sitemap documentation. Search behavior and routing remain unchanged. ChangesTherapy naming alignment
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
- Reflow the other-screen paragraph with Prettier after the "Therapy Compass" -> "Therapy" copy change (Static PR checks / format:check). - Regenerate docs/site-map.md so the tracked sitemap matches the mode label, now "Therapy mode" (Unit coverage / tests/site-map.test.ts). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GwN5gzEEiTUoUrGmoUoakq
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Summary
src/components/therapy-compass/nav.tsx) + itsaria-label("Therapy sections").src/components/clinical-dashboard/ClinicalSidebar.tsx).submitIdle/Busy/AriaLabel, andstatusLabel(src/lib/app-modes.ts).src/app/therapy-compass/page.tsx).src/components/therapy-compass/screens/sheets-screen.tsx).src/components/therapy-compass/screens/other-screen.tsx).docs/site-map.mdso the tracked sitemap matches the new mode label./therapy-compass), file/folder names, and the dev-only/mockups/therapy-compasspage — these keep the existing name so wiring and deep links are unaffected.Verification
npm run verify:pr-localnpm run verify:uiwhen UI, routing, styling, browser behavior, reduced-motion, or forced-colors behavior changednpm run verify:releasebefore release or handoff confidence claimsRan locally:
npx vitest run tests/app-modes.test.ts tests/therapy-compass-mode-wiring.test.ts tests/therapy-compass-pathways.test.ts→ 28/28 passed. No test asserts on the display label; all use thetherapy-compassid, which is unchanged.npm run sitemap:updateto regeneratedocs/site-map.md;tests/site-map.test.ts→ 5/5 passed.npm run typecheck→ only pre-existing, unrelated errors (test files missing@testing-library/react/@axe-core/playwrighttype deps and implicit-any params); none in the files touched here.Verification not run:
verify:pr-local— change is display-string/copy only (no routing, styling, layout, or behavior change), so the broader PR-local gate adds no signal beyond the targeted suites above.UI verification not run: display-copy/label-only change with no styling, layout, routing, reduced-motion, or forced-colors change; the Chromium UI a11y specs also cannot run in this environment because
@axe-core/playwrightis not installed.Risk and rollout
Clinical Governance Preflight
This change is a display-label/copy rename only; it does not alter ingestion, answer generation, search/ranking, source rendering, document access, privacy, production environment, or clinical output. Each governance property below is preserved:
Clinical KB Database(sjrfecxgysukkwxsowpy)Notes
🤖 Generated with Claude Code
https://claude.ai/code/session_01GwN5gzEEiTUoUrGmoUoakq
Summary by CodeRabbit