Skip to content

feat: 홈, 도서 상세화면 디자인 반영 및 클릭 영역 조정#101

Merged
easyhooon merged 7 commits intodevelopfrom
BOOK-215-feature/#100
Aug 3, 2025
Merged

feat: 홈, 도서 상세화면 디자인 반영 및 클릭 영역 조정#101
easyhooon merged 7 commits intodevelopfrom
BOOK-215-feature/#100

Conversation

@easyhooon
Copy link
Copy Markdown
Contributor

@easyhooon easyhooon commented Aug 3, 2025

🔗 관련 이슈

📙 작업 설명

  • 홈화면 디자인 반영 및 클릭 영역 조정
  • 도서 상세화면 디자인 반영

🧪 테스트 내역 (선택)

  • 주요 기능 정상 동작 확인
  • 브라우저/기기에서 동작 확인
  • 엣지 케이스 테스트 완료
  • 기존 기능 영향 없음

📸 스크린샷 또는 시연 영상 (선택)

기능 미리보기 기능 미리보기
EmptyBookCard BookCard

💬 추가 설명 or 리뷰 포인트 (선택)

  • 도서 상세화면에서는 저번에 제시해주신 방법을 적용했고, API는 이후 연동하도록 하겠습니다
  • 홈 배너 하단으로 캐릭터가 살짝 빠져나와야한다고 하셔서 고렇게 보이도록 만들었습니다.
  • 홈 화면에서 현재 발견된 이슈로 BookCard에서 Border가 살짝 문제가 있는듯합니다.
image

(사진 이미지가 화질 구지인것은 cover 프로퍼티를 제거해서 그렇고, 이후 서버에서 default로 Big 설정해주신다고 합니다.)
사진과 같이 모서리 부분만 border 색상이 더 진하게 나타나는 문제가 있어, 뭔가 스크래치 느낌도 나고 이부분 확인이 필요해보입니다.

Summary by CodeRabbit

  • 스타일

    • 도서 상세 화면에서 버튼 크기와 배치를 조정하여 가독성과 일관성을 향상시켰습니다.
    • 홈 화면의 책 카드 레이아웃과 간격, 정렬 방식을 개선하여 시각적 구조를 최적화했습니다.
    • 홈 배너 하단에 색상 구분선을 추가하고 배너 이미지의 위치와 여백을 조정했습니다.
    • 도서관 화면의 정렬 및 배치 기본값을 변경했습니다.
  • 리팩터

    • 홈 화면에서 상태바 색상 처리 로직의 위치를 조정하여 코드 구조를 개선했습니다.
  • 기능 개선

    • 도서 검색 시 검색 대상과 카테고리 기본값이 명확하게 지정되어 검색 동작이 일관되게 변경되었습니다.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Aug 3, 2025

Walkthrough

홈 화면과 도서 상세화면의 디자인이 반영되고, 클릭 영역 및 버튼 레이아웃이 조정되었습니다. 네트워크 서비스의 searchBook 함수 기본 파라미터가 명확하게 지정되었습니다. 여러 컴포넌트의 레이아웃 및 UI 구조가 세분화되고 정렬이 수정되었습니다.

Changes

Cohort / File(s) Change Summary
홈 화면 UI 및 컴포넌트 리팩토링
feature/home/src/main/kotlin/com/ninecraft/booket/feature/home/HomeUi.kt, feature/home/src/main/kotlin/com/ninecraft/booket/feature/home/component/BookCard.kt, feature/home/src/main/kotlin/com/ninecraft/booket/feature/home/component/HomeBanner.kt
홈 화면의 시스템 UI 컨트롤러 적용 위치 변경, BookCard 레이아웃 및 클릭 영역 재구성, HomeBanner의 배경/패딩 구조 및 하단 구분선 추가 등 디자인 및 구조 개선
도서 상세화면 버튼 레이아웃 조정
feature/detail/src/main/kotlin/com/ninecraft/booket/feature/detail/book/BookDetailUi.kt
버튼의 최소 너비 및 weight 값 변경으로 상세화면 내 버튼 레이아웃 조정
라이브러리 UI 정렬 변경
feature/library/src/main/kotlin/com/ninecraft/booket/feature/library/LibraryUi.kt
Column의 정렬 파라미터 제거로 기본 정렬 사용
네트워크 서비스 파라미터 기본값 명확화
core/network/src/main/kotlin/com/ninecraft/booket/core/network/service/ReedService.kt
searchBook 함수의 searchTargetcategoryId 파라미터를 nullable에서 non-nullable 및 명확한 기본값으로 변경

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HomeUi
    participant BookCard
    participant BookDetailUi

    User->>HomeUi: 앱 실행/홈 진입
    HomeUi->>BookCard: 도서 카드 렌더링
    User->>BookCard: 도서 카드 클릭
    BookCard->>BookDetailUi: 도서 상세화면 진입
    User->>BookDetailUi: 버튼 클릭 (읽는 중/독서 기록 추가)
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Assessment against linked issues

Objective Addressed Explanation
홈화면 디자인 반영 및 클릭 영역 조정 (#100)
도서 상세화면 디자인 반영 (#100)

Assessment against linked issues: Out-of-scope changes

(해당 변경사항 중 요구사항과 무관하거나 범위를 벗어난 기능적 코드 변경은 발견되지 않았습니다.)

Possibly related PRs

Poem

🐰
북카드와 배너가 새 옷을 입었네,
버튼도 반듯이 줄을 맞추었지!
클릭 영역 넓어져, 토끼도 신나고,
네트워크 함수도 더 똑똑해졌네.
책 속의 모험, 이제 더 쉽고 예쁘게!

— 귀여운 북잇 토끼 🥕📚

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 3319662 and a7f505f.

📒 Files selected for processing (2)
  • feature/home/src/main/kotlin/com/ninecraft/booket/feature/home/component/BookCard.kt (3 hunks)
  • feature/home/src/main/kotlin/com/ninecraft/booket/feature/home/component/HomeBanner.kt (3 hunks)
🚧 Files skipped from review as they are similar to previous changes (2)
  • feature/home/src/main/kotlin/com/ninecraft/booket/feature/home/component/HomeBanner.kt
  • feature/home/src/main/kotlin/com/ninecraft/booket/feature/home/component/BookCard.kt
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: ci-build
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch BOOK-215-feature/#100

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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@seoyoon513 seoyoon513 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 👍 언급해주신 홈 border 부분은 추가 작업 진행하면서 보도록 하겠습니다!
LGTM~~

@easyhooon easyhooon merged commit c5ae3b2 into develop Aug 3, 2025
4 checks passed
@easyhooon easyhooon deleted the BOOK-215-feature/#100 branch August 3, 2025 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOOK-215/feat] 홈, 도서 상세화면 디자인 반영 및 클릭 영역 조정

2 participants