Commit Graph

7 Commits

Author SHA1 Message Date
Claude
7659abd405 fix: add click-outside functionality to AgenticMethodologyIntro modal
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
2026-02-07 18:50:30 +00:00
Claude
76a93e0dd0 fix: add redFlagConfigs prop to remaining components in AgenticReadinessTab
Added redFlagConfigs prop to components that were missing it:
- HumanOnlyRedFlagsSection: Added redFlagConfigs prop
- PriorityCandidatesSection: Added redFlagConfigs prop and passed to ExpandableSkillRow

These components are not currently used in the main component but need
the prop in case they are enabled in the future.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 18:27:18 +00:00
Claude
627504586f fix: pass redFlagConfigs as prop to child components in AgenticReadinessTab
Fixed "ReferenceError: redFlagConfigs is not defined" by passing redFlagConfigs
as a prop to components that need it:
- TierQueueSection: Added redFlagConfigs prop and passed from parent
- ExpandableSkillRow: Added redFlagConfigs prop
- HumanOnlyByReasonSection: Added redFlagConfigs prop and passed from parent

These components are defined before the main AgenticReadinessTab component
so they don't have direct access to redFlagConfigs defined in the parent scope.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 18:16:26 +00:00
Claude
00f766913b Fix AgenticReadinessTab runtime error: add missing useTranslation hook
Fixed "TypeError: a is not iterable" error by:
- Adding useTranslation() hook at component top
- Initializing redFlagConfigs with getRedFlagConfigs(t)
- Updating all detectRedFlags() calls to pass redFlagConfigs parameter
- Replacing RED_FLAG_CONFIGS references with redFlagConfigs variable

The translation agent had converted RED_FLAG_CONFIGS from a constant to a
function but didn't update all call sites, causing runtime failures.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 18:04:01 +00:00
Claude
76ed597e47 feat: translate AgenticReadinessTab and add translation infrastructure
Translate AgenticReadinessTab from Spanish to English with i18next support:
- Replaced ~150 hardcoded Spanish strings with translation keys
- Added comprehensive translation keys to en.json and es.json
- Organized translations under agenticReadiness.* namespace
- Includes: methodology, tier explanations, factor descriptions, UI labels

Translation structure:
- agenticReadiness.methodology: Index definition and categories
- agenticReadiness.tiers: AUTOMATE, ASSIST, AUGMENT, HUMAN-ONLY
- agenticReadiness.factors: Predictability, simplicity, volume, ROI
- agenticReadiness.redFlags: CV, transfer, volume, data quality
- agenticReadiness.table: Headers, filters, sorting
- agenticReadiness.summary: Volume metrics and interpretations

All UI strings now support EN/ES language switching.
Frontend compiles successfully with no errors.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 17:31:40 +00:00
Claude
b991824c04 refactor: translate agenticReadiness module from Spanish to English
Complete English translation of the Agentic Readiness scoring module across
frontend and backend codebases to improve code maintainability and international
collaboration.

Frontend changes:
- agenticReadinessV2.ts: Translated all algorithm functions, subfactor names,
  and descriptions to English (repeatability, predictability, structuring,
  inverseComplexity, stability, ROI)
- AgenticReadinessTab.tsx: Translated RED_FLAG_CONFIGS labels and descriptions
- locales/en.json & es.json: Added new translation keys for subfactors with
  both English and Spanish versions

Backend changes:
- agentic_score.py: Translated all docstrings, comments, and reason codes
  from Spanish to English while maintaining API compatibility

All changes tested with successful frontend build compilation (no errors).

https://claude.ai/code/session_check-agent-readiness-status-Exnpc
2026-02-07 09:49:15 +00:00
sujucu70
1bb0765766 Initial commit - ACME demo version 2026-02-04 11:08:21 +01:00