[feat] #162 게시글 등록 페이지 / 게시글 수정 페이지 #207
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.
🔗 이슈 번호
Closes #162
📋 작업 사항
게시글 작성 및 수정 시 제목 / 내용이 작성되어 있지 않거나 제목과 내용에 띄어쓰기만 있는 경우 토스트 알림창으로 경고를 띄웁니다.
이미지가 4.2MB를 넘을 경우 토스트 알림창으로 경고를 띄웁니다.
나의 계정 페이지의 AccountUpdateButton와 ProfileImageUploader의 토스트 알림 내용을 수정했습니다.
src/lib/apis/article/index.ts 에서
해당 부분은 이미지 삭제 후 상세 페이지에 반영되지 않는 문제를 해결하기 위해 이미지 필드를 항상 포함하고, null을 명시적으로 전달하도록 수정했습니다.
📷 스크린샷
반응형
default.mp4
게시글 등록
default.mp4
게시글 수정
default.mp4