[hotfix] 상세페이지 알림 버튼 구독 이벤트 트래킹 누락 수정 - #1898
Conversation
상세페이지 상단바 알림 버튼이 useWebviewSubscribe를 거치지 않고 requestSubscribeToggle을 직접 호출해 구독 토글 이벤트가 누락됐다. 트래킹을 추가하고, 메인·구독 목록과 진입 지점을 구분할 수 있도록 Webview Subscribe Toggled에 source 프로퍼티를 붙인다.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
Next review available in: 49 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
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. Comment |
✅ UI 변경사항 없음
전체 95개 스토리 · 34개 컴포넌트 |
문제
동아리 상세페이지 상단바의 알림(구독) 버튼 클릭이 Mixpanel에 전혀 잡히지 않았다.
메인·구독 목록의 구독 토글은
useWebviewSubscribe의toggleSubscribe를 거치고 트래킹도 이 훅 안에 있는데,ClubDetailTopBar는 자체isNotificationActive상태를 들고 있어 훅을 쓰지 않고requestSubscribeToggle(clubId)를 직접 호출한다. 구독 동작 자체는 정상이지만 트래킹만 우회돼서,Webview Subscribe Toggled이벤트에 상세페이지 유입분이 통째로 빠져 있었다.변경
ClubDetailTopBar.handleNotificationClick에 트래킹 추가Webview Subscribe Toggled에source프로퍼티 추가toggleSubscribe(clubId, subscribed, source)— 필수 인자로 둬서 앞으로 새 호출부가 생겨도 source 누락이 타입 에러로 잡힌다PAGE_NAME을 재사용 (ClubCardpage프로퍼티·스크롤 트래킹과 같은 체계).CLUB_DETAIL: 'club-detail'만 추가최종 이벤트 스키마 —
club_id,subscribed(토글 후 상태),source범위
+22 / -5. main 기준 클린 체리픽 (충돌 없음)develop-fe대상으로도 올라가 있다 ([fix] 상세페이지 알림 버튼 구독 이벤트 트래킹 누락 수정 #1897). 릴리즈 대기가 길어 트래킹 공백이 계속 쌓이므로 main에 먼저 반영한다확인
tsc --noEmit통과 (main 베이스에서 검증)Webview Subscribe Toggled(source: club-detail) 발생 확인source만 추가 확인