US-021: Create SkillsAllDetail renderer for detail panel

This commit is contained in:
2026-02-14 02:34:26 +00:00
parent bbe17fc66a
commit a5deb0ea8b
2 changed files with 256 additions and 1 deletions
+4 -1
View File
@@ -7,6 +7,7 @@ import type { CardHeaderProps } from './Card'
import { KPIDetail } from './detail/KPIDetail'
import { ConsultationDetail } from './detail/ConsultationDetail'
import { SkillDetail } from './detail/SkillDetail'
import { SkillsAllDetail } from './detail/SkillsAllDetail'
// Width mapping from content type
const widthMap: Record<DetailPanelContent['type'], 'narrow' | 'wide'> = {
@@ -217,12 +218,14 @@ export function DetailPanel() {
)}
{content.type === 'skill' && <SkillDetail skill={content.skill} />}
{content.type === 'skills-all' && <SkillsAllDetail category={content.category} />}
{/* Other content types - placeholder for future stories */}
{content.type !== 'kpi' &&
content.type !== 'consultation' &&
content.type !== 'career-role' &&
content.type !== 'skill' && (
content.type !== 'skill' &&
content.type !== 'skills-all' && (
<div
style={{
fontFamily: 'var(--font-ui)',