Commit Graph

73 Commits

Author SHA1 Message Date
Guillermo
9e01d9d2fb test 2026-02-12 11:43:27 +00:00
Guillermo
3532f4f621 adaptations 2026-02-12 11:32:38 +00:00
Guillermo
9effa23d3b Bug fixes 2026-02-12 11:19:18 +00:00
Guillermo
6a8ffe5da8 Actualizado Domain y subdomain 2026-02-12 09:19:56 +00:00
Guillermo
df12fe5339 Change domain_base in traefik labels 2026-02-12 09:12:29 +00:00
Guillermo
4fc681b2c4 cambiado el path de instalacion, eliminado el nginx y con labels de traefik 2026-02-10 18:39:21 +00:00
sujucu70
9c779eccb4 Merge pull request #23 from sujucu70/claude/check-agent-readiness-status-Exnpc
fix: remove duplicate 'table' object causing clickToExpand translatio…
2026-02-08 16:27:34 +01:00
Claude
d634a38670 fix: remove duplicate 'table' object causing clickToExpand translation keys to fail
- 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
2026-02-08 15:26:16 +00:00
sujucu70
7be286e2c9 Merge pull request #22 from sujucu70/claude/check-agent-readiness-status-Exnpc
fix: remove duplicate 'summary' object in agenticReadiness causing tr…
2026-02-08 16:10:42 +01:00
Claude
dbdf791d7b fix: remove duplicate 'summary' object in agenticReadiness causing translation keys to fail
- 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
2026-02-08 15:07:47 +00:00
sujucu70
39806559d7 Merge pull request #21 from sujucu70/claude/check-agent-readiness-status-Exnpc
fix: change default language from Spanish to English
2026-02-08 15:54:15 +01:00
Claude
524b3d89b3 fix: change default language from Spanish to English
- 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
2026-02-08 14:52:37 +00:00
sujucu70
b3c4724100 Merge pull request #20 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-08 15:43:12 +01:00
Claude
0ac6249087 feat: translate final remaining Spanish text in AgenticReadinessTab
- 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
2026-02-08 14:41:56 +00:00
Claude
4f9d1d50cb feat: translate additional AgenticReadinessTab sections
- Add roadmapConnection translation namespace (20+ keys)
- Translate Quick Wins section (IMMEDIATE QUICK WINS)
- Translate Wave 1-3 Foundation section
- Translate "Click on reason to see affected queues" footer
- Update RoadmapConnectionSection to use i18n keys
- All calculations, metrics, and descriptions now bilingual

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-08 14:38:43 +00:00
sujucu70
a250559509 Merge pull request #19 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-08 15:28:27 +01:00
Claude
8599ffba73 feat: translate remaining Spanish text in AgenticReadinessTab
- 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
2026-02-08 14:25:19 +00:00
Claude
3a6652fdce feat: complete OpportunityPrioritizer translation to English
- 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
2026-02-08 14:22:00 +00:00
sujucu70
0e29d998c9 Merge pull request #18 from sujucu70/claude/check-agent-readiness-status-Exnpc
feat: translate OpportunityPrioritizer component to English
2026-02-08 14:06:05 +01:00
Claude
38df9d6071 feat: translate OpportunityPrioritizer component to English
Complete Spanish-to-English translation of the OpportunityPrioritizer component:

Translation Keys Added (en.json & es.json):
- opportunityPrioritizer.title: Prioritized Opportunities
- opportunityPrioritizer.subtitle: Initiative count with context
- opportunityPrioritizer.totalSavingsIdentified: Total Savings
- opportunityPrioritizer.quickWins/assistance/optimization: Tier labels
- opportunityPrioritizer.startHere: START HERE badge
- opportunityPrioritizer.priority1: Priority #1
- opportunityPrioritizer.nextSteps: Next Steps
- opportunityPrioritizer.annualSavings/volume/timeline/months
- opportunityPrioritizer.allOpportunities: Section title
- opportunityPrioritizer.valueEffort: Value / Effort
- opportunityPrioritizer.methodology: Methodology note
- opportunityPrioritizer.tierLabels.{automate,assist,augment}
- opportunityPrioritizer.timelines.{automate,assist,augment}

Component Changes (OpportunityPrioritizer.tsx):
- Added useTranslation import and hook usage
- Replaced all hardcoded Spanish strings with t() calls
- Dynamic translation of tier labels and timelines
- Proper i18n for month ranges (inMonths with interpolation)

This completes the translation of all visible Spanish text in the
Roadmap tab's opportunity prioritization section.

https://claude.ai/code/session_c61d4539-cc2e-4386-8191-ec167cef65a5
2026-02-08 12:29:08 +00:00
sujucu70
57239e86a2 Merge pull request #17 from sujucu70/claude/check-agent-readiness-status-Exnpc
fix: pass translation function t as prop to AgenticReadinessHeader
2026-02-08 12:57:42 +01:00
Claude
3eca28e182 fix: pass translation function t as prop to AgenticReadinessHeader
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
2026-02-08 11:55:45 +00:00
sujucu70
5dcd605168 Merge pull request #16 from sujucu70/claude/check-agent-readiness-status-Exnpc
fix: translate all remaining Spanish text in RoadmapTab
2026-02-08 12:18:44 +01:00
Claude
2f128b0dae fix: translate all remaining Spanish text in RoadmapTab
Complete translation of financial metrics section and scenario comparison:
- Recurrente/año → t('roadmap.table.recurringPerYear')
- Iniciativas: → t('roadmap.table.initiativesLabel')
- Setup:/Rec:/KPI: → t('roadmap.table.setup/rec/kpi')
-  Criterios de éxito: → t('roadmap.table.successCriteriaLabel')
- ⚠️ Condición: → t('roadmap.table.condition')
- Proveedor: → t('roadmap.table.provider')
- Habilitador → t('roadmap.comparison.enabler')
- Recomendado → t('roadmap.comparison.recommended')
- Prerrequisito → t('roadmap.comparison.prerequisite')
- /año → t('agenticReadiness.table.perYear')
- /mes → t('agenticReadiness.table.perMonth')
- ajust. → t('roadmap.comparison.adjusted')
- Translated Payback/ROI/Enabler notes

All text in RoadmapTab is now fully translated to English.

https://claude.ai/code/session_c61d4539-cc2e-4386-8191-ec167cef65a5
2026-02-08 11:03:37 +00:00
sujucu70
556a3f3d11 Merge pull request #15 from sujucu70/claude/check-agent-readiness-status-Exnpc
fix: translate remaining Spanish text in RoadmapTab priority queues s…
2026-02-08 11:54:45 +01:00
Claude
d83789d8a2 fix: translate remaining Spanish text in RoadmapTab priority queues section
- Add translation keys for ENTRADA/SALIDA labels
- Add translation keys for Tier:/Score: labels
- Replace hardcoded Spanish strings with t() calls:
  * "ENTRADA" → t('roadmap.table.entry')
  * "SALIDA" → t('roadmap.table.exit')
  * "Tier:" → t('roadmap.table.tierLabel')
  * "Score:" → t('roadmap.table.scoreLabel')
  * "Top Colas por Volumen × Impacto" → t('roadmap.table.topQueuesByVolumeImpact')
  * Red Flags note → t('roadmap.table.redFlagsNote')
  * "Skills" → t('roadmap.table.skills')

All content under "Oportunidades Priorizadas" section now fully translated.

https://claude.ai/code/session_c61d4539-cc2e-4386-8191-ec167cef65a5
2026-02-08 10:53:02 +00:00
sujucu70
3f77897a4c Merge pull request #14 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-08 11:39:07 +01:00
Claude
98f42bfac6 fix: remove unsafe .replace() calls in AgenticReadinessTab
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
2026-02-08 10:23:45 +00:00
Claude
08a9ecb099 fix: translate remaining Spanish text in RoadmapTab
Fixed untranslated text in:
- Dual Strategy explanation paragraph (used dangerouslySetInnerHTML for HTML content)
- Priority queues table headers (Top Queues, Queue, Vol/month, Red Flags, Potential)

Added translation keys:
- roadmap.dualStrategy.explanation (EN/ES)
- Using existing roadmap.table.* keys for headers

Build verified successfully

https://claude.ai/code/session_03272424-c661-4002-a75e-2f81579fdd6e
2026-02-08 10:18:18 +00:00
sujucu70
d7fd852bec Merge pull request #13 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-08 00:36:05 +01:00
Claude
cce483c5b1 fix: complete Spanish-to-English translation for RoadmapTab
Added missing translation keys for visible UI elements:
- Investment Scenarios section (title, subtitle, tooltip)
- Table headers (Scenario, Investment, Recurring, Savings, Margin, Payback, ROI, Risk)
- Risk labels (Low, Medium, High)
- Wave card labels (Savings/year, Margin/year, Savings:)
- Timeline badges (Conditional, risk indicators)
- Tooltips (enabler wave, negative margin, projected ROI, adjusted ROI)

Build verified successfully

https://claude.ai/code/session_03272424-c661-4002-a75e-2f81579fdd6e
2026-02-07 21:23:40 +00:00
Claude
b4cd8933c2 feat: complete Spanish-to-English translation for AgenticReadinessTab
Added remaining translation keys and updated all hardcoded Spanish strings:
- Added new translation keys to en.json and es.json (emptyStates, sections subsections)
- Updated table headers (skill classification, tier sections, queue details)
- Converted TIER_SECTION_CONFIG to getTierSectionConfig(t) function
- Updated TierQueueSection and HumanOnlyByReasonSection components to use translations
- Translated section titles, summary text, and inline labels
- Build verified successfully

https://claude.ai/code/session_03272424-c661-4002-a75e-2f81579fdd6e
2026-02-07 21:18:31 +00:00
sujucu70
c7580f60ef Merge pull request #12 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-07 22:04:41 +01:00
Claude
33dbb27b0c feat: partial translation of AgenticReadinessTab (phase 1)
Translated initial ~86 strings in AgenticReadinessTab:
- Converted FACTOR_CONFIGS to getFactorConfigs(t) function
- Updated getTierStyle() to accept t parameter
- Updated ScoreBreakdownTooltip component with translations
- Translated AgenticMethodologyIntro component completely
- Added click-outside functionality to methodology modal

New translation keys added to agenticReadiness section:
- methodology.* (title, subtitle, definition, factors, categories)
- factorConfigs.* (detailed factor descriptions)
- scoreBreakdown.* (factor labels)
- tiers.* (tier action labels)

Remaining work in progress: ~264 strings being translated by background agent

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 19:49:17 +00:00
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
sujucu70
69fce1dc28 Merge pull request #11 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-07 19:43:53 +01:00
Claude
bafd8e3f61 feat: complete translation of remaining Spanish strings in Law10Tab and RoadmapTab
Law10Tab changes:
- Fixed 3 Spanish time unit abbreviations (año→yr, mes→mo)
- Changed "65K/año" to "65K/yr" (line 1444)
- Changed "35K + 8K/mes" to "35K + 8K/mo" (line 1448)
- Changed "12-18K/año" to "12-18K/yr" (line 1452)

RoadmapTab changes (41 strings translated):
- Translated DECISION_GATES object (18 keys) - converted to getDecisionGates(t) function
- Translated timeline title and description (2 keys)
- Translated all payback tooltip texts (5 keys)
- Translated wave descriptions and recommendations (12 keys)
- Translated scenario comparison texts (4 keys)
- Added useTranslation() hook to RoadmapTimeline component
- Updated recommendation generation to use t() with interpolation

Translation keys added:
- roadmap.payback.* (5 new keys)
- roadmap.decisionGates.* (12 keys)
- roadmap.timeline.* (2 keys)
- roadmap.specificRecommendations.* (12 keys)
- roadmap.scenarios.* (3 keys)
- roadmap.wave2Description.* (2 keys)

All components now fully support Spanish-English translation switching.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 18:40:10 +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
sujucu70
20bcf94137 Merge pull request #10 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-07 19:18:18 +01: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
d645eda97c feat: translate final sections of Law10Tab (summary table and data maturity)
Completed Spanish-to-English translation of Law10Tab by:
- Translating summary table headers (Requisito, Estado, Score, Gap, Descripción)
- Translating legend labels (Cumple, Parcial, No Cumple, Sin Datos)
- Translating investment section (Coste de no cumplimiento, etc.)
- Translating DataMaturitySummary title and sections
- Translating all data items (Cobertura temporal 24/7, etc.)
- Translating investment phases (Fase 1, Fase 2)
- Translating totals section

Added new translation keys:
- law10.summaryTable.* (table headers, legend, investment)
- law10.dataMaturity.* (title, sections, items, investment phases)

All Law10Tab sections now fully support English translation.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 18:12:01 +00:00
sujucu70
dc93b6d9e0 Merge pull request #9 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-07 19:07:46 +01:00
Claude
496da958c2 Fix RoadmapTab runtime error: pass t parameter to helper functions
Fixed "ReferenceError: t is not defined" error by:
- Adding t parameter to calcularPaybackCompleto() function
- Adding t parameter to formatearPaybackResult() function
- Updating all call sites to pass t from useTranslation() hook

Helper functions defined outside React components cannot directly
access the t() function from useTranslation() hook. They must receive
it as a parameter from the component.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 18:05:47 +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
sujucu70
75ddb23000 Merge pull request #8 from sujucu70/claude/check-agent-readiness-status-Exnpc
feat: complete RoadmapTab Spanish-to-English translation
2026-02-07 18:58:20 +01:00
Claude
0b778557d3 feat: complete RoadmapTab Spanish-to-English translation
Translate all remaining ~30 hardcoded Spanish strings in RoadmapTab:
- Wave 1-4 iniciativas: nombres and KPIs now use t('roadmap.initiatives.*')
- Wave 1-4 criteriosExito: success criteria use t('roadmap.successCriteriaTemplates.*')
- Wave 1-4 porQueNecesario: descriptions use t('roadmap.porQueNecesarioTemplates.*')
- Skills fallback values: use t('roadmap.fallbackSkills.*')

All translation keys properly interpolate dynamic values (counts, volumes, percentages).
RoadmapTab now uses 137+ translation keys for complete EN/ES language support.
Frontend compiles successfully with no errors.

Translation coverage:
- Tier labels, payback messages, wave metadata
- Initiatives, success criteria, decision gates
- Investment scenarios, timeline, comparison tables
- Entry/exit criteria, recommendations

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 17:55:17 +00:00
sujucu70
badbc82478 Merge pull request #7 from sujucu70/claude/check-agent-readiness-status-Exnpc
Claude/check agent readiness status exnpc
2026-02-07 18:47:20 +01: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
a3a645008c fix: Law10Tab runtime error - add missing translation function parameter
Fixed critical bug causing Law10Tab to crash with "TypeError: a is not a function".
The getStatusLabel() function was being called without the required 't' parameter
on line 1244, causing a runtime error when rendering the compliance summary table.

Error: Uncaught TypeError: a is not a function at tr (index-yIapr3VZ.js:544:35927)
Fix: Changed getStatusLabel(req.result.status) to getStatusLabel(req.result.status, t)

Law10Tab now loads correctly without errors.

https://claude.ai/code/session_01GNbnkFoESkRcnPr3bLCYDg
2026-02-07 17:29:06 +00:00
sujucu70
bbaf34f507 Merge pull request #6 from sujucu70/claude/check-agent-readiness-status-Exnpc
fix: translate remaining Spanish UI strings and comments to English
2026-02-07 18:07:00 +01:00