Skip to content

feat : 패널에 소망 나무 추가, 필요없는 기능 주석처리#116

Merged
c5ln merged 2 commits into
developfrom
feat/패널에-소망-나무-추가
Aug 27, 2025

Hidden character warning

The head ref may contain hidden characters: "feat/\ud328\ub110\uc5d0-\uc18c\ub9dd-\ub098\ubb34-\ucd94\uac00"
Merged

feat : 패널에 소망 나무 추가, 필요없는 기능 주석처리#116
c5ln merged 2 commits into
developfrom
feat/패널에-소망-나무-추가

Conversation

@c5ln
Copy link
Copy Markdown
Member

@c5ln c5ln commented Aug 27, 2025

feat : 패널에 소망 나무 추가, 필요없는 기능 주석처리

Summary by CodeRabbit

  • New Features
    • 홈 패널 응답에 위시트리 정보(현재 단계, 보유 포인트, 다음 단계 필요 포인트) 추가
  • Changes
    • 패널 완료 여부 값이 null 가능(Boolean)으로 변경
  • Removals
    • 관리자 일일미션/퀴즈 생성·수정·삭제·옵션 등록 및 사용자 일일미션(패널/조회/완료/사진 업로드) 엔드포인트 비활성화
  • Documentation
    • 패널 조회 API 요약 추가, 퀴즈 API 태그 갱신으로 Swagger 문서 가독성 개선

@c5ln c5ln self-assigned this Aug 27, 2025
@c5ln c5ln linked an issue Aug 27, 2025 that may be closed by this pull request
4 tasks
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Aug 27, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Admin and user daily mission controllers had multiple endpoints disabled by commenting out or removing methods. Home panel endpoint gained an OpenAPI annotation, PannelResponseDTO added nullable booleans and a new WishTreeDto, and HomeService now populates wishTree. RealQuizController’s class-level OpenAPI tag text was updated.

Changes

Cohort / File(s) Summary of Changes
Admin API deactivation
src/main/java/.../admin/presentation/AdminController.java
Commented out/removed endpoints for daily mission create/update, quiz create/delete, and quiz option create; removed related imports. Remaining keyword/user/report/delivery endpoints unchanged.
Home panel: docs and response expansion
src/main/java/.../home/HomeController.java, src/main/java/.../home/PannelResponseDTO.java, src/main/java/.../home/service/HomeService.java
Added @operation to getPannelData; changed three boolean fields to Boolean; introduced WishTreeDto and new field wishTree; HomeService now builds and returns wishTree with placeholder values.
User daily mission API deactivation
src/main/java/.../mission/user_daily_mission/presentation/UserDailyMissionController.java
Replaced active controller with commented code, effectively removing endpoints for panel, daily missions, completion, and photo upload.
Quiz API docs tweak
src/main/java/.../realquiz/presentation/RealQuizController.java
Replaced class-level @tag annotation text (name updated), no runtime behavior changes.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Client
  participant HC as HomeController
  participant HS as HomeService
  note over HC: @Operation("패널 조회 API") (문서화 변경)
  Client->>HC: GET /home/panel
  HC->>HS: getPannelData(user)
  HS->>HS: Assemble PannelResponseDTO<br/>- isDairyCompleted (Boolean)<br/>- isCheckingCompleted (Boolean)<br/>- isQuizCompleted (Boolean)<br/>- wishTree (WishTreeDto)
  note right of HS: wishTree = { currentStage:"꽃", currentPoints:1200, requiredPointsForNextStage:1300 }
  HS-->>HC: PannelResponseDTO
  HC-->>Client: 200 OK + JSON (includes wishTree)
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related issues

Possibly related PRs

Suggested labels

Feature, Refactor

Suggested reviewers

  • lejuho
  • xoruddl

Poem

귀가 쫑긋한 토끼가 톡톡 두드려요,
패널에 소망 나무 새 잎을 달아요. 🌿
퀴즈 길 닫히고, 임무 길 잠시 멈춤—
그래도 응답엔 새 가지가 솟죠.
폴짝! 오늘도 코드 숲을 달려요. 🐇✨

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 4385555 and 0ab6c48.

📒 Files selected for processing (6)
  • src/main/java/com/example/cp_main_be/domain/admin/presentation/AdminController.java (1 hunks)
  • src/main/java/com/example/cp_main_be/domain/home/HomeController.java (1 hunks)
  • src/main/java/com/example/cp_main_be/domain/home/PannelResponseDTO.java (1 hunks)
  • src/main/java/com/example/cp_main_be/domain/home/service/HomeService.java (1 hunks)
  • src/main/java/com/example/cp_main_be/domain/mission/user_daily_mission/presentation/UserDailyMissionController.java (1 hunks)
  • src/main/java/com/example/cp_main_be/domain/realquiz/presentation/RealQuizController.java (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/패널에-소망-나무-추가

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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

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

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

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

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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.

@c5ln c5ln merged commit a259bbe into develop Aug 27, 2025
@c5ln c5ln deleted the feat/패널에-소망-나무-추가 branch August 27, 2025 01:09
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에 소망 나무 추가

1 participant