Skip to content

Conversation

namdaeun
Copy link
Member

@namdaeun namdaeun commented Mar 11, 2025

해당 이슈 번호

closed #497


체크리스트

  • 🔀 PR 제목의 형식을 잘 작성했나요? e.g. [feat] PR을 등록한다.
  • 💯 테스트는 잘 통과했나요?
  • 🏗️ 빌드는 성공했나요?
  • 🧹 불필요한 코드는 제거했나요?
  • ✅ 컨벤션을 지켰나요?
  • 💭 이슈는 등록했나요?
  • 🏷️ 라벨은 등록했나요?
  • 💻 git rebase를 사용했나요?
  • 🙇‍♂️ 리뷰어를 지정했나요?

💎 PR Point

워크스페이스 생성 모달 큐에이 진행했습니다

모달의 마지막 단계에 (complete) 업로드한 이미지를 보여줘야 하는데 이미지 url을 전달하면 자꾸 엑박이 떠서..
일단 onError 속성 사용해서 띄워줬습니다. 시간 생기는대로 해결해볼게요
SNB에는 정상적으로 뜹니다

엑박 이슈는 다음 브랜치에서 진행하겠습니다

스크린샷 2025-03-11 오후 11 36 44

📌스크린샷 (선택)

Copy link

🚀 Storybook 확인하기 🚀

Copy link

🚀 Storybook 확인하기 🚀

Copy link
Contributor

@rtttr1 rtttr1 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다~~!!!!! 가벼운 코멘트 한번 확인해주세요~

export const MAX_TEAM_COUNT = 8;
export const MAX_TEAM_COUNT = 8 as const;

export const MAX_TEAM_NAME = 30 as const;
Copy link
Contributor

Choose a reason for hiding this comment

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

as const를 선언하는 이유가 const로 선언한 객체의 프로퍼티의 값까지 상수화하여 타입으로 활용하고자 할 떄 사용하는 것으로 아는데 Number 원시값에 사용한 이유가 있으실까요?

Copy link
Member Author

Choose a reason for hiding this comment

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

앗 별다른 이유 없었습니다 수정할게요 !!

const [inputValue, setInputValue] = useState(formData.name);

const isDisabled = inputValue.trim().length === 0;
const isNameError = inputValue.length > MAX_TEAM_NAME;
Copy link
Contributor

Choose a reason for hiding this comment

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

isNameLengthError 로 하면 변수명이 길어지긴 하지만 좀 더 직관적일 수도 있겠네요~

Copy link
Member Author

Choose a reason for hiding this comment

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

좋은 생각임니당 !!

Copy link
Contributor

@Bowoon1216 Bowoon1216 left a comment

Choose a reason for hiding this comment

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

수고하셨습니다! 마지막 쿠에이!!

URL.revokeObjectURL(newFileURL);
},
onError: (error) => {
console.error(error);
Copy link
Contributor

Choose a reason for hiding this comment

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

콘솔지워주세용ㅎㅎ

Copy link
Member Author

Choose a reason for hiding this comment

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

에러 발생할 때 찍어주는 콘솔이라서 유지하겠슴니당 !

Copy link

🚀 Storybook 확인하기 🚀

@namdaeun namdaeun merged commit 44d8c7b into develop Mar 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

워크스페이스 생성 모달 QA

3 participants