별도 pop-status-bar 컴포넌트 배치/연결 없이 카드 상단에 MES 고정 상태 탭(전체/대기/접수가능/진행/완료)을 내장한다. [내장 상태 탭 UI] - MES_STATUS_TABS 상수: waiting/acceptable/in_progress/completed 고정 - 카드 그리드 상단에 pill 형태 탭 렌더링 - 상태별 카운트 + "전체"는 클론 제외 originalCount 표시 - showStatusTabs && hasProcessFlow 조건부 표시 [자체 카운트/필터] - statusCounts useMemo: filteredRows 기준 VIRTUAL_SUB_STATUS 집계 - statusFilteredRows useMemo: 선택 탭으로 내부 필터 - displayCards/hasMoreCards/totalPages가 statusFilteredRows 기준으로 동작 - 탭 전환 시 currentPage=1 리셋 [외부 status-bar 하위 호환] - effectiveExternalFilters: showStatusTabs일 때 _source="status-bar" 필터 무시 (내장 탭으로 대체, 충돌 방지) - all_rows 이벤트 발행 유지 (기존 pop-status-bar 연결 안 깨짐) - rowsForStatusCount: showStatusTabs일 때 filteredRows 직접 반환 [설정 패널] - 고급 설정에 "상태 탭 내장" Switch 토글 추가 - showStatusTabs?: boolean 타입 추가 (기본 false) |
||
|---|---|---|
| .. | ||
| pop-card-list | ||
| pop-card-list-v2 | ||
| pop-dashboard | ||
| pop-field | ||
| pop-search | ||
| pop-shared | ||
| pop-status-bar | ||
| pop-string-list | ||
| pop-work-detail | ||
| index.ts | ||
| pop-button.tsx | ||
| pop-icon.tsx | ||
| pop-profile.tsx | ||
| pop-scanner.tsx | ||
| pop-text.tsx | ||
| types.ts | ||