Skip to content

[FEAT] 진행 중인 행사 조회 API 연동 - #279

Merged
kimtaehyeokkkk merged 3 commits into
developfrom
feature/ongoing-content-api
Aug 7, 2026
Merged

[FEAT] 진행 중인 행사 조회 API 연동#279
kimtaehyeokkkk merged 3 commits into
developfrom
feature/ongoing-content-api

Conversation

@kimtaehyeokkkk

@kimtaehyeokkkk kimtaehyeokkkk commented Aug 6, 2026

Copy link
Copy Markdown
Collaborator

작업 내용

  • 홈/행사 탭 "진행 중인 행사" 영역을 GET /contents(전체 목록) → GET /contents/ongoing(진행 중인 행사 전용)으로 교체
  • 행사 탭 전체보기 페이지도 동일 API로 전환, 응답에 페이지네이션이 없어 무한스크롤 로직 제거

변경 화면

  • 홈 "진행 중인 행사" 섹션
  • 행사 탭 메인 "진행 중인 행사" 섹션
  • 행사 탭 전체보기(/festival/ongoing)

확인 방법

  1. /contents/ongoing이 배포된 이후, 홈/행사 탭 진입 시 진행 중인 행사 2건이 정상 노출되는지 확인
  2. /festival/ongoing에서 목록이 정상 렌더링되는지 확인 (카테고리 필터/추천·저장·거리순 정렬은 응답 필드 부족으로 미동작 — 아래 참고 사항 확인)

체크리스트

  • 로컬 실행 확인
  • 콘솔 에러 없음
  • 반응형 확인
  • 불필요한 console.log 제거
  • develop 최신 반영 완료
  • 관련 없는 파일 변경 없음

스크린샷

참고 사항

  • /api/v1/contents/ongoing이 아직 라이브 서버에 배포 안 되어 있습니다 (curl 시 400 COMMON4002, /contents/{contentId} 라우트로 잘못 매칭됨 — 배포 확인 필요)
  • 응답에 category 필드가 없어 전체보기 페이지의 카테고리 필터(체험/전시/공연/축제)가 동작하지 않습니다 — 필드 추가 요청 필요
  • 정렬 중 "종료 임박순"만 endDate 기준으로 프론트에서 계산했고, "추천순/저장순/거리순"은 추천점수·좋아요수·좌표가 응답에 없어 정렬이 걸리지 않습니다

관련 이슈

Closes #278

- 문화콘텐츠 목록 조회(GET /contents) 대신 진행 중인 행사만 반환하는
  GET /contents/ongoing으로 홈/행사 탭 진행 중인 행사 영역을 교체
- 행사 탭 전체보기 페이지도 동일 API로 전환, 응답에 페이지네이션이
  없어 무한스크롤 제거
@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
frontend Ready Ready Preview Aug 7, 2026 5:40am

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@kimtaehyeokkkk, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 34 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 @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 7ac31ddf-96fd-4971-a30c-107a6cceabc9

📥 Commits

Reviewing files that changed from the base of the PR and between cd6fefb and 09434f6.

📒 Files selected for processing (8)
  • src/apis/contents.api.ts
  • src/hooks/useOngoingContents.ts
  • src/pages/detail/festival/index.tsx
  • src/pages/detail/mappers/cultureContentDetailMapper.ts
  • src/pages/festival/index.tsx
  • src/pages/festival/ongoing/index.tsx
  • src/pages/home/components/FestivalSection.tsx
  • src/types/content.type.ts

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.

- thumbnailImage -> thumbnailImageUrl, region -> regionName으로 필드명 변경
- liked 필드가 응답에서 빠져 getLiked 기본값을 false로 되돌림
  (기존 진행 중인 행사 미리보기/전체보기도 원래 liked 없이 false 기본값이라
  이번 변경으로 인한 회귀 아님)
- category/sort/cursor 파라미터는 여전히 서버가 받지 않는 것으로 재확인
- 영업시간 조회(festivalPlaceHours) 대신 행사 시작~종료일(period)을 표시
- period 날짜 표기를 YYYY-MM-DD에서 YYYY.MM.DD로 통일

@yoonsunmindd yoonsunmindd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

확인했습니다

@kimtaehyeokkkk
kimtaehyeokkkk merged commit 203629f into develop Aug 7, 2026
3 checks passed
@kimtaehyeokkkk
kimtaehyeokkkk deleted the feature/ongoing-content-api branch August 7, 2026 05:49
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.

[FEAT] 진행 중인 행사 조회 API 연동

2 participants