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 : 퀴즈 정답율 api 연결 및 대시보드 바 차트 구현 #262

Merged
merged 4 commits into from
Nov 18, 2024

Conversation

smosco
Copy link
Collaborator

@smosco smosco commented Nov 18, 2024

📄 Description of the PR

🔧 What has been changed?

  • 최근 5주 퀴즈 첫시도 재시도 정답율 데이터 가져오는 쿼리 함수, 훅 구현
  • 대시보드에서 최근 5주 퀴즈 정답율 바 차트 구현

📸 Screenshots / GIFs (if applicable)

image

⚠️ Precaution & Known issues

  • 하연님 포인트까지 연결되면 대시보드 각 패널들을 컴포넌트로 쪼갤 예정입니다.

✅ Checklist

  • UI 브랜치 같이 확인해서 이슈없는지 확인해보기
  • 함수 이름, 변수 이름만 봐도 어떤 기능을 하는지 파악할 수 있는지 (선언적인 코드인지 확인)

@smosco smosco self-assigned this Nov 18, 2024
@smosco smosco linked an issue Nov 18, 2024 that may be closed by this pull request
3 tasks
Copy link
Collaborator

@godhyzzang godhyzzang left a comment

Choose a reason for hiding this comment

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

수고하셨습니다~

date: string,
): Promise<FetchWeeklyQuizAccuracyResponse> => {
return apiClient<FetchWeeklyQuizAccuracyResponse>(
`/dashboard/quiz/summary?date=${encodeURIComponent(date)}`,
Copy link
Collaborator

Choose a reason for hiding this comment

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

encodeURIComponent는 웬만해서 넣어주는 편이 좋겠군요

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

네넴~

@godhyzzang godhyzzang merged commit 2872d02 into develop Nov 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] connect quiz answer ratio graph api
2 participants