Skip to content

[fix] 근무자 리스트 캘린더 UI 수정#47

Merged
limtjdghks merged 1 commit into
devfrom
fix/ALT-245
Jun 6, 2026
Merged

[fix] 근무자 리스트 캘린더 UI 수정#47
limtjdghks merged 1 commit into
devfrom
fix/ALT-245

Conversation

@limtjdghks
Copy link
Copy Markdown
Member

@limtjdghks limtjdghks commented Jun 6, 2026

ID

  • ALT-245

변경 내용

  • 근무자 리스트에서 사용하는 스케줄 컴포넌트의 각 셀의 게이지를 현재 인원수에 맞게 채워지도록 수정하였습니다

구현 사항

  • 기존 코드의 MIN_SECTORS를 4에서 1로 수정하였습니다

구현 시연 (필요 시)

SCR-20260606-imnh

Summary by CodeRabbit

릴리스 노트

  • 개선 사항
    • 작업자 일정 게이지 표시 방식 조정

@limtjdghks limtjdghks requested review from dohy-eon and kim3360 June 6, 2026 00:13
@limtjdghks limtjdghks self-assigned this Jun 6, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
alter-client Ready Ready Preview, Comment Jun 6, 2026 12:13am

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 6, 2026

Ready to act? Review this PR in Change Stack to turn feedback into patch suggestions you can inspect and refine.

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9166cc76-1cb1-45a2-9a32-9af1eceb0852

📥 Commits

Reviewing files that changed from the base of the PR and between 5204ddb and 6c9b865.

📒 Files selected for processing (1)
  • src/features/manager/worker-list/ui/WorkerScheduleGauge.tsx

📝 Walkthrough

Walkthrough

WorkerScheduleGauge 컴포넌트의 MIN_SECTORS 상수값을 4에서 1로 변경하여 워커 색상 배열이 짧을 때 렌더링되는 원형 게이지 섹터의 최소 개수를 감소시킴.

Changes

게이지 최소값 조정

Layer / File(s) Summary
MIN_SECTORS 상수값 변경
src/features/manager/worker-list/ui/WorkerScheduleGauge.tsx
MIN_SECTORS를 4에서 1로 감소시켜 workerColors 배열이 짧을 때 렌더링되는 게이지 섹터 개수를 줄임. 이전에는 최소 4개 섹터를 보장했으나 이제 최소 1개만 렌더링됨.

⚠️ 핵심 검토 사항

렌더링 시각적 영향도 검증 필요:

  • MIN_SECTORS 감소로 인해 workerColors 배열이 1~3개일 때 게이지 시각화가 어떻게 변경되는지 확인 필수
  • 게이지 너비/레이아웃이 축소되면서 UI 레이아웃 깨짐이나 접근성 문제 없는지 검증
  • 특히 모바일·반응형 뷰에서 1개 섹터만 표시될 때 의도한 모습인지 확인

보유한 워커 데이터 시나리오:

  • 통상적인 워커 개수 분포를 고려했는지 (워커 1~3명일 때 자주 발생하는가?)
  • 빈 상태나 워커 0명일 때 동작 확인

사용처 영향범위:

  • 이 컴포넌트가 여러 화면에서 사용되는데 모든 곳에서 의도한 동작인지 확인

🎯 Review Effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Suggested Reviewers

  • kim3360
  • dohy-eon
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목이 변경 내용과 관련이 있으나, 실제 변경사항(MIN_SECTORS 4→1)의 구체적 이유를 명확히 드러내지 않음.
Description check ✅ Passed 필수 섹션(ID, 변경내용, 구현사항)이 모두 작성되었으며, 실제 코드 변경과 시연 이미지가 포함되어 있음.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/ALT-245

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Member

@dohy-eon dohy-eon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

레전드레전드pr

@limtjdghks limtjdghks merged commit 9e2677b into dev Jun 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants