Skip to content

Conversation

@cloud0406
Copy link
Contributor

@cloud0406 cloud0406 commented Jan 10, 2025

#️⃣연관된 이슈

ex) #310

📝작업 내용

프로그레스바의 넘침 현상을 해결

기타 참고사항

프로그레스바에서 percentage 가 100이상으로 들어올 경우 처리를 해두긴했지만 애초에 이런 경우가 들어오지 않도록,
프론트에서는 '정원 = 참여자 수' 일 경우 더 이상 참여를 못하도록,
백엔드에서도 이런 경우 요청이 오면 에러를 내도록
추가 처리가 필요할 것 같습니다.

@cloud0406 cloud0406 added the ♻️ Refactor 코드 리팩토링 label Jan 10, 2025
@cloud0406 cloud0406 self-assigned this Jan 10, 2025
@cloud0406 cloud0406 linked an issue Jan 10, 2025 that may be closed by this pull request
1 task
@vercel
Copy link

vercel bot commented Jan 10, 2025

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

Name Status Preview Comments Updated (UTC)
bookco ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 10, 2025 1:40am

Copy link
Contributor

@haegu97 haegu97 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다!

Copy link
Contributor

@wynter24 wynter24 left a comment

Choose a reason for hiding this comment

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

'정원 = 참여자 수' 일 때, 버튼을 disabled로 수정하겠습니다!

수고하셨습니다!

@cloud0406 cloud0406 merged commit 0fc6d1e into develop Jan 10, 2025
7 of 8 checks passed
@cloud0406 cloud0406 deleted the 310-refactor-프로그레스바-넘침-현상-해결 branch January 10, 2025 05:33
wynter24 added a commit that referenced this pull request Feb 7, 2025
* 채팅창 높이 지정 (#307)

* 토스트가 사라지지 않는 버그 수정 #309 (#311)

* ♻️[Refactor] 토스트 메시지 상수로 관리 #312 (#314)

* ♻️ [Refactor] 프로그레스바 넘침 현상 해결 (#313)

* ♻️[Refactor] 프로그레스바 100% 안넘도록 수정

* ✅[Test] 테스트 코드 추가

* ✨[Feat] ssr로 데이터 fetching #308

* ✨[Feat] ssr로 fetching 한 데이터를 useQuery 초기데이터로 설정 #308

* ✨[Feat] srr로 data fetching 후 csr로 data fetching 작업 중 #308

* �📝[Docs] 리드미 포맷 적용 (#319)

* �📝[Docs] 리드미 포맷 적용

* 리드미 업데이트

* ✨[Feat] ssr로 가져온 데이터로 렌더링 #308

* ✨[Feat] ssr로 데이터 fetching #308

* ✨[Feat] ssr로 fetching 한 데이터를 useQuery 초기데이터로 설정 #308

* ✨[Feat] srr로 data fetching 후 csr로 data fetching 작업 중 #308

* ✨[Feat] ssr로 가져온 데이터로 렌더링 #308

* 💄[Design] 모임 카드 size=100으로 요청 #308

* ✅[Test] fetchBookClub 테스트 코드 작성 #308

* 로그인 테스트 코드 추가 #317 (#318)

* ✅[Test] useBookClubList 훅 테스트 코드 작성 (쿼리키로 데이터 가져오기 검증) #308

* ✨[Feat] ssr로 데이터 fetching #308

* ✨[Feat] ssr로 fetching 한 데이터를 useQuery 초기데이터로 설정 #308

* ✨[Feat] srr로 data fetching 후 csr로 data fetching 작업 중 #308

* ✨[Feat] ssr로 가져온 데이터로 렌더링 #308

* ✨[Feat] srr로 data fetching 후 csr로 data fetching 작업 중 #308

* ✨[Feat] ssr로 가져온 데이터로 렌더링 #308

* 💄[Design] 모임 카드 size=100으로 요청 #308

* ✅[Test] fetchBookClub 테스트 코드 작성 #308

* ✅[Test] useBookClubList 훅 테스트 코드 작성 (쿼리키로 데이터 가져오기 검증) #308

* 🐛[Fix] SSR 환경에서 서버 환경변수(API_URL) 누락 문제 해결 #308

* 💬[Comment] 주석 추가 #308

* ✅[Test] 환경 변수 에러 확인 #308

* ✅[Test] 환경 변수 에러 확인 #308

* ♻️[Refactor] 환경 변수 주소로 수정 #308

* 📦[Chore] next.config env 설정 #308

* 📦[Chore] CI 환경설정: NEXT_PUBLIC_API_URL 전달 설정 추가 #308

* 💬[Comment] 환경 변수 test 주석 제거 #308

* ♻️[Refactor] fetchBookClub 테스트 코드 공통 mockBookClubs 사용 #308

* ♻️[Refactor] fetchBookClubs 에러 개발 환경에서만 로그 출력 #308

* 🔥[Remove] 불필요한 feature/bookclub/api 삭제 #308

* ♻️[Refactor] initialData 방식 대신 prefetchQuery로 서버에서 데이터 가져오기 #308

* ♻️[Refactor] 찜하기 후 mutate되는 모임 목록의 쿼리키 변경 #308

* ✅[Test] fetchBookClubs 함수 수정에 따른 테스트 코드 업데이트 #308

* 🐛[Test] Storybook에서 useRouter Mocking하여 오류 해결 #308

* 🐛[Test] Storybook에서 useRouter Mocking 코드 제거거 #308

* 🐛[Fix] storybook router 에러 fix (#334)

---------

Co-authored-by: Sungu Kim <108677235+haegu97@users.noreply.github.com>
Co-authored-by: cloud0406 <32586926+cloud0406@users.noreply.github.com>
Co-authored-by: Jeongho Kim <cloud0406@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

♻️ Refactor 코드 리팩토링

Projects

None yet

Development

Successfully merging this pull request may close these issues.

♻️ [Refactor] 프로그레스바 넘침 현상 해결

4 participants