Skip to content

feat: 이벤트 최근 신청한 사진들 조회#188

Merged
jiyeeeah merged 1 commit into
developfrom
187/feat/최근_신청한_사진_조회
Jun 24, 2025

Hidden character warning

The head ref may contain hidden characters: "187/feat/\ucd5c\uadfc_\uc2e0\uccad\ud55c_\uc0ac\uc9c4_\uc870\ud68c"
Merged

feat: 이벤트 최근 신청한 사진들 조회#188
jiyeeeah merged 1 commit into
developfrom
187/feat/최근_신청한_사진_조회

Conversation

@jiyeeeah
Copy link
Copy Markdown
Collaborator

🚀 작업 내용

  • 이벤트 최근 신청한 사진 최대 3개까지 조회해서 이벤트 메인 화면에 보여줌

✨ 작업 상세 설명

스크린샷 2025-06-24 오전 10 49 57

📌 관련 이슈

🔥 문제 상황 (선택)

💦 해결 방법 (선택)

💬 추후 수정해야 하는 부분 및 기타 논의 사항 (선택)

📄 REFERENCE (선택)

📢 리뷰 요구 사항 (선택)

- 이벤트 최근 신청한 사진 최대 3개까지 조회해서 이벤트 메인 화면에 보여줌
@jiyeeeah jiyeeeah requested a review from Copilot June 24, 2025 01:50
@jiyeeeah jiyeeeah self-assigned this Jun 24, 2025
@jiyeeeah jiyeeeah added FE 프론트엔드 관련 이슈 ✨feat 기능을 추가할 때 labels Jun 24, 2025
@jiyeeeah jiyeeeah linked an issue Jun 24, 2025 that may be closed by this pull request
@jiyeeeah jiyeeeah merged commit 03fd050 into develop Jun 24, 2025
2 checks passed
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements a new feature to display up to three of the most recently submitted event photos on the event main page.

  • Added a new API call and corresponding query to fetch recent event images.
  • Updated the EventMainPage component to conditionally render these images.
  • Removed duplicate banner rendering when the event is in the "신청" status.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/app/event/EventMainPage.tsx Added a new UI section that maps over the recent event photos and displays them
src/api/queries/eventQueries.ts Introduced a new query named recentPost to fetch recent event images
src/api/event.ts Added the getEventRecentPost API function to retrieve recent event images from the backend
Comments suppressed due to low confidence (1)

src/app/event/EventMainPage.tsx:98

  • [nitpick] Consider revising the content of this heading to align with the overall application's tone and documentation style.
          </h3>

<p className="text-2xl">주제: {topicData?.topic}</p>
)}
</div>
{eventPeriod && eventPeriod.status === "신청" && (
Copy link

Copilot AI Jun 24, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider handling the scenario where recentPostData is empty. For example, display a placeholder message or a fallback UI to improve user experience.

Copilot uses AI. Check for mistakes.
@jiyeeeah jiyeeeah deleted the 187/feat/최근_신청한_사진_조회 branch June 24, 2025 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FE 프론트엔드 관련 이슈 ✨feat 기능을 추가할 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FE:[feat]-최근_신청한_사진_조회

2 participants