feat(document): 서류관리 화면 신규 설계 및 구현 (/documents)#66
Merged
Conversation
Figma(PWF)에 없는 화면이라 WorkListPage/WorkerListPage 패턴(헤드라인+설명, 탭 필터, 검색, useAsyncDemoData 기반 loading/empty/error)을 따라 새로 설계했다. 탭(전체/미제출/확인 대기/확인 완료), 근로자·서류종류·상태 뱃지·제출일 행, 사이드바 "서류" 메뉴를 추가한다. Closes #55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
개요
사이드바에 "서류" 메뉴가 없고
/documents는 플레이스홀더 상태였다. Figma(PWF)에 해당 화면이 없어 WORK-001(WorkListPage)/PEOPLE-001(WorkerListPage)의 스타일·패턴을 그대로 따라 신규 설계했다.변경 사항
DocumentListPage.tsx/.module.css/documentListData.ts신규: 헤드라인+설명, 탭 필터(전체/미제출/확인 대기/확인 완료), 검색, 근로자명·서류종류·상태(StatusLabel)·제출일·"확인하기" 행 리스트useAsyncDemoData기반 loading/empty/error 상태 처리 ([UX] 로딩·빈 데이터·에러 상태 처리 (EmptyState 적용) #44 패턴)navItems.ts: 사이드바에 "서류" 메뉴 추가 (근로자·설정 사이)routes.tsx:/documents를 PlaceholderPage 대신DocumentListPage로 연결DocumentListPage.test.tsx: 탭/검색/상태 필터링, loading/error 상태 테스트완료 조건
/documents화면 구현, 사이드바 네비게이션에 "서류" 항목 추가검증
npm run lintnpm run test(전체 76개 통과)npm run buildCloses #55