Skip to content

[#75] Refactor/와인목록페이지 추천와인#76

Merged
LMS10 merged 3 commits intomainfrom
refactor/와인목록페이지_추천와인
Feb 14, 2025

Hidden character warning

The head ref may contain hidden characters: "refactor/\uc640\uc778\ubaa9\ub85d\ud398\uc774\uc9c0_\ucd94\ucc9c\uc640\uc778"
Merged

[#75] Refactor/와인목록페이지 추천와인#76
LMS10 merged 3 commits intomainfrom
refactor/와인목록페이지_추천와인

Conversation

@LMS10
Copy link
Owner

@LMS10 LMS10 commented Feb 14, 2025

#️⃣ Issue

📝 Description

  • 추천 와인 목록 가져오는 fetchRecommendWine 함수 구현
    API 요청 로직을 별도의 함수로 분리하여 관리가 용이하도록 개선하였습니다.

  • 추천 와인 목록 로딩 스켈레톤 컴포넌트 구현
    와인 목록이 로딩될 때 사용자에게 로딩 상태를 표시하기 위해 스켈레톤 컴포넌트를 구현했습니다.

  • fetchRecommendWine 함수로 API 요청 로직 분리 및 로딩 스켈레톤 적용
    기존에 컴포넌트 내에서 직접 API 요청을 처리하던 방식을 fetchRecommendWine 함수로 분리하여 코드의 재사용성을 높였고, 로딩 상태에 따라 와인 목록을 로딩하는 동안 스켈레톤을 표시하도록 처리했습니다.

추천와인스켈레톤

🌀 PR Type

어떤 변경 사항이 있나요?

  • 새로운 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 코드에 영향을 주지 않는 변경사항 (오타 수정, 탭 사이즈 변경, 변수명 변경)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제

✅ Checklist

PR Checklist

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

  • Branch Convention 확인

    feat/ 피쳐, fix/ 버그 수정, refactor/ 개선

  • Base Branch 확인
  • 커밋 메시지 컨벤션 준수
  • 적절한 Label 지정
  • Assignee 및 Reviewer 지정

Test Checklist

  • 로컬 작동 확인

Additional Notes

  • (없음)

@LMS10 LMS10 requested a review from qpalkim February 14, 2025 09:48
@LMS10 LMS10 self-assigned this Feb 14, 2025
@vercel
Copy link

vercel bot commented Feb 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wine ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 14, 2025 9:48am

@qpalkim
Copy link
Collaborator

qpalkim commented Feb 14, 2025

데이터 페치 함수 분리, 스켈레톤 UI 확인했습니다 수고하셨습니다~!👍

@LMS10 LMS10 merged commit c572d2c into main Feb 14, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor : [와인목록페이지_컴포넌트] 추천 와인 목록 로딩 스켈레톤 작업

2 participants