-
Notifications
You must be signed in to change notification settings - Fork 0
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
이미지 용량 최적화 #283
이미지 용량 최적화 #283
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
연말에도 달리셨군요.. LGGGGGTM 입니다! 👍
@@ -43,6 +44,11 @@ const useSearchModal = ({ | |||
} | |||
|
|||
const onSubmit: SubmitHandler<SearchFormValues> = (data) => { | |||
if (data.search.length === 1) { | |||
notify('info', '검색어는 최대 2글자여야 합니다.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
최소 2글자로 수정해야 할 것 같습니다! 💡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
수정했습니다! 😄
📑 이슈 번호
#282
🚧 구현 내용
browser-image-compression
라이브러리를 사용해서 용량이 큰 이미지일 경우 사이즈를 압축해서 전송하는 것으로 변경하였습니다. (413 에러 해결)🚨 특이 사항
영운님께서 검색 로직에
MySQL Full Text Search
를 도입한다고 하셔서 검색 요구 사항이 조금 변경되었습니다.1. 검색 키워드가 한 글자일 경우 검색되지 않도록 변경하였습니다. (전체 검색, 프로필 내부 검색)
토스트 알림으로 예외 처리 추가
2. 전체 검색 키워드의 required 삭제 (프로필 내부 검색이랑 동일)
아무것도 입력하지 않았을 때 전체 스페이스 or 전체 유저가 나오도록 required를 삭제하였습니다.