Skip to content

Comments

refactor: 뽀모도로 총 집중 시간 초단위로 변경(#61)#63

Merged
hisonghy merged 1 commit intodevelopfrom
refactor/61
Aug 16, 2025
Merged

refactor: 뽀모도로 총 집중 시간 초단위로 변경(#61)#63
hisonghy merged 1 commit intodevelopfrom
refactor/61

Conversation

@hisonghy
Copy link
Contributor

@hisonghy hisonghy commented Aug 16, 2025

📌 작업 내용 및 특이사항

✅ Pomodoro 총 집중 시간 초단위로 변경

  • 요구사항에 따라 Pomodoro 생성 혹은 조회 시 집중 시간은 분단위로, StudyLog 생성 혹은 조회 시 총 집중 시간은 초단위를 반영했습니다.
  • 요구사항에 따라 CreateStudyLogRequest DTO에서 총 집중 시간 요청 시 분 -> 초단위로 수정했습니다.
  • 이에 따라 관련된 PomodoroService.updateTotalFocusTime() 메서드도 리팩토링했습니다.

✅ 테스트 코드

  • PomodoroService 단위 테스트의 totalFocusTimeInMinute -> totalFocusTimeInSeconds로 변경했습니다.

🌱 관련 이슈


🔍 참고사항(선택)


📚 기타(선택)

* refactor: CreateStudyLogRequest 총 집중 시간 필드 초단위로 변경
* refactor: PomodoroService.updateTotalFocusTime() 메서드 리팩토링

* test: PomodoroService 단위 테스트 총 학습시간 업데이트 테스트 리팩토링
@hisonghy hisonghy self-assigned this Aug 16, 2025
@hisonghy hisonghy added the 🪄refactor 기능 개선 및 리팩토링 label Aug 16, 2025
Copy link
Contributor

@chaiminwoo0223 chaiminwoo0223 left a comment

Choose a reason for hiding this comment

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

집중시간을 다르게 구성하여, 요구사항이 잘 반영된 것 같습니다. 고생하셨습니다. 머지 부탁드려요!

@hisonghy hisonghy merged commit f7f6bad into develop Aug 16, 2025
2 checks passed
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.

🪄[REFACTOR]: 뽀모도로 총 집중 시간 단위를 초 단위로 리팩토링

2 participants