Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ARON-Y
approved these changes
Apr 2, 2025
jihye5081
approved these changes
Apr 2, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#️⃣ Issue Number
#115
📝 요약
Column.tsx
AddTaskButton에columnId를 전달AddTaskButton.tsx
Column컴포넌트에서columnId를 전달 받고, 클릭 시 해당columnId를useColumnStore의setSelectedColumnId로 저장cardsApi.ts
"Content-Type": "application/json",로 오타 수정imageUrl의타입을string | null로 수정(이미지를 첨부하지 않는 경우도 있음)imageUrl이 없는 경우에는 해당 필드를 아예 적지 않아야 되기 때문에(imageUrl: null로 요청 시 400 에러)imageUrl이 유효한 문자열일 때만 payload에 추가하는 방식으로 요청 보내도록 함CreateTaskModal.tsx
useColumStore의selectedColumnId를 가져와서 해당 컬럼 id를 요청 보낼 때 사용assignee의id값이 아닌userId값으로 요청을 보내야 돼서 이 부분 수정imageUrl의 초기값을 null 값으로 변경imageUrl이 조건부로 빈 문자열을 보내는 부분 제거(null 값을 보내야 이미지가 없다는 의미로 리퀘스트 보내짐)window.location.reload();(페이지 새로고침)🛠️ PR 유형