Skip to content

fix(quality): tour title/element alignment and capability pluralization#594

Merged
roballred merged 1 commit into
mainfrom
fix/tour-titles-and-pluralization
May 20, 2026
Merged

fix(quality): tour title/element alignment and capability pluralization#594
roballred merged 1 commit into
mainfrom
fix/tour-titles-and-pluralization

Conversation

@roballred
Copy link
Copy Markdown
Owner

Summary

Two surface-level quality bugs surfaced by the Early-Maturity EA Practice Lead persona walk (#586). Both ride on stakeholder-facing surfaces (Architecture Vision report, Executive Summary, in-product tour) and undercut the credibility of the first-deliverable demo path.

1. Tour step misalignment — Steps 9-11 anchored to the wrong nav elements:

Step Was → element Was → title Now → element
9 nav-strategy "Decisions" nav-adrs
10 nav-roadmap "Strategy" nav-strategy
11 nav-reports "Roadmap" nav-roadmap

Each step now has element + title + description aligned. (No tour length change; the rationale for not adding a separate "Reports" step is that the Reports section already gets its own visual treatment in the nav and the tour's purpose is orientation rather than enumeration.)

2. Pluralization — three call sites built the plural form as capability${n !== 1 ? 'ies' : 'y'} → "capabilityies" for any n ≠ 1, because the base string already ends in "y". Replaced with explicit ${n === 1 ? 'capability' : 'capabilities'} in:

  • reports/architecture-vision/page.tsx (Strategic Drivers panel + Gaps line)
  • executive/page.tsx (Architecture Gaps callout)
  • reports/heatmap/page.tsx (Unsupported callout — found while sweeping)

Test plan

  • /reports/architecture-vision shows "3 capabilities linked" / "2 capabilities linked" (was "capabilityies")
  • /executive shows "4 capabilities without supporting technology" (was "capabilityies")
  • Source diff confirms tour element/title pairs aligned in product-tour.tsx
  • grep -rE "\? 'ies' :" in apps/govea/src returns no remaining buggy template literals

Capability: fd-traceability-views; fd-portfolio-views
Closes #588

🤖 Generated with Claude Code

Two surface-level quality bugs surfaced by the Early-Maturity EA
Practice Lead persona walk (#586):

1. product-tour.tsx — steps 9, 10, 11 had titles anchored to the wrong
   nav elements. The Strategy nav group was showing a "Decisions"
   popover, the Roadmap nav item was showing "Strategy", and the
   Reports nav group was showing "Roadmap". Re-anchored each step to
   the nav element whose label matches its title and description:
   nav-adrs → "Decisions", nav-strategy → "Strategy",
   nav-roadmap → "Roadmap".

2. Pluralization — three call sites built the plural form as
   `capability${n !== 1 ? 'ies' : 'y'}`, which produces "capabilityies"
   for any plural count because the base string already ends in "y".
   Replaced with explicit `${n === 1 ? 'capability' : 'capabilities'}`
   in:
     - reports/architecture-vision/page.tsx (Strategic Drivers, Gaps)
     - executive/page.tsx (Architecture Gaps callout)
     - reports/heatmap/page.tsx (Unsupported callout)

Both bugs were visible on every stakeholder-facing demo surface for
the persona — Architecture Vision report, Executive Summary, the
in-product tour. Browser-verified the pluralization fix on
/reports/architecture-vision and /executive (no remaining
"capabilityies" matches). Tour fix verified by source diff (driver.js
is hard to drive programmatically across many steps).

Capability: fd-traceability-views; fd-portfolio-views
Closes #588
@roballred roballred merged commit ce33042 into main May 20, 2026
6 checks passed
@roballred roballred deleted the fix/tour-titles-and-pluralization branch May 20, 2026 02:55
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.

fix(quality): tour step titles misaligned with elements; "capabilityies" pluralization typo in summary reports

1 participant