[#165] 등록/수정 모달 QA, 에러 바운더리 추가 #209
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📄 PR 내용 요약
알려진 페이지 모달 QA 이슈 수정했습니다.
에러 바운더리 추가했습니다.
✅ 작업 내용 상세
등록, 수정 모달 모바일 화면에서 ESC키 동작시 발생하는 문제
<dialog>태그의 기본 ESC 동작은 막고,router.back()을 통해 닫히는 건 가능합니다.등록, 수정 모달 모바일 화면에서 버튼과 분리되는 문제
기존에 있던
margin-top을 제거하고height를 늘려 기존과 맞게 수정했습니다.Error Boundary

기본적인 에러바운더리 세팅은 해둔 상태입니다.
throw new Error("Test error for ErrorBoundary.");이렇게 에러를 던지게 되면토스트 메시지로 우상단에
Error()안에 입력한 내용을 표출합니다.에러 바운더리를 사용하기 위해선
Error가 생길만한 페이지의layout.tsx파일에<ErrorBoundary>컴포넌트로 감싸주어야 합니다.📸 스크린샷 (선택사항)
💬 참고 사항