Conversation
스터디 시작일이 오늘 이전이거나 같은 경우 신청 버튼을 비활성화하고 '모집 마감' 텍스트를 표시하도록 처리 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthrough학습 시작 날짜와 현재 날짜를 비교하여 모집 마감 여부를 판단하는 데드라인 체크 로직을 추가했습니다. 이를 통해 마감 기한이 지난 경우 신청 버튼을 비활성화하고 버튼 텍스트를 "모집 마감"으로 표시합니다. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Tip Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord. Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
src/components/summary/study-info-summary.tsx (1)
239-246:⚠️ Potential issue | 🟡 Minor비로그인 상태에서도 ‘모집 마감’이 반영되어야 합니다.
현재는 마감이어도 “신청하기”가 노출되고 로그인으로 이동됩니다. 마감 시 비활성화 + 텍스트 변경이 필요합니다.🔧 제안 수정
<Button size="large" color="primary" className="h-600" onClick={handleApplyClick} + disabled={isDeadlinePassed} > - 신청하기 + {isDeadlinePassed ? '모집 마감' : '신청하기'} </Button>
🌱 연관된 이슈
☘️ 작업 내용
스터디 시작일이 오늘 이전이거나 같은 경우 신청 버튼을 비활성화하고
'모집 마감' 텍스트를 표시하도록 처리
🍀 참고사항
스크린샷 (선택)
Summary by CodeRabbit
릴리스 노트