Skip to content

멘토스터디 후기 조회 시 PREMIUM_STUDY → MENTOR_STUDY enum 불일치 수정#453

Merged
HA-SEUNG-JEONG merged 1 commit into
mainfrom
hotfix/study-review
Mar 26, 2026
Merged

멘토스터디 후기 조회 시 PREMIUM_STUDY → MENTOR_STUDY enum 불일치 수정#453
HA-SEUNG-JEONG merged 1 commit into
mainfrom
hotfix/study-review

Conversation

@HA-SEUNG-JEONG

@HA-SEUNG-JEONG HA-SEUNG-JEONG commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

🌱 연관된 이슈

☘️ 작업 내용

🍀 참고사항

스크린샷 (선택)

Summary by CodeRabbit

릴리즈 노트

  • 기능 변경

    • 학습 유형을 "프리미엄 스터디"에서 "멘토 스터디"로 변경하여 용어 통일 및 서비스 분류 개선
  • UI/UX 개선

    • 비어있는 학습 목록 화면의 스타일 업데이트로 더 나은 시각적 경험 제공
  • 문서

    • 프론트엔드 로직 수정 시 탐색 규칙에 대한 개발 가이드 추가

@HA-SEUNG-JEONG HA-SEUNG-JEONG self-assigned this Mar 26, 2026
@vercel

vercel Bot commented Mar 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
study-platform-client-dev Building Building Preview, Comment Mar 26, 2026 0:13am

@coderabbitai

coderabbitai Bot commented Mar 26, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: d41fb76d-32bf-4aba-9d85-da2924c5dfb8

📥 Commits

Reviewing files that changed from the base of the PR and between 12093c1 and 11adbe9.

📒 Files selected for processing (7)
  • CLAUDE.md
  • src/app/(service)/(my)/my-study-review/_components/completed-study-review-page.tsx
  • src/app/(service)/(my)/my-study-review/mentor/page.tsx
  • src/components/pages/premium-study-list-page.tsx
  • src/components/section/my-participating-studies-section.tsx
  • src/hooks/common/use-group-study-review-reminder.ts
  • src/types/api/group-study.types.ts

📝 Walkthrough

Walkthrough

프론트엔드 전역에서 PREMIUM_STUDY 상수를 MENTOR_STUDY로 대체하는 체계적인 타입 마이그레이션이 진행되었습니다. 타입 정의, 훅 옵션, 컴포넌트 프로퍼티, API 요청 타입이 일관되게 업데이트되었으며, 쿼리 로직에서 분류 매핑도 조정되었습니다.

Changes

Cohort / File(s) Summary
문서 업데이트
CLAUDE.md
프론트엔드 로직 수정 시 프론트/백엔드 병렬 탐색 규칙을 신규 추가하여, API 연동 변경 시 동기화된 검증 방법을 문서화했습니다.
타입 정의
src/types/api/group-study.types.ts, src/hooks/common/use-group-study-review-reminder.ts
PREMIUM_STUDYMENTOR_STUDY로 대체하여 API 요청 및 훅 옵션 타입의 study type 유니온을 업데이트했습니다.
페이지 및 컴포넌트 프로퍼티
src/app/(service)/(my)/my-study-review/_components/completed-study-review-page.tsx, src/app/(service)/(my)/my-study-review/mentor/page.tsx
컴포넌트 프로퍼티 타입에서 PREMIUM_STUDYMENTOR_STUDY로 변경하고, 멘토 리뷰 페이지에서 전달 값을 업데이트했습니다. 또한 empty-state 스타일에서 border 클래스를 제거했습니다.
비즈니스 로직
src/components/section/my-participating-studies-section.tsx, src/components/pages/premium-study-list-page.tsx
쿼리 호출 시 분류가 PREMIUM_STUDY일 때 MENTOR_STUDY로 변환하는 로직 추가, 그리고 리뷰 리마인더 훅 인자를 MENTOR_STUDY로 업데이트했습니다.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Possibly related PRs

Poem

🐰 프리미엄을 멘토로 갈아입으니,
타입도 쿼리도 반짝반짝~
문서엔 나침반이 새로 생기고,
스터디는 더 헷갈리지 않아요! ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch hotfix/study-review

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.

@HA-SEUNG-JEONG HA-SEUNG-JEONG merged commit a0a8690 into main Mar 26, 2026
7 of 9 checks passed
@HA-SEUNG-JEONG HA-SEUNG-JEONG deleted the hotfix/study-review branch March 26, 2026 00:15
@coderabbitai coderabbitai Bot mentioned this pull request Mar 26, 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.

1 participant