Files
wace_rps/docs/ycshin-node/CTI[체크]-카테고리-깊이구분.md
T
syc0123 65026f14e4 docs: Add documentation for category dropdown depth separation
- Introduced new documents detailing the implementation of visual separation for three-level category dropdowns.
- Updated the `flattenTree` function in both `V2Select.tsx` and `UnifiedSelect.tsx` to use Non-Breaking Space (`\u00A0`) for indentation, ensuring proper visual hierarchy.
- Included a checklist to track the implementation progress and verification of the changes.
- Documented the rationale behind the changes, including the issues with HTML whitespace collapsing and the decisions made to enhance user experience.

These updates aim to improve the clarity and usability of the category selection interface in the application.
2026-03-11 15:53:01 +09:00

1.9 KiB

[체크리스트] 카테고리 드롭다운 - 3단계 깊이 구분 표시

관련 문서: 계획서 | 맥락노트


공정 상태

  • 전체 진행률: 100% (완료)
  • 현재 단계: 전체 완료

구현 체크리스트

1단계: 코드 수정

  • V2Select.tsx 904행 — flattenTree prefix를 \u00A0 기반으로 변경
  • UnifiedSelect.tsx 632행 — 동일한 flattenTree prefix 변경

2단계: 검증

  • depth 1 항목: 3칸 들여쓰기 + 표시 확인
  • depth 2 항목: 6칸 들여쓰기 + 표시, depth 1과 명확히 구분됨 확인
  • depth 0 항목: 들여쓰기 없이 원래대로 표시 확인
  • 항목 선택 후 값이 정상 저장되는지 확인 (valueCode 기준)
  • 기존 prefix strip 로직 정상 동작 확인 — JS \s\u00A0 포함하므로 호환
  • 검색 가능 모드(Combobox): 정상 동작 확인
  • 비검색 모드(Select): 렌더링 정상 확인

3단계: 정리

  • 린트 에러 없음 확인 (기존 에러 제외)
  • 계맥체 문서 최신화

참고: 최고 관리자 계정 표시 이슈

  • 최고 관리자(company_code = "*")로 리스트 조회 시 CAT_MMLL6U02_QH2V 같은 코드값이 그대로 노출되는 현상 발견
  • 원인: CategoryValueManagerTree.tsxgenerateCode()CAT_ 접두사를 사용하나, 리스트 해석 로직은 CATEGORY_ 접두사만 인식
  • 일반 회사 계정에서는 정상 표시됨을 확인
  • 본 작업 범위 외로 판단하여 별도 이슈로 분리

변경 이력

날짜 내용
2026-03-11 계획서, 맥락노트, 체크리스트 작성
2026-03-11 1단계 코드 수정 완료 (V2Select.tsx, UnifiedSelect.tsx)
2026-03-11 2단계 검증 완료, 3단계 문서 정리 완료