[♻️ Refactor/#394] network, http 에러 분리#395
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이번 PR은 기존의 통합된 에러 처리 방식을 개선하기 위해 ApiError를 HttpError와 NetworkError로 분리하는 리팩토링을 수행했습니다. 이를 통해 네트워크 통신 실패와 서버 응답 에러를 명확히 구분하여 처리할 수 있게 되었으며, 특히 인증 관련 페이지에서 서버 에러에 대한 대응을 강화하여 안정성을 높였습니다. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
|
🎨 스토리북 배포 링크 확인 |
There was a problem hiding this comment.
Code Review
이번 풀리퀘스트에서는 기존 ApiError를 HttpError로 이름을 변경하고, 네트워크 장애 상황을 처리하기 위한 NetworkError 클래스를 새롭게 추가하였습니다. 이에 따라 프로젝트 전반의 API 호출 및 에러 핸들링 로직이 수정되었습니다. 리뷰어 피드백으로는 SignupClient.tsx 파일에서 HttpError 처리 시 return문이 누락되어 하단의 토스트 메시지가 중복으로 발생하는 문제가 지적되었습니다. 해당 피드백은 폼 에러와 토스트 에러가 동시에 노출되는 사용자 경험 문제를 방지하기 위한 적절한 개선 사항이므로 반영을 권장합니다.
#️⃣연관된 이슈
체크 사항
📝작업 내용
스크린샷 (선택)
추가한 라이브러리 (선택)
💬리뷰 요구사항(선택)