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

[Feat/#22] 인덱스 페이지 구현 #26

Merged
merged 11 commits into from
Jan 28, 2025
Merged

[Feat/#22] 인덱스 페이지 구현 #26

merged 11 commits into from
Jan 28, 2025

Conversation

Jxxunnn
Copy link
Member

@Jxxunnn Jxxunnn commented Jan 27, 2025

이슈 번호

close #22

작업한 내용

  • 추천 질문 카드
    • 추천 질문 카드 노출
    • 추컨 질문 카드 클릭 시 채팅 페이지 이동
    • 추천 질문 변경 버튼 클릭 시 추천 질문 카드 업데이트
  • 채팅 입력

작업 결과

image

비고

@Jxxunnn Jxxunnn requested a review from a team January 27, 2025 13:55
@Jxxunnn Jxxunnn self-assigned this Jan 27, 2025
@Jxxunnn Jxxunnn requested review from ljh0608 and removed request for a team January 27, 2025 13:55
Copy link

vercel bot commented Jan 27, 2025

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

Name Status Preview Comments Updated (UTC)
ddd-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 27, 2025 3:07pm

await createUserKeyCookie();
createChatRoom(undefined, {
onSuccess: (data) => {
sendChatMessage(
Copy link
Member Author

Choose a reason for hiding this comment

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

현재 에러 처리가 되어있지 않습니다.
기획적으로 정리하고 #25 에서 작업 예정

>
추천 질문 변경
</span>
{/* TODO: 아이콘 추가 */}
Copy link
Member Author

Choose a reason for hiding this comment

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

#15 에서 아이콘 컴포넌트 작업이 마무리 되면 추가하겠습니다.

@@ -2,15 +2,15 @@ import apiClient from '@/shared/lib/axios/apiClient';
import { z } from 'zod';

export type TarotQuestionRecommendListResponse = {
question: {
questions: {
Copy link
Member Author

Choose a reason for hiding this comment

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

필드명을 잘못 적었는데 zod가 잡아줬습니다! ㅎㅎ

Copy link
Contributor

Choose a reason for hiding this comment

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

ㅋㅋㅋㅋ 좋습니다~!

@Jxxunnn
Copy link
Member Author

Jxxunnn commented Jan 27, 2025

prefetch SSR 추가 필요해서 잠시 닫을게요!

@Jxxunnn Jxxunnn closed this Jan 27, 2025
<HeaderContent>{null}</HeaderContent>
<MainContent>{null}</MainContent>
</>
<HydrationBoundary state={dehydrate(queryClient)}>
Copy link
Member Author

Choose a reason for hiding this comment

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

공식문서 참고하여 프리페치 SSR 기능을 추가했습니다.
https://tanstack.com/query/v5/docs/framework/react/guides/advanced-ssr

Copy link
Contributor

@ljh0608 ljh0608 left a comment

Choose a reason for hiding this comment

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

코드 잘 이해하고 갑니다~! 아이콘 컴포넌트 오늘 자기전에 머지될 예정입니다!

@@ -2,15 +2,15 @@ import apiClient from '@/shared/lib/axios/apiClient';
import { z } from 'zod';

export type TarotQuestionRecommendListResponse = {
question: {
questions: {
Copy link
Contributor

Choose a reason for hiding this comment

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

ㅋㅋㅋㅋ 좋습니다~!

Comment on lines +7 to +8
color: keyof Pick<ColorsTypes, 'primary03' | 'primary01' | 'grey10' | 'grey60'>;
};
Copy link
Contributor

Choose a reason for hiding this comment

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

타입의 마술사 이 준 근

@Jxxunnn Jxxunnn merged commit 7a0069a into main Jan 28, 2025
2 checks passed
@Jxxunnn Jxxunnn deleted the feat/#22 branch January 28, 2025 04:40
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.

[기능] 인덱스 페이지 구현
2 participants