Repository navigation
fix: 결정 일기 캘린더가 오늘 날짜를 선택한 상태로 시작한다 - #251
Merged
Merged
Conversation
캘린더 탭에 들어가면 selectedDate 가 undefined 라 상세 영역이 비어 있었고, 날짜를 한 번 눌러야 내용이 보였다. 들어가자마자 오늘 기록이 보이도록 초기값을 오늘로 둔다. 월을 넘기면 선택이 풀리는 기존 동작은 그대로 둔다. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
gaeunee2
requested review from
bini0918,
haewonwon and
whghdus
as code owners
September 19, 2026 14:35
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Repository: Team-BRIFO/BRIFO-front/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
📌 관련 이슈
🏷️ PR 타입
🖥 관련 화면
SCR-08결정 일기 (캘린더)📝 작업 내용
DiaryPage의selectedDate초기값을 오늘 날짜로 둔다. 기존에는undefined라 캘린더 탭에 들어가도 상세 영역이 비어 있었고, 날짜를 한 번 눌러야 내용이 보였다.onChangeMonth에서setSelectedDate(undefined))은 그대로 둔다.viewMonth초기값이 이미new Date()기준이라 같은 기준을 쓰도록toDateKey로 맞췄고, 서버에서 이미 5개만 오므로 별도 가공은 없다.✅ 체크리스트
공통
pnpm lint/pnpm typecheck를 통과했습니다{이슈종류}/{이슈번호}-{기능명})@/alias를 사용했습니다 (상대경로../../없음)components/common·domain·feature역할 구분)UI / 스타일 변경 시
max-w-md컨테이너)으로 확인했고, 데스크탑에서도 깨지지 않습니다📎 기타 참고사항
DiaryCalendar는selectedDate가 있으면DiaryDateDetail을 렌더하므로, 오늘 기록이 없는 날에는 상세 영역의 빈 상태가 그대로 보입니다. 날짜를 다시 누르면 선택이 해제되는 토글 동작도 그대로입니다.🤖 Generated with Claude Code