kcg-ai-monitoring/frontend/src/features
htlee da4dc86e90 refactor(frontend): 인라인 버튼/하드코딩 색상 전수 제거
Phase C-2 (인라인 <button>):
- TabBar/TabButton 공통 컴포넌트 신규 (underline/pill/segmented 3종)
- DataHub: 메인 탭 → TabBar + TabButton 전환, 필터 pill 전환,
  CTA 버튼 (작업 등록/스토리지 관리/새로고침) → Button variant
- PermissionsPanel: 역할 생성/저장 → Button variant, icon 버튼 유지
- Python 일괄 치환: 51개 inline <button>에 type="button" 추가
- 남은 <button> type 누락 0건 (multi-line 포함)

Phase C-3 (하드코딩 색상):
- AdminPanel SERVER_STATUS 뱃지: getStatusIntent() 사용으로 통일
- bg-X-500/20 text-X-400 패턴 0건

Phase C-4 (인라인 style):
- LiveMapView BaseMap minHeight → className="min-h-[400px]"
- 나머지 89건 style={{}}은 모두 dynamic value
  (progress width, toggle left, 데이터 기반 color 등)로 정당함

4개 catalog (eventStatuses/enforcementResults/enforcementActions/
patrolStatuses)에 intent 필드 추가, statusIntent.ts 공통 유틸 신규.
이제 모든 Badge가 쇼케이스 팔레트 자동 적용됨.

빌드 검증:
- tsc , eslint , vite build 
- 남은 위반 지표: Badge className 0, button-type-missing 0, 하드코딩 색상 0
2026-04-08 12:36:07 +09:00
..
admin refactor(frontend): 인라인 버튼/하드코딩 색상 전수 제거 2026-04-08 12:36:07 +09:00
ai-operations refactor(frontend): 인라인 버튼/하드코딩 색상 전수 제거 2026-04-08 12:36:07 +09:00
auth feat(frontend): 40+ 페이지 Badge/시맨틱 토큰 마이그레이션 2026-04-08 10:53:58 +09:00
dashboard refactor(frontend): Badge className 위반 37건 전수 제거 2026-04-08 12:28:23 +09:00
detection refactor(frontend): 인라인 버튼/하드코딩 색상 전수 제거 2026-04-08 12:36:07 +09:00
enforcement refactor(frontend): Badge className 위반 37건 전수 제거 2026-04-08 12:28:23 +09:00
field-ops refactor(frontend): Badge className 위반 37건 전수 제거 2026-04-08 12:28:23 +09:00
monitoring refactor(frontend): Badge className 위반 37건 전수 제거 2026-04-08 12:28:23 +09:00
parent-inference refactor(frontend): Badge className 위반 37건 전수 제거 2026-04-08 12:28:23 +09:00
patrol refactor(frontend): Badge className 위반 37건 전수 제거 2026-04-08 12:28:23 +09:00
risk-assessment refactor(frontend): 인라인 버튼/하드코딩 색상 전수 제거 2026-04-08 12:36:07 +09:00
statistics refactor(frontend): 인라인 버튼/하드코딩 색상 전수 제거 2026-04-08 12:36:07 +09:00
surveillance refactor(frontend): 인라인 버튼/하드코딩 색상 전수 제거 2026-04-08 12:36:07 +09:00
vessel refactor(frontend): 인라인 버튼/하드코딩 색상 전수 제거 2026-04-08 12:36:07 +09:00