Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] 리마인드 관련 API 개발 #26

Merged
merged 12 commits into from
Jan 9, 2024
Merged

[Feature] 리마인드 관련 API 개발 #26

merged 12 commits into from
Jan 9, 2024

Conversation

mmihye
Copy link
Member

@mmihye mmihye commented Jan 9, 2024

🚩 관련 이슈

📋 구현 기능 명세

  • 타이머 제목 수정
  • 타이머 페이지 조회
  • 타이머 조회(특정 한개)
  • 타이머 삭제
  • 타이머 생성
  • 타이머 시간 날짜 수정

📌 PR Point

  • 무슨 이유로 어떻게 코드를 변경했는지
    타이머의 리마인드 요일을 Mon, Tue 글자로 구분하는 형태에서 1->월요일, 2->화요일 ... 숫자로 구분하는 것으로 바꿨습니다!
    숫자로 구분하는것이 현재날짜와 비교하기도 편하고 매번 문자열을 바꿔서 비교하기도 불편하여서....

  • 어떤 부분에 리뷰어가 집중해야 하는지
    TimerService 클래스 내에 타이머 메인페이지 조회하는 getTimerPage()안에 코드 깔끔하게 하려고했는데 괜찮은지....

  • 개발하면서 어떤 점이 궁금했는지

📸 결과물 스크린샷

  • 타이머 생성
스크린샷 2024-01-09 오후 3 57 52
  • 타이머 조회
스크린샷 2024-01-09 오후 3 58 37
  • 타이머 시간 날짜 수정
스크린샷 2024-01-09 오후 3 59 36
  • 타이머 제목코멘트 수정
스크린샷 2024-01-09 오후 4 01 21
  • 타이머 페이지 조회
스크린샷 2024-01-09 오후 4 01 59
  • 타이머 삭제
스크린샷 2024-01-09 오후 4 05 07

🛠️ 테스트

  • 테스트

🚀 API Endpoint

  • [POST] baseurl/timer
  • [GET] baseurl/timer/{timerId}
  • [DELETE] baseurl/timer/{timerId}
  • [PATCH] baseurl/timer/datetime/{timerId}
  • [PATCH] baseurl/timer/comment/{timerId}
  • [GET] baseurl/timer/main

@mmihye mmihye requested a review from sss4920 January 9, 2024 07:05
@mmihye mmihye self-assigned this Jan 9, 2024
@mmihye mmihye changed the base branch from develop to test January 9, 2024 07:06
Copy link
Contributor

@sss4920 sss4920 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다..! 충돌만 해결하고 푸시알림만 성공하면 순조롭겠네용! ☺️

import jakarta.persistence.Converter;
import java.util.ArrayList;

@Converter
Copy link
Contributor

Choose a reason for hiding this comment

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

converter라는 어노테이션을 써본적없었는데 이렇게 활용할 수 있군용..! ☺️ 덕분에 저도 많이 배웁니다 ㅎㅎ.

.collect(Collectors.toList());

List<WaitingTimerDto> waitingTimerList = reminders.stream()
.filter(reminder -> !isCompletedTimer(reminder))
Copy link
Contributor

Choose a reason for hiding this comment

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

오 필터까지 깔끔하게 적용한 것 같네용!! 좋습니당! ☺️

@mmihye mmihye merged commit d14ff27 into test Jan 9, 2024
@mmihye mmihye deleted the feature/#23 branch January 19, 2024 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] 타이머(리마인드 관련)API 개발
2 participants