-
Notifications
You must be signed in to change notification settings - Fork 0
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
[feat] data fetching 리뷰 상세 / 작성 #67
Conversation
✅ Deploy Preview for exitnow ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
52e5464
to
146957e
Compare
@@ -61,7 +77,7 @@ export default function UserInfo({ userInfo }: { userInfo: UserInfoType }) { | |||
</ReviewUserInfoBlock> | |||
</ReviewUserInfo> | |||
</ReviewUserInfoContainer> | |||
<ReviewLikeContainer> | |||
<ReviewLikeContainer onClick={handleLikeClick}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lxxmnmn
인증, 리뷰에서 좋아요 버튼을 쓰게되는데요..!
좋아요 api 분기가 필요합니다. 이거도 논의하는걸로..!
const navigate = useNavigate(); | ||
return useMutation(() => postReviewCreateMutation(themeId, body), { | ||
onSuccess: () => { | ||
navigate(`/review/detail/${themeId}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
등록 완료 성공이후 다음 로직이 불투명 합니다. 회의에 필수로 얘기해야할 것 같습니다.
@@ -116,6 +116,9 @@ function CustomSlide() { | |||
|
|||
export default function CafeList() { | |||
const [cardList] = useState<CardListItemType[]>(dummyData); | |||
// eslint-disable-next-line | |||
const [_, setSort] = useState(''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
데이터 페칭때 요고 사용하시면 됩니당
💡 개요
related issue
: #41test
: https://deploy-preview-67--exitnow.netlify.app/review/detail/1 (현재 서버에러로 테스트불가)📑 작업 사항
Like 컴포넌트
: 카운트 포지션 설정 기능 추가(마이페이지도 함께 사용)Menu
stateEvent
추가 및 로직 변경 & 기능 확인review/detail/{reviewId}
: 리뷰 상세 페칭 및 viewport 기반 무한 스크롤 구현 완료(
useGetThemeReviewListWithInfinite.ts
참고 ,useIntersectionObserver.ts
쓰시면 됩니다.)edit
이동 및 글 작성 완료논의 사항
Chips
에 1개만 들어가도록 되어있음. 2개로 추가 확장 해야됨...