[Feat] 편지 등록, 쓰기 이미지 업로드 지연 문제 해결 #97
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.
연관 이슈
close #96
개요
편지 등록, 쓰기 이미지 업로드 지연 문제 해결
✅ 작업 내용
(자세한 설명)
isImageUploadLoading상태로 로딩을 적용하였다.이미지가 4개일 경우
+ 버튼을 누르면 바로 토스트가 나오는 것이 아니라, 파일 선택창이 나온 후에 토스트 메세지가 나오는 문제 해결임시 저장 목록에서의 저장 시간 이상 해결
행성 추가 시 행성명 10자 제한 설정
🖥 구현 결과
20241120_175059.mp4
20241120_175518.mp4
리뷰 요구사항
📝 기타 사항
압축은 좀 더 사이즈 줄여서 0.1MB로 했는데도 서버로 요청해서 받아와야 하니 로딩이 생기더라구요! 그래서 미리보기와 서버에서 받은 이미지로 구분하였습니다. 저는 이 방법밖에 안 떠올라서 좋은 것인지는 잘 모르겠지만..😮 괜찮은지 피드백 주시면 좋을 거 같습니다.
와이파이 상황에 따라서도 속도가 좀 차이가 있는 거 같아서 전에 얘기해준 스켈레톤 UI도 같이 넣으면 좋을 거 같다 생각했습니다! 이거는 뒤에 작업하면서 넣어볼게요.