Skip to content

[feature] 상세페이지 로그에 모집상태 추가#1362

Merged
seongwon030 merged 3 commits intodevelop-fefrom
feature/#1361-clubdetail-recruit-log-MOA-769
Mar 29, 2026
Merged

[feature] 상세페이지 로그에 모집상태 추가#1362
seongwon030 merged 3 commits intodevelop-fefrom
feature/#1361-clubdetail-recruit-log-MOA-769

Conversation

@seongwon030
Copy link
Copy Markdown
Member

@seongwon030 seongwon030 commented Mar 29, 2026

#️⃣연관된 이슈

ex) #이슈번호, #이슈번호

📝작업 내용

스크린샷 2026-03-29 오후 4 29 43

useTrackPageView에 모집상태 prop을 추가하여 로그에 포함시켰습니다.

중점적으로 리뷰받고 싶은 부분(선택)

리뷰어가 특별히 봐주었으면 하는 부분이 있다면 작성해주세요

ex) 메서드 XXX의 이름을 더 잘 짓고 싶은데 혹시 좋은 명칭이 있을까요?

논의하고 싶은 부분(선택)

논의하고 싶은 부분이 있다면 작성해주세요.

🫡 참고사항

Summary by CodeRabbit

  • 새 기능

    • 클럽 상세 페이지 방문 및 체류 추적에 클럽의 모집 상태 정보가 포함되어 분석 정확도 향상
  • 정리

    • 테스트 커버리지 평가 관련 불필요한 문서화 항목 한 줄 제거

@seongwon030 seongwon030 self-assigned this Mar 29, 2026
@seongwon030 seongwon030 added ✨ Feature 기능 개발 💻 FE Frontend labels Mar 29, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

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

Project Deployment Actions Updated (UTC)
moadong Ready Ready Preview, Comment Mar 29, 2026 7:38am

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 29, 2026

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

💥 Parsing errors (1)
Validation error: Invalid regex pattern for base branch. Received: "**" at "reviews.auto_review.base_branches[0]"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • 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

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 90bd6ee8-b881-4622-ad37-896b9b12afc1

📥 Commits

Reviewing files that changed from the base of the PR and between 7262545 and d1cfef2.

📒 Files selected for processing (1)
  • frontend/src/hooks/Mixpanel/useTrackPageView.ts
🚧 Files skipped from review as they are similar to previous changes (1)
  • frontend/src/hooks/Mixpanel/useTrackPageView.ts

Walkthrough

useTrackPageView 훅에 선택적 recruitmentStatus 매개변수를 추가하여 Mixpanel 이벤트 페이로드에 포함시키고, ClubDetailPage에서 해당 값을 전달하도록 호출을 수정했습니다. 문서 파일에서 테스트 커버리지 평가 항목 한 줄을 제거했습니다.

Changes

Cohort / File(s) Summary
Hook 매개변수 확장
frontend/src/hooks/Mixpanel/useTrackPageView.ts
훅 시그니처에 recruitmentStatus?: string 추가, 내부 ref로 관리하고 "Visited" 및 "Duration" 이벤트 페이로드에 recruitmentStatus를 포함하도록 변경.
Hook 호출 업데이트
frontend/src/pages/ClubDetailPage/ClubDetailPage.tsx
useTrackPageView 호출에 네 번째 인자 clubDetail?.recruitmentStatus 전달하도록 수정.
문서 정리
frontend/.claude/commands/tm/auto-implement-tasks.md
테스트 커버리지 평가 지시 항목 한 줄 제거.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • oesnuj
  • suhyun113
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR 제목이 변경 사항의 주요 내용을 명확하게 설명합니다. 상세페이지 로그에 모집상태(recruitmentStatus)를 추가하는 기능으로, 코드 변경 사항과 정확하게 일치합니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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 feature/#1361-clubdetail-recruit-log-MOA-769

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.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 29, 2026

🎨 UI 변경사항을 확인해주세요

변경된 스토리를 Chromatic에서 확인해주세요.

구분 링크
🔍 변경사항 리뷰 https://www.chromatic.com/build?appId=67904e61c16daa99a63b44a7&number=125
📖 Storybook https://67904e61c16daa99a63b44a7-tvowmvncyn.chromatic.com/

2개 스토리 변경 · 전체 56개 스토리 · 22개 컴포넌트

@seongwon030 seongwon030 requested review from oesnuj and suhyun113 March 29, 2026 07:32
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@frontend/src/hooks/Mixpanel/useTrackPageView.ts`:
- Around line 17-20: The effect that syncs refs (clubNameRef.current and
recruitmentStatusRef.current) is currently inside the same useEffect that sends
the "Visited" tracking and depends on recruitmentStatus, causing duplicate
"Visited" events when recruitmentStatus changes; split that ref-synchronization
into its own useEffect that only updates clubNameRef.current and
recruitmentStatusRef.current, and remove recruitmentStatus from the tracking
effect's dependency array so the tracking effect (which manages
isTracked.current and startTime.current and sends "Visited") only re-runs on
route/page changes; ensure the tracking effect still reads the refs
(clubNameRef, recruitmentStatusRef) rather than relying on recruitmentStatus
directly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a435cca9-5411-4f6a-b221-737a5cae42e6

📥 Commits

Reviewing files that changed from the base of the PR and between 5fb0cbf and 7262545.

📒 Files selected for processing (3)
  • frontend/.claude/commands/tm/auto-implement-tasks.md
  • frontend/src/hooks/Mixpanel/useTrackPageView.ts
  • frontend/src/pages/ClubDetailPage/ClubDetailPage.tsx
💤 Files with no reviewable changes (1)
  • frontend/.claude/commands/tm/auto-implement-tasks.md

Copy link
Copy Markdown
Contributor

@lepitaaar lepitaaar left a comment

Choose a reason for hiding this comment

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

Always Approve 정책에 따라 승인합니다.

인라인 코멘트로 중복 제거/근거 보강된 핵심 사항을 남겼습니다.

거절 사유(비차단 아님)

  • Severity: Medium
  • 항목: effect dependency에 포함
  • 영향: 모집상태 값 변경/리패치 시 가 재전송되어 페이지 방문 수 과대계상, duration 세션 분할 발생 가능
  • 수정방안: 최신값 동기화는 별도 effect(ref 업데이트)로 처리하고, 방문/체류 트래킹 effect deps에서는 를 제외하여 1회 방문당 1세션을 보장

Copy link
Copy Markdown
Contributor

@lepitaaar lepitaaar left a comment

Choose a reason for hiding this comment

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

Always Approve 정책에 따라 승인합니다.

인라인 코멘트로 중복 제거/근거 보강된 핵심 사항을 남겼습니다.

거절 사유(비차단 아님)

  • Severity: Medium
  • 항목: useTrackPageView effect dependency에 recruitmentStatus 포함
  • 영향: 모집상태 값 변경/리패치 시 page Visited 이벤트가 재전송되어 방문 수 과대계상, duration 세션 분할 발생 가능
  • 수정방안: recruitmentStatus 최신값 동기화는 별도 effect(ref 업데이트)로 처리하고, 방문/체류 트래킹 effect deps에서는 recruitmentStatus를 제외하여 1회 방문당 1세션을 보장

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@seongwon030 seongwon030 merged commit 6803a4e into develop-fe Mar 29, 2026
5 checks passed
@seongwon030 seongwon030 deleted the feature/#1361-clubdetail-recruit-log-MOA-769 branch March 29, 2026 07:56
@seongwon030 seongwon030 linked an issue Mar 29, 2026 that may be closed by this pull request
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💻 FE Frontend ✨ Feature 기능 개발

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] MOA-769 상세페이지 로그에 모집상태를 추가

2 participants