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
This commit is contained in:
@@ -2783,7 +2783,7 @@ function HumanOnlyByReasonSection({ drilldownData, redFlagConfigs }: { drilldown
|
|||||||
}
|
}
|
||||||
|
|
||||||
// v3.4: Sección de Candidatos Prioritarios - Por queue_skill con drill-down a original_queue_id
|
// v3.4: Sección de Candidatos Prioritarios - Por queue_skill con drill-down a original_queue_id
|
||||||
function PriorityCandidatesSection({ drilldownData }: { drilldownData: DrilldownDataPoint[] }) {
|
function PriorityCandidatesSection({ drilldownData, redFlagConfigs }: { drilldownData: DrilldownDataPoint[]; redFlagConfigs: RedFlagConfig[] }) {
|
||||||
const [expandedRows, setExpandedRows] = useState<Set<string>>(new Set());
|
const [expandedRows, setExpandedRows] = useState<Set<string>>(new Set());
|
||||||
|
|
||||||
// Filtrar skills que tienen al menos una cola AUTOMATE
|
// Filtrar skills que tienen al menos una cola AUTOMATE
|
||||||
@@ -2907,6 +2907,7 @@ function PriorityCandidatesSection({ drilldownData }: { drilldownData: Drilldown
|
|||||||
idx={idx}
|
idx={idx}
|
||||||
isExpanded={expandedRows.has(dataPoint.skill)}
|
isExpanded={expandedRows.has(dataPoint.skill)}
|
||||||
onToggle={() => toggleRow(dataPoint.skill)}
|
onToggle={() => toggleRow(dataPoint.skill)}
|
||||||
|
redFlagConfigs={redFlagConfigs}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -2937,7 +2938,7 @@ function PriorityCandidatesSection({ drilldownData }: { drilldownData: Drilldown
|
|||||||
}
|
}
|
||||||
|
|
||||||
// v3.6: Sección de Colas HUMAN-ONLY con Red Flags - Contextualizada
|
// v3.6: Sección de Colas HUMAN-ONLY con Red Flags - Contextualizada
|
||||||
function HumanOnlyRedFlagsSection({ drilldownData }: { drilldownData: DrilldownDataPoint[] }) {
|
function HumanOnlyRedFlagsSection({ drilldownData, redFlagConfigs }: { drilldownData: DrilldownDataPoint[]; redFlagConfigs: RedFlagConfig[] }) {
|
||||||
const [showTable, setShowTable] = useState(false);
|
const [showTable, setShowTable] = useState(false);
|
||||||
|
|
||||||
// Extraer todas las colas
|
// Extraer todas las colas
|
||||||
|
|||||||
Reference in New Issue
Block a user