Skip to content

Conversation

@ARON-Y
Copy link
Contributor

@ARON-Y ARON-Y commented May 21, 2025

🔗 이슈 번호

Closes #162

📋 작업 사항

  • 게시글 작성 및 수정 시 제목 / 내용이 작성되어 있지 않거나 제목과 내용에 띄어쓰기만 있는 경우 토스트 알림창으로 경고를 띄웁니다.

  • 이미지가 4.2MB를 넘을 경우 토스트 알림창으로 경고를 띄웁니다.

  • 나의 계정 페이지의 AccountUpdateButton와 ProfileImageUploader의 토스트 알림 내용을 수정했습니다.

  • src/lib/apis/article/index.ts 에서

image: body.image === null ? null : body.image || undefined,

해당 부분은 이미지 삭제 후 상세 페이지에 반영되지 않는 문제를 해결하기 위해 이미지 필드를 항상 포함하고, null을 명시적으로 전달하도록 수정했습니다.

📷 스크린샷

반응형

default.mp4

게시글 등록

default.mp4

게시글 수정

default.mp4

@ARON-Y ARON-Y self-assigned this May 21, 2025
@ARON-Y ARON-Y added 💫feat 기능 구현 이슈 🎨 design 사용자 UI 디자인 변경 이슈 labels May 21, 2025
@ARON-Y ARON-Y linked an issue May 21, 2025 that may be closed by this pull request
@ARON-Y ARON-Y added the ⚒️ refactor 코드 리팩토링 이슈 label May 21, 2025
@hyeonjiroh hyeonjiroh requested review from MINJI121 and jjanie00 May 21, 2025 17:36
@github-actions
Copy link

Preview Deployment
🔗 https://coworkers-l0mya8a31-hyeonjirohs-projects.vercel.app

@ARON-Y ARON-Y changed the title [feat] #162 게시글 작성 / 수정 페이지 [feat] #162 게시글 등록 / 수정 페이지 May 21, 2025
@jjanie00
Copy link
Contributor

고생하셨습니다 아름님 🫶

Copy link
Contributor

@MINJI121 MINJI121 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다 아름님 ~!!

@MINJI121 MINJI121 merged commit b9de4c3 into dev May 22, 2025
2 checks passed
@MINJI121 MINJI121 deleted the feat/#162/add-edit-article branch May 22, 2025 11:41
@ARON-Y ARON-Y changed the title [feat] #162 게시글 등록 / 수정 페이지 [feat] #162 게시글 등록 페이지 / 게시글 수정 페이지 May 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 design 사용자 UI 디자인 변경 이슈 💫feat 기능 구현 이슈 ⚒️ refactor 코드 리팩토링 이슈

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] 자유게시판 게시글 작성 / 수정 페이지

4 participants