Skip to content

feat: 커피챗 팝업 3버튼 개선 및 재노출 로직#120

Merged
TaewoongR merged 4 commits intodevelopfrom
feature/coffeechat-popup-improvement
Mar 16, 2026
Merged

feat: 커피챗 팝업 3버튼 개선 및 재노출 로직#120
TaewoongR merged 4 commits intodevelopfrom
feature/coffeechat-popup-improvement

Conversation

@shwnahn
Copy link
Collaborator

@shwnahn shwnahn commented Mar 16, 2026

Summary

  • 피드백 팝업을 2버튼 → 3버튼(대화하기 / 나중에요 / 다시 보지 않기)으로 개선
  • 상태별 재노출 쿨다운 로직 추가: 나중에(3일), 수락(7일), 거절(영구 미노출), 바깥 터치(=나중에)
  • 이벤트 네이밍 feedbackcoffeechat으로 통일, action_type 파라미터 + coffeechat_status User Property 추가
  • NotificationReceiver Timber 로그 제거

변경 파일 (11개)

파일 변경 내용
DatastoreFeedback.kt popupShownstatus + lastShownAt
FeedbackConfig.kt 쿨다운 상수 추가
FeedbackDialog.kt Dialog 직접 사용, 3버튼 레이아웃
HomeViewModel.kt 재노출 로직 + 3개 핸들러 + identify
HomeScreen.kt 3개 콜백 연결
EventName.kt 3이벤트 → 2이벤트
EventParameter.kt ACTION_TYPE + enum 추가
AmplitudeEventHelper.kt coffeechat 함수 교체 + User Property
NotificationReceiver.kt Timber 제거
strings.xml (en/ko) "다시 보지 않기" 문구 추가

Test plan

  • 세션 5회 미만 → 팝업 미노출
  • 세션 5회 이상 첫 진입 → 팝업 노출
  • "나중에요" → 즉시 재진입 시 미노출, 3일 후 재노출
  • "대화하기" → 구글폼 열림, 7일 후 재노출
  • "다시 보지 않기" → 영구 미노출
  • 바깥 터치 / 뒤로가기 → "나중에요"와 동일
  • Amplitude에서 view_coffeechat_popup, click_coffeechat_popup(action_type), coffeechat_status 수신 확인

🤖 Generated with Claude Code

shwnahn and others added 4 commits March 9, 2026 21:37
- FeedbackConfig.kt: 피드백 폼 URL 및 노출 기준(세션 5회) 설정 추가
- DatastoreFeedback.kt, FeedbackSerializer.kt: 피드백 관련 상태 관리를 위한 DataStore 설정 추가
- NotificationReceiver.kt: 세션 종료 시마다 sessionCount를 증가시키도록 로직 수정
- HomeViewModel.kt: 세션 카운트 및 팝업 노출 여부를 체크하여 FeedbackDialog를 표시하는 로직 구현
- HomeScreen.kt, FeedbackDialog.kt: 피드백 다이얼로그 UI 구성 및 외부 설문 링크 연결
- AmplitudeEventHelper.kt, EventName.kt: 피드백 팝업 관련 이벤트 트래킹 추가
- strings.xml: 피드백 다이얼로그 내 문구 추가 (국문/영문)
2버튼(수락/나중에) → 3버튼(대화하기/나중에요/다시 보지 않기)으로 변경하고,
상태별 재노출 쿨다운(나중에 3일, 수락 7일, 거절 영구 미노출) 로직 추가.
이벤트 네이밍을 feedback → coffeechat으로 통일하고 action_type 파라미터 도입.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@TaewoongR TaewoongR merged commit 17061ee into develop Mar 16, 2026
2 checks passed
@TaewoongR TaewoongR deleted the feature/coffeechat-popup-improvement branch March 17, 2026 02:19
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.

2 participants