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

[빌드5] 리뷰 목록 위젯 모든 기능 동작 완료 #48

Merged
merged 18 commits into from
Oct 12, 2023
Merged

Conversation

hyeonjin25
Copy link
Collaborator

관련 이슈

#34 #35

작업 사항

  • 리뷰 목록에서 필요한 api 모두 연결 완료

hyeonjin25 and others added 18 commits October 1, 2023 23:57
(related to: #46)
기존에는 임시로 리뷰 100개, 키워드 100개를 기준으로 max 값을 잡았음,
-> 리뷰와 키워드 수가 100이 넘어가는 경우는 나타낼 수 없음
따라서 상대적으로 전체 리뷰의 개수, 각 키워드의 개수로 max 값을 변경
feat: 리뷰 및 태그 통계 api 연결, 리뷰 페이징 추가 (related to: #34)
feat: 부모에게 메세지 전송하는 hook 추가, 리뷰 작성 완료시 사용 (#25)
1. 기존 max값 -> 각각 키워드의 긍정과 부정 개수를 더한 값을 max로 했더니, 같은 숫자여도 키워드에 따라 그래프가 다름
=> 각 키워드의 긍정과 부정 개수들 중 가장 큰 값을 max로 설정하여 모든 키워드의 max가 일관되도록 변경
(max값 계산은 useMemo를 사용하여 중복 계산 방지)
2. 총 0개의 리뷰 중에서 .. 부분에 값 연결
-> 태그 불러와서 view까지, 아직 클릭시 응답 없음
feat: 태그 api 연결, 태그에 따른 필터링 기능 추가 (related to: #34)
@hyeonjin25 hyeonjin25 merged commit 3175499 into main Oct 12, 2023
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