Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

실시간 핫한 후기 UI 구현 및 연동 #41

Merged
merged 11 commits into from
Aug 27, 2024
Merged

Conversation

froggy1014
Copy link
Collaborator

@froggy1014 froggy1014 commented Aug 24, 2024

PR 타입 ( 하나 이상의 PR 타입을 선택해주세요 )


  • 기능 추가
  • 버그 수정
  • 의존성, 환경 변수, 빌드 관련 코드 업데이트
  • 기타 사소한 수정

개요

  1. 백엔드 추가된 엔드포인트와 타입에 따라서 apis에 사전 정의

  2. 기존 스토리북에 그려놨던 타입이랑 달라져서 컴포넌트 리팩토링

  3. 백엔드에 아직 데이터가 없어서 msw 목데이터 추가

pnpm install && pnpm dev:mock

Copy link

vercel bot commented Aug 24, 2024

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

Name Status Preview Comments Updated (UTC)
fiesta ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 24, 2024 4:05pm

Copy link
Member

@Zero-1016 Zero-1016 left a comment

Choose a reason for hiding this comment

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

LGTM 🤗

@@ -22,7 +22,7 @@ export interface FiestaResponse<T> {
data: T;
}

export async function getUserClientSession() {
export async function getClientSideSession() {
Copy link
Member

Choose a reason for hiding this comment

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

P5

해당 함수를 따로 분리를 했어야하나? 라는 의문이 있습니다.

import { getSession as getClientSideSession } from "next-auth/react";

로 분리해도 될 것 같기도 하고 그대로 넣어도 상관 없을 것 같습니다!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

반영토록 하겠습니다.

@froggy1014 froggy1014 merged commit 0a9138f into develop Aug 27, 2024
2 checks passed
@froggy1014 froggy1014 deleted the feat/top-review-3 branch August 27, 2024 01:32
Comment on lines +28 to +31
images: {
imageId: 145156,
imageUrl: "/images/festivalReview.png",
},
Copy link
Member

@punchdrunkard punchdrunkard Aug 27, 2024

Choose a reason for hiding this comment

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

여기 응답 변경있습니다............. 죄송해요 (images 만 thumbnailImage로 string 하나 내려와요)

https://breakyourlimit.notion.site/1159d5ddd66a4aa7a8dc615106f70341?pvs=4

명세 참고해주시고, 그리고 후기 이미지 없는 경우가 있어서 없으면 해당 필드 생략되서 내려올거에요.
(이 부분은 아래에 있군요!)

@froggy1014 froggy1014 linked an issue Sep 3, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] Trending Review
3 participants