Skip to content

feat(stats): 통계 WAU/MAU 추이 차트 적용 및 일간 리포트 이미지 키 검증 강화#163

Merged
1Seob merged 3 commits into
developfrom
feat/stats-wau-mau-trend-charts
May 9, 2026
Merged

feat(stats): 통계 WAU/MAU 추이 차트 적용 및 일간 리포트 이미지 키 검증 강화#163
1Seob merged 3 commits into
developfrom
feat/stats-wau-mau-trend-charts

Conversation

@1Seob
Copy link
Copy Markdown
Collaborator

@1Seob 1Seob commented May 9, 2026

📝 요약(Summary)

주간/월간 통계 페이지에 WAU/MAU를 추이 차트로 추가했습니다.

  • 주간 페이지: 최근 5주 WAU 차트
  • 월간 페이지: 최근 5달 MAU 차트

변경 사항

  • WAU/MAU 집계 로직을 주/월 단위 distinct 유저 기준으로 추가

    • 기준: 해당 기간에 COMPLETED 상태의 일간 리포트를 작성한 유저 수
    • 집계식: COUNT(DISTINCT dr.answerEntry.user.id)
  • 주간/월간 템플릿에 WAU/MAU 라인 차트 추가

  • 일간 리포트 생성 요청에서 이미지 관련 검증 로직을 보완

    • objectKey가 전달된 경우 webpKey를 필수로 요구하도록 검증 조건을 추가했습니다.
      • objectKey는 있는데 webpKey가 비어 있으면 BadRequestException(IMAGE_WEBP_KEY_REQUIRED)를 반환합니다.
    • webpKey 검증은 objectKey가 존재할 때만 수행되도록 정리했습니다.

🔗 Related Issue

  • Closes:

💬 공유사항

✅ PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 제목을 커밋 메시지 컨벤션에 맞게 작성했습니다.

@1Seob 1Seob changed the title feat(stats): 주간/월간 통계에 WAU·MAU 추이 차트 추가 feat(stats): 통계 WAU/MAU 추이 차트 적용 및 일간 리포트 이미지 키 검증 강화 May 9, 2026
@coldsunn
Copy link
Copy Markdown
Collaborator

coldsunn commented May 9, 2026

LGTM!

@1Seob 1Seob merged commit 3ff7cc4 into develop May 9, 2026
1 check passed
@1Seob 1Seob deleted the feat/stats-wau-mau-trend-charts branch May 9, 2026 09:04
@1Seob 1Seob mentioned this pull request May 9, 2026
1 task
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