[work-list] 근로자 배지를 REVIEW-001 단계 라벨로 바꾸고 바로 연결 - #257
Merged
Conversation
#256에서 만든 별도 4단계 nav 대신, 업무함 근로자 목록에서 이미 보이던 상태 배지(외부기관 대기/완료/처리 필요/승인 대기 등)를 요청 확인/정보 보완/초안 작성/최종 검토 라벨로 바꾸고 배지 자체를 클릭하면 바로 해당 화면으로 이동하게 했다. 행을 클릭하면 기존처럼 근로자가 선택되고, 배지를 클릭하면 선택 없이 곧장 이동한다(이벤트 stopPropagation). 같은 라벨 텍스트는 항상 같은 색으로 보이도록 4단계 각각에 고정 tone을 부여했다: 요청 확인=neutral, 정보 보완=warning, 초안 작성=info, 최종 검토=agent. WorkInboxDetail에 있던 별도 4단계 nav 행은 제거.
3 tasks
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.
변경 내용
#256에서 WorkInboxDetail에 별도 4단계 nav 행을 추가했는데, 실제로 원했던 건 업무함 근로자 목록(
_targetOption_..._)에서 이미 보이던 상태 배지(외부기관 대기/완료/처리 필요/승인 대기 등)의 라벨 텍스트 자체를 요청 확인/정보 보완/초안 작성/최종 검토로 바꾸고, 그 배지를 누르면 바로 해당 화면으로 연결되게 하는 것.getReviewStageLink(status)기반으로 라벨·링크 교체 (배지가<Link>가 됨,stopPropagation으로 행 선택과 분리)ReviewStageLink에 고정tone추가검증
npx tsc -bnpm run lintnpx vitest run— 71 files / 351 tests passednpm run build