- Removed third duplicate table object at line 1243 that was overwriting the main one
- Main table object (line 960) contains all 28 required keys including clickToExpand and clickToExpandReason
- Duplicate only had 18 keys and was causing these specific translation keys to display literally
- Fixes 'agenticReadiness.table.clickToExpand' and 'agenticReadiness.table.clickToExpandReason' showing as codes
https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
- Removed duplicate summary object at line 1263 that was overwriting the main one
- Main summary object (line 990) contains all 9 required keys including interpretation and interpretationText
- Duplicate only had 4 keys and was causing translation keys to be displayed literally
- This fixes the issue where users saw codes like 'agenticReadiness.summary.interpretation' instead of translated text
https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
- Update default lng from 'es' to 'en'
- Update fallbackLng from 'es' to 'en'
- Application will now display in English by default
- Users can still switch to Spanish via language selector
https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
- Translate Quick Wins insights ("have >60% volume in T1+T2")
- Translate attention alerts ("has X% in HUMAN → prioritize in Wave 1")
- Translate balanced distribution message
- Translate "have at least one tier AUTOMATE queue"
- Translate "Show less" / "View all" buttons
- Add t parameter to SkillsReadinessTable component
- All AgenticReadinessTab text now 100% bilingual (en/es)
https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
- Translate "interacciones" and "colas analizadas" in summary footer
- Translate "Click en un skill para ver el detalle" in table footer
- Update red flag actions to use translation keys
- Add translation keys for:
- Skills with Red Flags section title
- Queues requiring intervention description
- View Roadmap tab links
- Update getActionForFlag function to use i18n keys
- All AgenticReadinessTab content now fully bilingual (en/es)
https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
- Add 40+ new translation keys for all remaining Spanish text
- Update TIER_CONFIG to use translation keys for labels and descriptions
- Translate dynamically generated whyPrioritized and nextSteps content
- Convert all hardcoded Spanish strings to i18n translation calls
- Fix malformed t() call on line 402
- Add proper translations for error messages, buttons, and methodology
All OpportunityPrioritizer content is now fully bilingual (en/es)
https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
The AgenticReadinessHeader component was failing with 'TypeError: t is not a function'
because the translation function was not being passed as a prop when the component
was instantiated on line 3724.
This fixes the blank screen error in the AgenticReadiness tab.
Fixes the root cause identified via debugger:
- Component expects t as prop (line 1408)
- Component call was missing t={t} (line 3724-3728)
https://claude.ai/code/session_c61d4539-cc2e-4386-8191-ec167cef65a5
Removed .replace('/', '') calls on translation strings that could cause
runtime errors if t() returns unexpected values. Now displays perMonth
translation as-is.
This fixes the 'o is not a function' error in production build.
https://claude.ai/code/session_03272424-c661-4002-a75e-2f81579fdd6e
Added useEffect hook with event listener to close the methodology panel
when user clicks outside of it. This provides better UX by allowing users
to close the panel by clicking anywhere outside, not just the header.
Changes:
- Added componentRef using useRef to track the component DOM element
- Added useEffect with mousedown event listener
- Wrapped Card component in div with ref
- Event listener automatically cleans up when panel closes or component unmounts
https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg