Skip to content

[FEAT] 최근 포커스한 순으로 조회 API 구현#275

Merged
kimdanha merged 1 commit into
develop-demofrom
feature/#274-recent-focus-api
May 18, 2026
Merged

[FEAT] 최근 포커스한 순으로 조회 API 구현#275
kimdanha merged 1 commit into
develop-demofrom
feature/#274-recent-focus-api

Conversation

@kimdanha
Copy link
Copy Markdown
Contributor

@kimdanha kimdanha commented May 18, 2026

📄 작업 내용 요약

  • 최근 포커스한 순으로 조회 API 구현

📎 Issue 번호


✅ 작업 목록

  • 기능 구현
  • 코드 리뷰 반영
  • 테스트 코드 작성
  • 문서 업데이트

📝 기타 참고사항

@kimdanha kimdanha self-assigned this May 18, 2026
@kimdanha kimdanha linked an issue May 18, 2026 that may be closed by this pull request
1 task
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@kimdanha has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 41 minutes and 28 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: b0403c7d-19e0-4f77-afa7-dc9cb400551b

📥 Commits

Reviewing files that changed from the base of the PR and between c40fca5 and ce67487.

📒 Files selected for processing (10)
  • src/docs/asciidoc/focus.adoc
  • src/main/java/app/nook/focus/controller/FocusController.java
  • src/main/java/app/nook/focus/converter/FocusConverter.java
  • src/main/java/app/nook/focus/dto/FocusResponseDto.java
  • src/main/java/app/nook/focus/repository/FocusRepositoryCustom.java
  • src/main/java/app/nook/focus/repository/FocusRepositoryImpl.java
  • src/main/java/app/nook/focus/service/FocusQueryService.java
  • src/test/java/app/nook/controller/focus/FocusControllerTest.java
  • src/test/java/app/nook/focus/service/FocusQueryServiceTest.java
  • src/test/java/app/nook/global/fixture/FocusFixture.java
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/#274-recent-focus-api

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.

@JiwonLee42
Copy link
Copy Markdown
Contributor

Overall Project 66.95% -0.76% 🍏
Files changed 51.4%

File Coverage
FocusQueryService.java 100% 🍏
FocusController.java 100% 🍏
FocusConverter.java 96.79% 🍏
FocusRepositoryImpl.java 24.7% -17.19%

@kimdanha kimdanha merged commit 84174c6 into develop-demo May 18, 2026
5 checks passed

public record RecentFocusItem(
Long focusId,
Long libraryId,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

서재 id가 응답에 필요한 이유가 있을까요?
총 포커스 시간도 문자열로 주어지는데 sec가 필요없을 것 같아요!

);
}

private static String formatDuration(Integer totalSec) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

이거 포맷팅하는 util이 있어서 그거 사용하면 좋을 것 같아요

@UMC-NOOK UMC-NOOK deleted a comment from coderabbitai Bot May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] 최근 포커스한 순으로 조회하는 API 구현

2 participants