Skip to content

#118 feat: 스케줄 배지 메시지 업데이트#119

Merged
suminb99 merged 1 commit into
developfrom
feat/118-schedule-badge-message
May 14, 2026
Merged

#118 feat: 스케줄 배지 메시지 업데이트#119
suminb99 merged 1 commit into
developfrom
feat/118-schedule-badge-message

Conversation

@suminb99

Copy link
Copy Markdown
Contributor

⚙️ Related ISSUE Number

Related #118



📄 Work Description

마감 당일 스케쥴 배지 문구를 '0일 전'에서 '오늘'로 변경



📷 Screenshot



💬 To Reviewers



🔗 Reference

@suminb99 suminb99 linked an issue May 13, 2026 that may be closed by this pull request
2 tasks
@vercel

vercel Bot commented May 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
snow-code-client Ready Ready Preview, Comment May 13, 2026 3:40pm

@suminb99 suminb99 self-assigned this May 13, 2026
@coderabbitai

coderabbitai Bot commented May 13, 2026

Copy link
Copy Markdown

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: 9ecf41d2-ba70-4ff5-94ff-b3724329fee1

📥 Commits

Reviewing files that changed from the base of the PR and between 5810d69 and 72cd356.

📒 Files selected for processing (2)
  • src/pages/dashboard/ui/ScheduleCard.tsx
  • src/shared/ui/badge/Badge.tsx

📝 Walkthrough

Summary by CodeRabbit

변경 사항

  • 개선 사항
    • 일정 카드의 남은 일수 배지 표시가 개선되었습니다. 남은 일수가 0일 때 "오늘"로 표시되고, 그 외에는 숫자 뒤에 "일 전" 형식으로 표시되어 사용자가 일정까지의 남은 시간을 더욱 직관적으로 파악할 수 있습니다.

Walkthrough

ScheduleCard의 남은 일수 배지 표시 로직을 재구성했습니다. Badge 컴포넌트에서 하드코딩된 "일 전" 접미사를 제거하고, ScheduleCard에서 remainingDays 값을 확인하여 "오늘" 또는 "{숫자}일 전" 형식으로 텍스트를 조건부로 구성합니다.

Changes

Schedule badge text formatting

Layer / File(s) Summary
Remaining days display with conditional "오늘" label
src/pages/dashboard/ui/ScheduleCard.tsx, src/shared/ui/badge/Badge.tsx
Badge의 schedule 변형에서 일 전 접미사를 제거하고, ScheduleCard에서 remainingDays === 0일 때 "오늘"을, 그 외에는 ${remainingDays}일 전을 전달하도록 변경했습니다.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목이 주요 변경사항을 명확하게 설명하고 있습니다. 스케줄 배지 메시지 업데이트라는 핵심 내용이 잘 드러나 있습니다.
Description check ✅ Passed PR 설명이 변경사항과 관련이 있습니다. 마감 당일 스케줄 배지 문구를 '0일 전'에서 '오늘'로 변경한다는 내용이 명확하게 작성되어 있습니다.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/118-schedule-badge-message

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.

@suminb99 suminb99 requested a review from JiiminHa May 13, 2026 15:42
@suminb99 suminb99 added the 🛠️ refactor 코드 리팩토링 label May 13, 2026
@suminb99 suminb99 merged commit 05857e3 into develop May 14, 2026
4 checks passed
@suminb99 suminb99 mentioned this pull request May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🛠️ refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: 다크모드 도입 및 임박 마감 배지 UX 개선

1 participant